Commit Graph
543 Commits
Author SHA1 Message Date
Nozomu Kaneko ba50c00a0e merge heads 2012-12-24 03:39:37 +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
Nozomu Kaneko 13850c478d make seealso translatable 2012-12-16 13:20:01 +09: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
Takayuki Shimizukawa 3f9598394b merge heads 2012-12-10 10:18:32 +09: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 087c9b2bd8 Merged in shimizukawa/sphinx-fix-fork/#1041 (pull request #87) 2012-11-30 12:46:52 +09: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 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 c134b218b7 Closes #681: Allow nested parentheses in C++ signatures (patch by Vadim and Jim Naslund) 2012-11-10 23:37:42 -06: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
Georg Brandl 4763419db1 Update Sphinx URL to new sphinx-doc.org domain. 2012-11-04 11:28:12 +01:00
Takayuki Shimizukawa f9b1f7d2f2 fix: ziptheme.zip block removing test temporary directory on Windows. 2012-11-04 09:30:19 +09:00
Georg Brandl 00b3433b0d merge with Takayuki's sphinx-fix-testing-fork 2012-11-01 17:56:16 +01:00
Georg Brandl 21d57d3125 Fix running tests under Python 3 without tox. 2012-11-01 17:38:22 +01:00
Takayuki Shimizukawa bee7f8bc39 fix test_linkcode str/bytes incompatibility at py3 2012-10-29 13:07:21 +09:00
Georg Brandl 201883d209 Merged in pv/sphinx-work/ext-linkcode (pull request #47) 2012-10-28 18:21:57 +01:00
Georg Brandl 2b2bb4122d Merged in shimizukawa/sphinx-fix-testing-fork (pull request #62) 2012-10-28 18:10:19 +01:00
Georg Brandl 33828e4777 merge with stable 2012-10-28 18:01:57 +01:00
Franck Michea 5521b8da2e domain override: fix issue #1009. 2012-10-11 20:58:54 +02:00
Jonathan Waltman bf362e9ccb Closes #617: Fix docstring preparation without included signature: only ignore indentation of one line, not two. 2012-09-16 01:08:47 -05:00
Jonathan Waltman c5405184ba Add failing tests for nested sections in only directives. 2012-09-12 15:34:00 -05:00
Georg Brandl d5f4e1592a merge with stable 2012-07-29 19:27:36 +02:00
Georg Brandl 9814097315 Fix test_env by supplying a dummy imgpath to the HTML builder. 2012-07-29 19:27:28 +02:00
Takayuki Shimizukawa b948dfc7e0 fix for Python3: Python3 open() use 'rt' mode by default, and decoding by locale.getpreferredencoding(). In sphinx test, html output encoded by 'utf-8' but reading with syste-locale-setting-encode that cause UnicodeDecodeError. 2012-05-02 15:55:11 +09:00
Takayuki Shimizukawa 48128c7b9b * fix test for Windows: test failed by test-code problem depends on os.sep. 2012-05-02 12:05:41 +09:00
Takayuki Shimizukawa 4713ca78ba fix some testing.
* Python3 test support
* Specify depended library version for Python2.4, 2.5
2012-05-01 15:21:12 +09:00
Takayuki Shimizukawa 1bb4923da1 support multibyte filename handling.
https://bitbucket.org/birkenfeld/sphinx/issue/703
2012-05-01 15:13:06 +09:00
Pauli Virtanen 135bb6f6c8 ENH: add a linkcode extension 2012-03-11 17:48:51 +01:00
Jeff Dairiki 01167a8af5 Intersphinx: parse inventories correctly when object names contain embedded spaces.
This is an issue, e.g., for (multi-word) glossary terms.
2012-02-26 07:49:07 -08:00
Georg Brandl 75ec8f27d5 Fixes #875 and #876: use the right file mode to successfully read config files under 2.x and 3.x. 2012-03-10 18:45:14 +01:00
Georg Brandl 219905a3be Fixes #874: do not use __file__ anymore after changing cwd. 2012-03-10 18:29:23 +01:00
Georg Brandl 4ff9c71c91 Closes #810: fix deprecation warnings with Python 3. What is left over is from nose or docutils. 2012-01-29 12:23:17 +01:00
Georg Brandl fa100632c3 Closes #695: When the highlight language "python" is specified explicitly, do not try to parse the code to recognize non-Python snippets.
Thanks to Jonas Haag for the patch.
2012-01-29 10:21:01 +01:00
Georg Brandl 9a4a3c9afa Satisfy "make check". 2011-10-09 23:09:57 +02:00
Robert Lehmann 1a287bb7e2 Change default visibility for C++ superclasses. 2011-10-08 14:55:18 +02:00
Robert Lehmann 9904596da8 Fixes #678: Support superclass declarations in C++ domain. 2011-10-08 14:02:13 +02:00
Georg Brandl ba95709f87 Remove unused import. 2011-10-07 11:55:37 +02:00