mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Add {PAGE,ARTICLE}_PATHS to {ARTICLE,PAGE}_EXCLUDES automatically
This makes it easier for someone to change PAGE_PATHS without the need to change ARTICLE_EXCLUDES accordingly.
This commit is contained in:
parent
21882fd4a0
commit
6aa0e4346d
3 changed files with 22 additions and 5 deletions
|
|
@ -112,9 +112,11 @@ Setting name (followed by default value, if any)
|
|||
and content path is not specified via an argument to the ``pelican``
|
||||
command, Pelican will use the current working directory.
|
||||
``PAGE_PATHS = ['pages']`` A list of directories to look at for pages, relative to ``PATH``.
|
||||
``PAGE_EXCLUDES = ()`` A list of directories to exclude when looking for pages.
|
||||
``PAGE_EXCLUDES = []`` A list of directories to exclude when looking for pages in addition
|
||||
to ``ARTICLE_PATHS``.
|
||||
``ARTICLE_PATHS = ['']`` A list of directories to look at for articles, relative to ``PATH``.
|
||||
``ARTICLE_EXCLUDES = ('pages',)`` A list of directories to exclude when looking for articles.
|
||||
``ARTICLE_EXCLUDES = []`` A list of directories to exclude when looking for articles in addition
|
||||
to ``PAGE_PATHS``.
|
||||
``OUTPUT_SOURCES = False`` Set to True if you want to copy the articles and pages in their
|
||||
original format (e.g. Markdown or reStructuredText) to the
|
||||
specified ``OUTPUT_PATH``.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue