diff options
| author | Georg Brandl <georg@python.org> | 2009-03-04 23:51:36 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2009-03-04 23:51:36 +0100 |
| commit | e444166923eb4e5cc16d15f5ccfe84adf9d01ba4 (patch) | |
| tree | ab0282ffb0c9f4ecd5db607fab0e0ec25c8d3b2d | |
| parent | 5736b6d92a75237b4aad021157dab6c125718aa6 (diff) | |
| download | sphinx-e444166923eb4e5cc16d15f5ccfe84adf9d01ba4.tar.gz | |
Add two comments.
| -rw-r--r-- | sphinx/directives/other.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sphinx/directives/other.py b/sphinx/directives/other.py index f1d67a3c..bc9a54df 100644 --- a/sphinx/directives/other.py +++ b/sphinx/directives/other.py @@ -89,7 +89,9 @@ class TocTree(Directive): % entry, line=self.lineno)) subnode = addnodes.toctree() subnode['parent'] = env.docname + # entries contains all entries (self references, external links etc.) subnode['entries'] = entries + # includefiles only entries that are documents subnode['includefiles'] = includefiles subnode['maxdepth'] = self.options.get('maxdepth', -1) subnode['glob'] = glob |
