Commit Graph

4274 Commits

Author SHA1 Message Date
Nozomu Kaneko
68dd735b60 skip DocFields transform for gettext in order to extract messages 2013-01-01 03:04:10 +09:00
Nozomu Kaneko
73799b47d0 merge 2013-01-01 00:12:34 +09:00
Nozomu Kaneko
b73bec10a2 Backed out changeset fabfac71d3e2 2012-12-31 23:45:11 +09:00
Nozomu Kaneko
9262d0550d use paragraph nodes instead of translatable nodes. 2012-12-31 23:31:15 +09:00
Georg Brandl
998d567d5c Closes #1065: in Makefiles, ignore errors in "rm" using the -f flag, not a "-" prefix. 2012-12-31 09:39:02 +01:00
Georg Brandl
c529f6756c Merged in embray/sphinx/fix-tocdepth (pull request #100: Fixes a bug with :tocdepth: and inventory generation) 2012-12-30 21:23:28 +01:00
Georg Brandl
bc0a31f10e Add an easier way to raise MathExtError with stderr/stdout only displayed if present. 2012-12-30 21:02:38 +01:00
Georg Brandl
54c1a45ffb Changelog for PR#97. 2012-12-30 18:15:42 +01:00
Georg Brandl
2e59d4a2d9 Merged in knzm/sphinx-fix-backlink-fork (pull request #97: fix #1058 Footnote backlinks do not work) 2012-12-30 18:14:55 +01:00
Georg Brandl
60fc2eaa14 Merged in mizhi/sphinx (pull request #98: Fixes TypeError raised from generate_indices in sphinx/writers/latex.py) 2012-12-30 18:05:30 +01:00
Georg Brandl
c22aaeef7b Closes #867: merge from https://bitbucket.org/giovannibajo/sphinx 2012-12-30 18:04:08 +01:00
Georg Brandl
ddd51f7cc7 Closes #1055: add changelog entry for 7228c0534f0c. 2012-12-30 18:02:59 +01:00
Georg Brandl
c3384b7e6e Merged in giovannibajo/sphinx (pull request #93: Fix bug when loading config file (wrong path).) 2012-12-30 18:01:19 +01:00
Georg Brandl
19539dfc8a Changelog entry for #1053. 2012-12-30 17:50:13 +01:00
Erik Bray
19d51e4270 Ensure that the entire doctree is traversed and all TOCs are processed regardless of tocdepth; now tocdepth only controls the depth of the node tree for the document's TOC. 2012-12-27 13:55:11 -05:00
Nozomu Kaneko
023a53c609 stop calling rmtree in a test 2012-12-24 04:04:39 +09:00
Nozomu Kaneko
ba50c00a0e merge heads 2012-12-24 03:39:37 +09:00
Robert Lehmann
ebc953d15c Fix seealso labels in text builder. 2012-12-23 17:50:41 +01:00
Roland Meister
417aff228c Avoid recurson on invisible entries in _toctree_prune 2012-12-23 00:27:32 +01:00
Roland Meister
224a76f865 Remove unneeded copy of children in _toctree_add_classes 2012-12-23 00:17:33 +01:00
Roland Meister
37c862e9c9 Rename helper functions for resolve_toctree to reflect their intent 2012-12-23 00:12:08 +01:00
Roland Meister
0fe9a0252b Move adding 'toctree-l%d' classes to _mark_current; this fixes the test suite
Also adjust comments and docstrings to reflect the current state.
2012-12-23 00:03:17 +01:00
Roland Meister
12baf34000 Move comment out of _walk_depth and add comment why the function was split 2012-12-22 23:37:19 +01:00
Mitchell Peabody
9c23eefe75 generate_indices is calling translate using a dictionary. If letter is a non-unicode str, then this
results in a TypeError being raised. This fix merely ensures that the translate method called is
the unicode version of the method.
2012-12-21 15:05:34 -05:00
Nozomu Kaneko
40b5167657 remove useless comments 2012-12-19 08:02:21 +09:00
Nozomu Kaneko
ccd8067ee5 fix #1058: footnote backlinks with i18n 2012-12-19 07:49:17 +09:00
Nozomu Kaneko
da008da569 fix #1058 Footnote backlinks do not work 2012-12-19 06:13:20 +09:00
Nozomu Kaneko
a1e9f2d675 make docfield translatable 2012-12-18 06:08:25 +09:00
Nozomu Kaneko
56ad448526 add translatable node, which does nothing but contain other nodes. 2012-12-18 06:08:23 +09:00
Georg Brandl
c69b7b4253 tox: add docutils 0.10. 2012-12-17 08:09:33 +01:00
Georg Brandl
ab5d4107c8 Replace \bf and \rm by \textbf and \textrm. Patch by
Marcin Szamotulski.
2012-12-17 08:07:17 +01:00
Takayuki Shimizukawa
5e8d7b9c38 fix test failure: python3 + whoosh 2012-12-17 04:24:24 +00:00
Takayuki Shimizukawa
066c432152 change tox describing (meaning was not changed) 2012-12-17 04:23:14 +00:00
Robert Lehmann
cbca1bdc97 Verify seealso directives end up in gettext catalogs. 2012-12-16 21:21:37 +01:00
Robert Lehmann
be25138d93 Closes #960: Convert seealso directive to ordinary admonition. 2012-12-16 21:08:19 +01:00
Takayuki Shimizukawa
6e044aedbc Avoid unusable warning in using i18n translation. Closes #1057.
And there is related information at pull request #86
2012-12-16 22:56:38 +09:00
Takayuki Shimizukawa
fc5aacc9bf Merged in knzm/sphinx/#1056 (pull request #94: fix #1056: message "Return value: ..." generated by refcounting not localized) 2012-12-16 14:36:36 +09:00
Nozomu Kaneko
13850c478d make seealso translatable 2012-12-16 13:20:01 +09:00
Nozomu Kaneko
1647ce7e60 rather than use two-ifs, do it in one if-elif-else branch. 2012-12-15 16:06:20 +09:00
Nozomu Kaneko
f318550d13 fix #1056: message "Return value: ..." generated by refcounting not localized 2012-12-15 02:28:04 +09:00
Giovanni Bajo
4713a106cb Apply patch from:
https://bitbucket.org/birkenfeld/sphinx/issue/867/error-in-websupport-get_metadata
2012-12-14 01:59:34 +01:00
Giovanni Bajo
7d13d61a29 Fix bug when loading config file (wrong path). 2012-12-14 01:24:22 +01:00
Jonathan Waltman
29f768e48f Fix minor bugs in test_intl.py causing tests to fail under python 2.5
os.path.relpath not defined in Python 2.5, use equivalent from
sphinx.util.pycompat

Also avoid trying to create an existing directory when remnants exist
of an earlier failed build
2012-12-11 01:36:50 -06:00
Roland Meister
567671f4d8 Bug #1046: templating toctree() does not expand to maxdepth past maxdepth
If the current page is nested larger than maxdepth it gets deleted
before it can be marked as current. The toctree then callapses to
the top entries. Split _walk_depth in two parts, first just add
the current tag, and remove unneeded entries in a second call.
2012-12-10 22:01:01 +01:00
Roland Meister
50fadb9e94 Bug #1047: templating toctree()'s includehidden argument
Document the includehidden option and give it sane defaults.
See bug #1047 for implementation alternatives.
2012-12-10 21:54:11 +01:00
Denis
5b54c253bb Upgrade for 'default' theme: collapsiblesidebar works with rightsidebar 2012-12-10 14:13:35 +04:00
Takayuki Shimizukawa
6748b60d39 Merged in shimizukawa/sphinx-multibyte-filename-fork (pull request #61) 2012-12-10 18:38:06 +09:00
Jonathan Waltman
beae650645 xml: Update sphinx-build documentation 2012-12-10 02:41:12 -06:00
Jonathan Waltman
b44376f527 xml: Fix compatibility with docutils<0.9 2012-12-10 02:40:24 -06:00
Takayuki Shimizukawa
3f9598394b merge heads 2012-12-10 10:18:32 +09:00