Commit Graph

405 Commits

Author SHA1 Message Date
Georg Brandl
8c2fabe117 The deprecated config values `exclude_trees, exclude_dirnames and unused_docs` have been removed. 2014-01-19 17:46:06 +01:00
Georg Brandl
123572e1db #1345: Fix two bugs with :confval:nitpick_ignore; now you don't have to
remove the store environment for changes to have effect.
2014-01-12 20:45:34 +01:00
Armin Ronacher
b048ea1edf Force index entries to be unicode to fix problems with unicode normalization 2013-11-28 15:34:17 +00:00
Matthias C. M. Troffaes
28873bfa6a Set up initial test. 2013-08-22 09:20:47 +01:00
Takayuki Shimizukawa
9d3bac3b8e Fix: Citation target missing cause AssertionError. Closes #1160 2013-05-02 10:37:12 +09:00
Takayuki Shimizukawa
59d655c435 Fix: Combination of 'globaltoc.html' and hidden toctree cause exception. Closes #1157 2013-04-30 23:36:27 +09:00
Takayuki Shimizukawa
c8ebb875de Rebuild i18n target document when catalog updated 2013-04-15 00:56:13 +09:00
Georg Brandl
4201b08bbe translate the "Symbols" heading for the genindex 2013-04-02 10:34:22 +02:00
Georg Brandl
181b075251 Closes #1112: Avoid duplicate download files when referenced from documents in
different ways (absolute/relative).
2013-03-30 12:44:39 +01:00
Georg Brandl
2f03bb5f12 environment: clarify docstring 2013-03-30 12:33:31 +01:00
Nozomu Kaneko
1bd7aaed7f merge 2013-02-06 13:28:26 +09:00
Georg Brandl
51deccfa5c Move custom transforms from environment to their own module, to make sphinx.environment at least a little lighter. 2013-02-04 15:52:26 +01:00
Takayuki Shimizukawa
d6f31f3fa1 remove unusable 'SEVERE: Duplicate ID' message for footnote that the translation node has been recognized as a duplicate. 2013-02-04 23:06:44 +09:00
Takayuki Shimizukawa
c1c0a03895 fix: reporting correct line number when translations have wrong reST syntax or else. 2013-02-04 22:23:03 +09:00
Nozomu Kaneko
6aa8d4b373 Merged in knzm/sphinx-fix-docfields-fork (pull request #96) 2013-02-04 05:59:15 +09:00
Takayuki Shimizukawa
a86ea846e2 Fix :term: doesn't link to glossary if term text translated. refs #1090 2013-01-30 23:41:37 +09:00
Georg Brandl
9b4efc9ba3 Fix pyflakes issues. 2013-01-13 10:26:52 +01:00
Nozomu Kaneko
58c0c79c17 use `nodes.inline` with a "translatable" attr instead 2013-01-13 02:14:00 +09:00
Jonathan Waltman
e26b02e23e Closes #1070: Avoid un-pickling issues under Python 3 when accessing doctrees saved under Python 2. 2013-01-09 08:58:28 -06:00
Jonathan Waltman
69b74303b8 Merged in rolmei/sphinx-epub (pull request #106: Add includehidden option to the toctree directive) 2013-01-07 22:12:03 -06:00
Jonathan Waltman
7fd138b588 Avoid AssertionError about losing the "ids" attribute when resolving pending_xrefs created in the CitationReferences transformation. 2013-01-07 00:30:49 -06:00
Roland Meister
1639f59726 Add includehidden option to the toctree directive
This option is equivalent to the includehidden option of the template function
toctree() and allows to restore to the toctree behaviour prior to version 1.1.
See also bug #790.
2013-01-06 14:55:35 +01:00
Nozomu Kaneko
f01d1358f8 resolve conflicts 2013-01-06 20:12:54 +09:00
Takayuki Shimizukawa
57289afc4e Merged in shimizukawa/sphinx-fix-i18n-fork (pull request #104: #976: Fix gettext does not extract index entries.) 2013-01-06 10:55:55 +09:00
Jonathan Waltman
e55c72218c Merged in rolmei/sphinx-epub (pull request #103: Whitespace cleanup) 2013-01-05 08:48:42 -06:00
Takayuki Shimizukawa
b17c588b0d Closes #976: Fix gettext does not extract index entries. 2013-01-05 23:38:21 +09:00
Nozomu Kaneko
a56a8f87c8 merge 2013-01-05 20:43:45 +09:00
Jonathan Waltman
51fb8b435b Add verbose option `-v` for sphinx-build and some rudimentary debugging support. 2013-01-05 02:41:12 -06:00
Roland Meister
ae9afab1fc remove trailing whitespace in sphinx/environment.py 2013-01-04 22:05:50 +01:00
Jonathan Waltman
d997aa76b0 Closes #958: Do not preserve `environment.pickle` after a failed build. 2013-01-03 13:34:47 -06:00
Georg Brandl
d747fa3cd0 merge 2013-01-03 10:56:21 +01:00
Georg Brandl
054833a96f Issue #1067: in search index generation, record words in section titles in their own set 2013-01-03 10:10:53 +01:00
Roland Meister
a0ebe5a3c5 Merge with birkenfeld/sphinx 2013-01-02 09:40:37 +01:00
Georg Brandl
151856819c Copyright update. 2013-01-01 22:13:15 +01:00
Nozomu Kaneko
68dd735b60 skip DocFields transform for gettext in order to extract messages 2013-01-01 03:04:10 +09:00
Nozomu Kaneko
9262d0550d use paragraph nodes instead of translatable nodes. 2012-12-31 23:31:15 +09: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
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
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
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
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
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
Takayuki Shimizukawa
3f9598394b merge heads 2012-12-10 10:18:32 +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