Source

sphinx / sphinx / util / nodes.py

Author Commit Message Labels Comments Date
Jon Waltman
Fix whitespace / line length issues reported by "make test"
Georg Brandl
Fix test suite: new code in extract_messages cannot always work.
Georg Brandl
Remove unneeded semicolon.
k...@cozmixng.org
Use term in description list as translation message Here is a .rst that reproduces the problem fixed by this changes: term-word description-paragraph "description-paragraph" is extracted as translation message by "sphinx-build -b gettext" but "term-word" isn't. It's because nodes.term node doesn't have source information. Source information should be added by Docutils instead of Sphinx. A patch that fix this problem in Doctuils had been s…
Branches
i18n-term-translatable
Georg Brandl
Closes #853: Restore compatibility with docutils trunk.
Branches
stable
Georg Brandl
Re-add monkey patch whose removal made latex build fail.
Georg Brandl
Remove docutils monkey-patches that are no longer needed with >= 0.7.
Georg Brandl
Merge with 1.0
Georg Brandl
Fix #648: Fix line numbers reported in warnings about undefined references.
Robert Lehmann
Move node filtering into extract_messages.
Georg Brandl
#454: Add more index markup capabilities: marking see/seealso entries, and main entries for a given key.
Georg Brandl
merge with 1.0
Georg Brandl
New year update.
Georg Brandl
#504: Add an ``index`` role, to make inline index entries.
Georg Brandl
Docstring harmonization.
Georg Brandl
Code style nits.
Robert Lehmann
merge with trunk
Robert Lehmann
Switch from normalized representation to rawsource.
Robert Lehmann
merge with trunk
Robert Lehmann
Ignore orphan metadata field in translatable messages.
Robert Lehmann
Extract translatable strings alongside their doctree nodes.
Robert Lehmann
Refactor message extractor into utilities.
Georg Brandl
Add a constant for class types, which lacks types.ClassType in Py3k.
Georg Brandl
Monkey-patch docutils.nodes.Element.copy to copy the rawsource.
Georg Brandl
Monkey-patch Node.__contains__ to get consistent behavior for docutils 0.5 and 0.6.
Georg Brandl
Merge with http://bitbucket.org/tpowers/sphinx/ (rewriting the external/internal distinction code) In HTML output, references now get the class ``internal`` if they are internal to the whole project, as opposed to internal to the current page. The ``menuselection`` and ``guilabel`` roles now support ampersand accelerators.
Georg Brandl
Allow escaping "<" in x-ref roles by a backslash.
Georg Brandl
merge with trunk
Georg Brandl
Refactor util package.