sitemap: support for draft, levels and templates
authorFredrik Unger <fred@tree.se>
Tue, 22 Jan 2019 20:10:26 +0000 (21:10 +0100)
committerFredrik Unger <fred@tree.se>
Tue, 22 Jan 2019 20:10:26 +0000 (21:10 +0100)
commit86815abce0db2e449bc3b2cbc6790885f73d41d9
tree481544eb0860cf3394da4b63d04a63c1e6b2fe21
parent5ee26cbf373af8fe76d549f4f1cba1f240146a2b
sitemap: support for draft, levels and templates

Adding support for using article status attribute to indicate
if a document is just a draft. Adding the article attribute
userlevel to create 5 access levels. Access control is not
implemented but the differen sites can be uploaded to different
areas which is protected by for example apache access.
This makes sure that one content source is used for each site.

Adding template support by using the article attribute role to
select the style template to generate the page.
treecutter/directory.py
treecutter/docbook.py
treecutter/main.py
treecutter/page.py
treecutter/sitemap.py