Commit Graph

4215 Commits

Author SHA1 Message Date
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
Jonathan Waltman
dbbfdcddcf Merged in pv/sphinx-work/ext-linkcode-fix (pull request #91) 2012-12-07 15:52:17 -06:00
Pauli Virtanen
319afe8fde BUG: ext/linkcode: do not detect linkcode config changes
Since the linkcode_resolve is a function, it triggers configuration
change on each rebuild, resulting to full rebuild always. It's better
to make it not do that.
2012-12-07 21:13:54 +02:00
Takayuki Shimizukawa
54a0f2a1c5 Merged in shimizukawa/sphinx-fix-i18n-fork/#955 (pull request #86) 2012-12-07 17:24:46 +09:00
Takayuki Shimizukawa
21355d3249 Update warnings for inconsistency reference translations. Thanks @jonwaltman! 2012-12-07 16:38:21 +09:00
Takayuki Shimizukawa
bfe96c14a7 fix: rescue extra named-reference that appeared in same translation message. 2012-12-05 20:52:19 +09:00
Takayuki Shimizukawa
e9275d3f0c change: Make readable-text a priority.
If the number of reference does not match then some links will be broken.
2012-12-05 19:35:07 +09:00
Takayuki Shimizukawa
e9f3ad438b move i18n test documents to i18n subdir. 2012-12-05 13:38:04 +09:00
Takayuki Shimizukawa
8a1cb70354 refactoring 2012-12-05 13:11:30 +09:00
Takayuki Shimizukawa
2472dcec39 checking whether the number of references is equal in both the translated form and the untranslated form? If they're not equal, emit a warning and don't bother trying to transfer the references. 2012-12-05 13:11:16 +09:00