summaryrefslogtreecommitdiff
path: root/sphinx/transforms.py
Commit message (Collapse)AuthorAgeFilesLines
* add :confval:`gettext_enables` to enable extracting 'index' to gettext ↵shimizukawa2014-09-281-16/+17
| | | | catalog output / applying translation catalog to generated documentation. Closes #1344
* Refactor has_child() function (by review)tk0miya2014-09-271-5/+1
|
* Assign fignum to tables and code-blockstk0miya2014-09-271-0/+6
|
* Assign figure numbers automaticallytk0miya2014-09-261-0/+23
|
* Minor PEP8 cleanup.Georg Brandl2014-09-211-12/+14
|
* Merge with stableshimizukawa2014-08-301-7/+2
|\
| * * fix over 80 chars line and remove unused import.shimizukawa2014-06-151-1/+0
| |
| * merge with stableGeorg Brandl2014-03-251-3/+9
| |\
| * \ Merged in shimizukawa/sphinx-drop-old-docutils (pull request #206)Georg Brandl2014-03-011-4/+1
| |\ \ | | | | | | | | | | | | Drop docutils-0.7, 0.8, 0.9 support.
| | * | Drop docutils-0.7, 0.8 and 0.9 supportshimizukawa2013-12-151-4/+1
| | | |
| * | | Update copyright year.Georg Brandl2014-03-011-2/+1
| |\ \ \
| | * \ \ merge with stableGeorg Brandl2014-01-261-2/+1
| | |\ \ \
| | | * \ \ MergeDmitry Shachnev2014-01-201-1/+1
| | | |\ \ \
| | | | * | | Modernize the code now that Python 2.5 is no longer supportedDmitry Shachnev2014-01-191-1/+1
| | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use print function instead of print statement; - Use new exception handling; - Use in operator instead of has_key(); - Do not use tuple arguments in functions; - Other miscellaneous improvements. This is based on output of `futurize --stage1`, with some manual corrections.
| | | * | | merge with stableGeorg Brandl2014-01-191-1/+0
| | | |\ \ \ | | | | |/ /
| | | | * | Drop python-2.5 and remove 2.4,2.5 support codesshimizukawa2013-12-151-1/+0
| | | | | |
* | | | | | Add source comment to explain why is the second argument (msgnode) not ↵shimizukawa2014-08-301-0/+6
| |_|_|_|/ |/| | | | | | | | | | | | | | needed. Refs #1300, 8d51df20d4
* | | | | Fix i18n: missing python domain's cross-references with currentmodule ↵shimizukawa2014-03-231-3/+9
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | directive or currentclass directive. refs #1363 * node attributes 'py:module', 'py:class' is provided from environment (e.x. currentmodule directive is provided on previous line, not on node) * Because translation nodes are parsed in independently, 'provided attributes by environment' are not exist. * For a pending_xref nodes, all attributes of a translated xref node should be same as original xref node in current test cases. * For the above reasons, I overwrite all attributes from origonal node to new translated xref node.
* | | | Update copyright year.Georg Brandl2014-03-011-1/+1
|/ / /
* | | Closes #1358: Fix handling of image paths outside of the source directory ↵Georg Brandl2014-01-231-1/+2
|/ / | | | | | | when using the "wildcard" style reference.
* | Closes #1300: Fix references not working in translated documents in some ↵Georg Brandl2014-01-191-2/+1
| | | | | | | | instances.
* | Closes #1329: Fix traceback with empty translation msgstr in .po files.Georg Brandl2014-01-191-2/+8
|/
* Backed out changeset cfe9e2d11003 refs #1265shimizukawa2013-10-041-38/+6
|
* Now gettext translates label target name. Fix i18n: crash when using a ↵shimizukawa2013-10-041-6/+38
| | | | indirect target and translating a target section name. Closes #1265
* Fix i18n: crash when translating section name that is pointed from named ↵shimizukawa2013-09-231-0/+7
| | | | target. Closes #1265
* Ignoring the string consists only of white-space characters. Closes #1234shimizukawa2013-09-171-1/+2
|
* Fix i18n: footnote reference number missing for auto numbered named footnote ↵shimizukawa2013-06-211-3/+24
| | | | and auto symbol footnote. Closes #1176
* fix: translation mechanism break label target if label and section name are ↵shimizukawa2013-06-191-4/+25
| | | | same. refs #1193
* fix: keep reference if link refname was translated. refs #1193shimizukawa2013-06-191-10/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | case1:: Keep link to ExternalSite_. It will translated with ``\`SomeOtherString\`_``. .. _ExternalSite: http://example.com case2:: Keep link to `title string`_ before appearing. title string ============= case3:: Keep link to glossary 'term string'. .. glossary:: term string description...
* fix: Duplicated section name will cause crash. refs #1193shimizukawa2013-06-171-2/+3
|
* update commentshimizukawa2013-06-171-2/+2
|
* Fix: Multiple references in the same line return the same link with i18n. ↵shimizukawa2013-06-171-14/+18
| | | | Closes #1193
* add tests for "multiple cross references in the same line return the same ↵shimizukawa2013-06-161-12/+10
| | | | link". refs #1090, #1193
* Fix multiple cross references (term, ref, doc) in the same line return the ↵shimizukawa2013-06-161-3/+30
| | | | same link with i18n. refs #1090, #1193
* all: provide docutils version in sphinx.util.compatGeorg Brandl2013-03-291-10/+4
|
* mergeNozomu Kaneko2013-02-061-0/+18
|
* fix: reporting correct line number implementation (6fc25e0e3a5c) was not ↵shimizukawa2013-02-051-2/+14
| | | | worked with docutils 0.7, 0.8.
* fix: roles' reftarget ware swapped if there are some roles in 1 line and ↵shimizukawa2013-02-051-2/+9
| | | | translation exchange rthat roles position. refs #1090
* Move custom transforms from environment to their own module, to make ↵Georg Brandl2013-02-041-0/+300
sphinx.environment at least a little lighter.