Add ARTICLE_RESTRICT_TO_TAGS setting

This commit is contained in:
Andreas Kloeckner 2018-04-13 12:18:54 -05:00
commit b49a0500e0
2 changed files with 13 additions and 0 deletions

View file

@ -179,6 +179,12 @@ Basic settings
A list of directories to exclude when looking for articles in addition to
``PAGE_PATHS``.
.. data:: ARTICLE_RESTRICT_TO_TAGS = []
All articles that do not have all tags in this list will be excluded from
the output. This is useful, for example, for generating multiple versions
of a site with overlapping content--e.g. a professional and a personal one.
.. data:: OUTPUT_SOURCES = False
Set to True if you want to copy the articles and pages in their original