classification
Title: sphinx: config option for exclude_dirnames
Type: enhancement Stage:
Components: Documentation tools (Sphinx) Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, mgedmin
Priority: normal Keywords:

Created on 2008-06-12 21:57 by mgedmin, last changed 2008-08-10 17:21 by georg.brandl. This issue is now closed.

Messages (2)
msg68100 - (view) Author: Marius Gedminas (mgedmin) * Date: 2008-06-12 21:57
I'm building developer documentation for an existing project that
already had reStructuredText files scattered in the source tree. 
Unfortunately these use the same extension (.txt) as functional doctest
files, but fortunately tests live only in subdirectories named 'ftests'.
 Unfortunately, sphinx doesn't support globs in exclude_dirs or
exclude_trees, so I cannot just exclude "**/ftests".

It would help me if I could specify the exclude_dirnames option that's
currently hardcoded inside BuildEnvironment.find_files in my conf.py.
msg70985 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-08-10 17:21
Added in r65632.
History
Date User Action Args
2008-08-10 17:21:30georg.brandlsetstatus: open -> closed
resolution: accepted
messages: + msg70985
2008-06-12 21:57:53mgedmincreate