Ok, I've tested this.

Exclude_patterns works if and only if the excluded file is not
referenced by either a toc or a direct ref. 

-----Original Message-----
From: sphinx-dev@googlegroups.com [mailto:sphinx-dev@googlegroups.com]
On Behalf Of daspostloch
Sent: 20 July 2011 15:39
To: sphinx-dev@googlegroups.com
Subject: Re: [sphinx-dev] exclude_patterns not working

are they also *linked/produced* in the html output pages in addition to
being copied? (they shouldn't be)

there has been another thread like this in the archives. imo it's a bug
of sphinx to copy files that are ignored and not used to produce html
output.


On 07/20/2011 04:28 PM, Alastair Dent wrote:
> Python 2.6
> Sphinx-1.0.7-py2.6.egg
>
> I'm using the following in conf.py
>
> exclude_patterns = ['interface/peripheralRegion.rst', 'hdEditor/']
>
> All files in hdEditor and the 'interface/peripheralRegion.rst' file 
> are included in the build.
>
>
>
>

--
You received this message because you are subscribed to the Google
Groups "sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to