[New-bugs-announce] [issue3097] sphinx: config option for exclude_dirnames

Marius Gedminas report at bugs.python.org
Thu Jun 12 23:57:53 CEST 2008


New submission from Marius Gedminas <marius at gedmin.as>:

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.

----------
assignee: georg.brandl
components: Documentation tools (Sphinx)
messages: 68100
nosy: georg.brandl, mgedmin
severity: normal
status: open
title: sphinx: config option for exclude_dirnames
type: feature request

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3097>
_______________________________________


More information about the New-bugs-announce mailing list