Binary mode doesn't take an encoding!
Specify default encoding
Without an encoding specified for the open() method, it relies on the
default system encoding
Convert README, add CI config
pandoc -f rst -t markdown -o README.md
Remove f-string formatting, the bleeding-edge sucks
F-string formatting isn't worth the headaches associated with getting
a CI system configured correctly with a non-package build of python
3.6. I'd rather _not_ be tied to testing on a linux distro I don't
deploy to.
Fix up documentation
- briefly explain template syntax
- provide defaults in generated config.ini to prevent errors if
unconfigured
- update email in setup.py
Fix `--bootstrap` command templates
They were still creating Jinja-compatible templates, which was removed
ages ago. Similarly, moved the bootstrap function into its own module
Rename test methods for clarity
Fix Atom feed test
remove Jinja mention from README.rst. README still needs to better
document how to use the template engine, but work is never done.
Merge branch 'master' into templite
Merge branch 'architecture-refactor'
Remove unnecessary path computation
Just pass along the already computed directory path for each Post object
Refactor internals
- cleaner separation of concerns
- less duplication
- add tests for the Atom feed
- fewer tests in general :(
In general, the "imperative shell" that is the StaticGenerator class is
still difficult to test (and has none). Not sure how best to fix this,
short of writing integration tests with full file reads and writes.
Add basic templating functionality
Eventual goal is to remove Jinja2 requirement, this is not complete,
actual static site generator still uses Jinja (along with tests).
I _think_ the templating is complete though, and barring inheritance,
capable of replacing existing functionality.
Make --bootstrap command less redundant
Not really sure how best to test this one yet, may not be worth much
testing (since it is almost an edge-case).
Better exception handling in feed generation
Remove old config file example
Now captured in the `--bootstrap` command
Add installation step to README
Add bootstrap command
probably needs better exception handling, generally a better interface,
but this happens exactly once (and I'm not exactly going to use it).
Need to test bootstrapping, which suffers from the same problem as
~StaticGenerator~, which is that it is largely side-effects.
Add license to MANIFEST.in and document more in the README
Factor out command-line interface
make `quiescent` a real command line program. Still needs better help
text.
Factoring out into a "real" package
- Redo the README to be PyPI compatible
- write a setup.py file
- include MANIFEST.in