Commit Graph

3882 Commits

Author SHA1 Message Date
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
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
Jonathan Waltman
8ac4aa6282 Add Docutils-native XML and pseudo-XML builders 2012-12-04 21:10:15 -06:00
Takayuki Shimizukawa
6c48bc0d2f refactoring 2012-12-05 11:43:36 +09:00
Jonathan Waltman
1e66d33c7b Add changelog entry for devguide 2012-12-03 01:36:34 -06:00
Jonathan Waltman
f65eff4919 Merged in jonwaltman/sphinx-devguide (pull request #88) 2012-12-03 01:26:28 -06:00
Jonathan Waltman
3a8673a66b devguide: Add guidelines for core developers 2012-12-03 00:55:47 -06:00
Takayuki Shimizukawa
c4bfaab2ee update CHANGES 2012-12-02 23:37:25 +09:00
Jonathan Waltman
196cb44c30 devguide: Elaborate on pull requests 2012-12-02 01:18:54 -06:00
Takayuki Shimizukawa
087c9b2bd8 Merged in shimizukawa/sphinx-fix-fork/#1041 (pull request #87) 2012-11-30 12:46:52 +09:00
Jonathan Waltman
0cca0ad7cf Add initial draft of "Sphinx Developer's Guide" 2012-11-29 19:11:19 -06:00
Takayuki Shimizukawa
e9c0582713 fix: sphinx-quickstart asks again and again Y|N because input() return value with extra '\r' on Python-3.2.0 + Windows. closes #1043 2012-11-28 23:21:02 +09:00
Takayuki Shimizukawa
f24b1998f2 fix: cpp domain parser cannot parse 'static constexpr' declarations. closes #1038 2012-11-28 15:49:06 +09:00
Takayuki Shimizukawa
96779ffed8 fix: cpp domain parser cannot parse a const type with a modifier. closes #1041 2012-11-28 15:26:44 +09:00
Takayuki Shimizukawa
fb770e9013 fix some grammar refs #1044. thanks @mitya57 ! 2012-11-27 20:07:30 +09:00
Takayuki Shimizukawa
c347b50330 fix #1044 refs #955: fix external/inline links with localization 2012-11-27 17:30:08 +09:00
Takayuki Shimizukawa
f50091b643 fix #955: consider the numbered-footnote. update test and code 2012-11-22 12:12:41 +09:00
Takayuki Shimizukawa
30c3fff6d7 fixed #955: footnote i18n translation cause KeyError and 'Only update text nodes in translation' change at b7b808e46851 break translation. 2012-11-22 11:43:09 +09:00
Jonathan Waltman
4e715ff0bf Avoid unknown option warnings for use_2to3 in setup.py under Python 2. 2012-11-11 01:33:52 -06:00
Jonathan Waltman
c134b218b7 Closes #681: Allow nested parentheses in C++ signatures (patch by Vadim and Jim Naslund) 2012-11-10 23:37:42 -06:00
Jakub Wilk
eabcf7883e sphinx/search/__init__.py: make stopwords array sorted 2012-11-09 18:09:50 +04:00
Jonathan Waltman
6f9e541ab5 autodoc: Handle explicit instance attributes in :members: (re #904) 2012-11-08 21:19:47 -06:00
Jonathan Waltman
34cbd684a9 Update sys.path to avoid autodoc warnings when building docs in tests/root. 2012-11-08 21:16:41 -06:00
Takayuki Shimizukawa
d7f7143cb5 Closes #1037: fix typos in Polish translation by attached patch. 2012-11-09 11:24:37 +09:00
Takayuki Shimizukawa
22d1280dac Closes #1024: 'command not found' status code is 127. 2012-11-09 07:53:58 +09:00
Takayuki Shimizukawa
dd09c4ce45 Closes #1024: Makefile improve error message if Sphinx is not found 2012-11-07 19:24:05 +09:00
Takayuki Shimizukawa
378b18d85e #1024 make.bat improve error message if Sphinx is not found 2012-11-07 19:22:01 +09:00
Takayuki Shimizukawa
99621d7a01 Closes #920: rescue PIL packaging issue that allow import Image without PIL namespace.
Also closes #702.
2012-11-07 07:42:44 +09:00
Georg Brandl
dd84529c42 Add the Ubuntu packaging guide. 2012-11-04 11:29:47 +01:00