summaryrefslogtreecommitdiff
path: root/sandbox/py-rest-doc/sphinx/directives.py
diff options
context:
space:
mode:
authorgbrandl <gbrandl@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2007-07-16 17:37:01 +0000
committergbrandl <gbrandl@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2007-07-16 17:37:01 +0000
commit8c8e213b3082a938a8b184461c402abd5289a341 (patch)
treeffb168c441e53cd323c8896356b88d634ff30f97 /sandbox/py-rest-doc/sphinx/directives.py
parent88588ed82154aba666336036f6a22d366cedaa8b (diff)
downloaddocutils-8c8e213b3082a938a8b184461c402abd5289a341.tar.gz
- Add Jinja as an external.
- Fix a reading bug. - Use .hasattr() instead of .has_key() for nodes. - Remove unused code in the modindex handler. - Always render comment form. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@5373 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 bb105f327..9c5b97e78 100644
--- a/sandbox/py-rest-doc/sphinx/directives.py
+++ b/sandbox/py-rest-doc/sphinx/directives.py
@@ -271,6 +271,7 @@ def desc_directive(desctype, arguments, options, content, lineno,
# and add a reference target for it
sig = sig.strip()
signode = addnodes.desc_signature(sig, '')
+ signode['first'] = False
node.append(signode)
try:
if desctype in ('function', 'data', 'class', 'exception',