Changelog¶
Release 1.0 (2022-01-28)¶
Drop support for python 2.7 and 3.6.
Fix deprecation warning from
jinja2. Jinja2 version 3 is now required.
Documentation¶
Documentation clarifications, updates and fixes. (PR #2 — Thank you Bart Van Loon!)
Add missing requirement
recommonmarktodocs/requirements.txt.Add
docsenviroment totox.inito test that docs will build cleanly.
Testing¶
Test under python 3.10 and lektor<3.3
Release 0.1 (2021-02-05)¶
No code changes.
Update development status classifier to “stable”.
Release 0.1a3 (2020-05-08)¶
API changes¶
Added a
keyfield on the index virtual source object. It is an alias to_id, but is syntactically more self-explanatory.The
keysconfiguration key has been renamed tokey.When the
keyexpression is being evaluted, the record whose key(s) is(are) to be be computed is now available in the jinja context asitemrather thanthis.
Documentation¶
Documentation moved from README to Sphinx docs at RTFD.io
Release 0.1a2 (2020-05-06)¶
API changes¶
The
recordargument has been dropped from the (jinja) globalindex_pagesfunction. (Since indexes can not have multiple parents, it is not necessary.)The
parentconfiguration key has been renamed toparent_path.The
slugconfiguration key has been renamed toslug_format.The
attributesconfig section has been renamed tofields.Though they are not quite like regular Lektor Record fields, they are more field-like than attribute-like. (I.e. access is via getitem rather than getattr.)
Release 0.1a1 (2020-05-05)¶
Initial release.