summaryrefslogtreecommitdiff
path: root/sandbox/py-rest-doc/sphinx/directives.py
diff options
context:
space:
mode:
authorgbrandl <gbrandl@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2007-07-13 11:13:27 +0000
committergbrandl <gbrandl@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2007-07-13 11:13:27 +0000
commit12d822ccfaef94d1c4953ada4b83c3b708c626f5 (patch)
tree56ce5ced950e7e60d3659546096ea6b7a8c76368 /sandbox/py-rest-doc/sphinx/directives.py
parent983fafd430c05a1ffe15302fa8156cda8d319b8a (diff)
downloaddocutils-12d822ccfaef94d1c4953ada4b83c3b708c626f5.tar.gz
Interim commit, will finish later:
* consistent caching * new RSS feed urls * all comment modes implemented * cleanup application request handling * split util module in two git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@5349 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'sandbox/py-rest-doc/sphinx/directives.py')
-rw-r--r--sandbox/py-rest-doc/sphinx/directives.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sandbox/py-rest-doc/sphinx/directives.py b/sandbox/py-rest-doc/sphinx/directives.py
index c221b2d6e..bb105f327 100644
--- a/sandbox/py-rest-doc/sphinx/directives.py
+++ b/sandbox/py-rest-doc/sphinx/directives.py
@@ -295,6 +295,7 @@ def desc_directive(desctype, arguments, options, content, lineno,
if fullname not in state.document.ids:
signode['names'].append(fullname)
signode['ids'].append(fullname)
+ signode['first'] = (not names)
state.document.note_explicit_target(signode)
env.note_descref(fullname, desctype)
names.append(name)