- Ignore FileNotFoundError when trying to get the last modified time of files in directories. This happens for example with temporary emacs files.
- Added changelog to docs
- removed ruff's target-version from pyproject.toml, this value defaults to the projects requires-python
- added manpage
- added makefile target for generating blog's manpage
- added makefile target for serving blags docs locally
- mkdocs: disabled loading of google fonts, using locally installed system fonts instead
- Debian: simplified html docs directory for blag-doc package
- Debian: changed section from Python to Web
- updated dependencies
- fixed devsever so it does not crash anymore when the (re-)build fails
- dropped support for Python 3.8 and 3.9
- updated dependencies
- fixed
suggests
to blag-doc
- switched from flake8 to ruff
- added missing docstrings
- fixed dev requirements in pyproject, still pointing to sphinx
- added Python3.12 to test suite
- removed debian/watch
- default theme:
img
have nowmax-width: 100%
by default to avoid very large images overflowing - packaging: explicitly list
templates
,static
andcontent
as packages instead of relying on package-data for setuptools. additionally, created a MANIFEST.in to add the contents of these directories here as well. the automatic finding of namespace packages and packaga-data, currently does not work as advertised in setuptools' docs - updated dependencies
- created debian/watch
-
blag does not use default fallback templates anymore and will return an error if it is unable to find required templates, e.g. in
templates/
.Users upgrading from older versions can either run
blag quickstart
(don't forget to backup yourconfig.ini
or copy the templates from blag's resources (the resource path is shown in the error message).New users are not affected as
blag quickstart
will generate the needed templates. -
Split former archive page which served as index.html into "index" and "archive", each with their own template, respectively. Index is the landing page and shows by default only the latest 10 articles. Archive shows the full list of articles.
If you used custom templates,
- you should create an "index.html"-template (take blag's default one as a starting point)
- you may want to include the new "/archive.html" link somewhere in your navigation
-
blag comes now with a simple yet good looking default theme that supports syntax highlighting and a light- and dark theme.
-
apart from the generated configuration,
blag quickstart
will now also create the initial directory structure, with the default template, the static directory with the CSS files and the content directory with some initial content to get the user started -
Added a make target to update the pygments themes
-
updated dependencies:
- markdown 3.4.3
- pygments 2.15.1
- pytest 7.3.2
- types-markdown 3.4.2.9
- build 0.10.0
-
Switched from sphinx to mkdocs
- fixed pyproject.toml to include tests/conftest.py
- moved to pyproject.toml
- added python 3.11 to test suite
- break out lint and mypy from test matrix and only run on linux- and latest stable python to make it a bit more efficient
- added dependabot check for github actions
- updated dependencies:
- mypy 1.2.0
- types-markdown 3.4.2.1
- pytest-cov 4.0.0
- sphinx 5.3.0
- pytest 7.3.0
- flake8 6.0.0
- twine 4.0.2
- wheel 0.40.0
- applied multi-arch fix by debian-janitor
- updated dependencies:
- pytest 7.1.3
- sphinx 5.2.1
- types-markdown 3.4.2
- added type hints and mypy --strict to test suite
- improved default template
- updated dependencies:
- markdown 3.4.1
- pygments 2.13.0
- flake 5.0.4
- twine 4.0.1
- sphinx 5.1.1
- Added --version option
- added --verbose option, that increases the loglevel to 'debug'
- Improved quickstart:
- respective default answers will be written to config if user provided no answer
- added tests for quickstart
- Added some test cases for the MarkdownLinktreeProcessor
- fixed man page
- debianized package
- Small fix in makefile
- updated dependencies:
- pytest 7.1.2
- sphinx 5.0.0
- twine 3.7.1
- wheel 0.37.1
- markdown 3.3.7
- jinja 3.1.2
- pygments 2.12.0
make serve
now rebuilds immediately once after called to avoid serving stale files- updated dependencies:
- feedgenerator 2.0.0
- jinja2 3.0.1
- pytest-cov 3.0.0
- flake8 4.0.1
- twine 3.5.0
- added Python 3.10 to list of supported versions to test against
- added dependabot to github workflows
- updated various dependencies:
- pygments 2.10.0
- sphinx 4.2.0
- twine 3.4.2
- wheel 0.37.0
- pytest 6.2.5
- first 1.0 release!
- bump requirements of feedgenerator to 1.9.2. this version uses the description to provide a subtitle for the feed
- updated to jinja 3.0
- updated to sphinx 4.0
- added link to changelog