Commit Graph

991 Commits

Author SHA1 Message Date
Georg Brandl
895899b7bb small grammar fix in multibyte filename messages 2013-10-01 19:50:32 +02:00
Takayuki Shimizukawa
58be2f19b3 When Sphinx couldn't decode multibyte filename, now Sphinx notices UnicodeError and continuing if possible instead of raise exception. Closes #703 2013-09-28 12:51:20 +00:00
Takayuki Shimizukawa
7682f477dc Fix i18n: crash when translating section name that is pointed from named target. Closes #1265 2013-09-23 19:53:22 +09:00
Takayuki Shimizukawa
53810ae607 fix: test_build_latex and test_build_texinfo raise SkipTest if command missing. Closes #1184. 2013-09-23 09:57:36 +09:00
Takayuki Shimizukawa
99008f5b78 Fix again: NFC/NFD normalizing problem. Closes #1142 2013-09-18 08:51:20 +00:00
Georg Brandl
ae8782178e Test suite quickfix. 2013-09-16 09:45:56 +02:00
Georg Brandl
1a99c74e4b Merged in RelentlessIdiot/sphinx (pull request #149)
Fix #1203: Do not append space to unknown field names.
2013-09-16 09:18:47 +02:00
Georg Brandl
8b85355a22 Fix new html_extra_path option for singlehtml builder. 2013-09-16 04:33:02 +02:00
Georg Brandl
7c7c5af02a Merged in mcmtroffaes/sphinx-html-extra-path (pull request #158)
Add html_extra_path option to copy additional files ad verbatim to the output root folder.
2013-09-16 04:28:22 +02:00
Georg Brandl
e732807869 Merged in JonnyJD/sphinx/autodoc_novalue (pull request #109)
feature: autodoc: add :annotation: option for autodata and autoattribute
2013-09-16 04:25:53 +02:00
Matthias C. M. Troffaes
e20c82a277 Test that extra entries are in outdir. 2013-08-22 09:24:00 +01:00
Matthias C. M. Troffaes
28873bfa6a Set up initial test. 2013-08-22 09:20:47 +01:00
Tres Walsh
829a5150da Add support for C++11 member function ref-qualifiers and C++03 volatile member function ref-qualifier
Specifically, support for the following has been added:

 * rvalue reference for *this
 * volatile
 * override keyword support

Additionally support for '= default' and '= delete' has been added.

Several tests have also been added to test_cpp_domain.py to insure that these features actually work.
2013-08-07 09:24:32 -07:00
Takayuki Shimizukawa
04d22a53d5 support parallel testing with detox 2013-07-27 16:15:36 +09:00
Takayuki Shimizukawa
91ef671ea9 Add test for docutils.conf and prevent 'html4css1.css' missing warning.
Now --embed-stylesheet option default become false.
2013-07-27 14:13:15 +09:00
Takayuki Shimizukawa
33c9e1fb28 Fix i18n: gettext did not translate admonition directive's title. Closes #1206 2013-07-03 08:19:10 +00:00
Rob Ruana
718f4a6f8c Fix #1203: Does not append space to unknown field names.
If an unknown field name is encountered, a space is only
appended if the field arguments are not empty. Also,
only the first character of the field name is upper cased,
and the case of the rest of the string remains unchanged.
2013-06-23 16:06:45 -04:00
Takayuki Shimizukawa
7904b0678a Fix i18n: footnote reference number missing for auto numbered named footnote and auto symbol footnote. Closes #1176 2013-06-21 03:28:32 +00:00
Takayuki Shimizukawa
2cdb6b03c9 test improvement 2013-06-21 01:09:13 +00:00
Takayuki Shimizukawa
4579bb6e85 fix: translation mechanism break label target if label and section name are same. refs #1193 2013-06-19 06:07:47 +00:00
Takayuki Shimizukawa
f9b733fc47 test_intl:external_link test case correction to fit to reST syntax. 2013-06-18 11:14:27 +00:00
Takayuki Shimizukawa
a997f98333 fix: keep reference if link refname was translated. refs #1193
case1::

   Keep link to ExternalSite_.

   It will translated with ``\`SomeOtherString\`_``.

   .. _ExternalSite: http://example.com

case2::

   Keep link to `title string`_ before appearing.

   title string
   =============

case3::

   Keep link to glossary 'term string'.

   .. glossary::

      term string
         description...
2013-06-19 10:42:26 +00:00
Takayuki Shimizukawa
afc6b6d1f8 Fix: Multiple references in the same line return the same link with i18n. Closes #1193 2013-06-17 00:12:02 +09:00
Takayuki Shimizukawa
bd4da7df55 add tests for "multiple cross references in the same line return the same link". refs #1090, #1193 2013-06-16 14:25:29 +09:00
Takayuki Shimizukawa
deb01d8e30 Fix multiple cross references (term, ref, doc) in the same line return the same link with i18n. refs #1090, #1193 2013-06-16 23:57:08 +09:00
Takayuki Shimizukawa
dbe60b4e02 refactoring: 'tmpdir' rename to 'tempdir' that is same name in other places. 2013-06-13 03:24:20 +00:00
Takayuki Shimizukawa
8c543c11cc Fix: Output TeX/texinfo/man filename has no basename (only extention) when using multibyte characters to "Project name" on quickstart. Closes #1190 2013-06-13 03:22:23 +00:00
Takayuki Shimizukawa
f24eb8c47d fix typo ;) 2013-06-13 03:08:57 +00:00
Takayuki Shimizukawa
f2de6cdb6d fix for unicode object syntax. ur'' is meaningless. 2013-06-13 02:51:17 +00:00
Takayuki Shimizukawa
8ec83f963b Fix "Title underline is short" WARNING is given when using fullwidth characters to "Project name" on quickstart. Closes #1189 2013-06-09 09:48:43 +09:00
Takayuki Shimizukawa
573d8433b9 Fix sphinx-quickstart raises UnicodeEncodeError if "Project version" includes non-ASCII characters. Closes #1188 2013-06-09 09:06:21 +09: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
Takayuki Shimizukawa
b91f70be6e Fix: 'make gettext' cause UnicodeDecodeError when templates contain utf-8 encoded string. 2013-04-13 22:44:37 +09:00
Georg Brandl
56ac8a19ee test suite fixes 2013-04-01 15:11:18 +02:00
Georg Brandl
52515eeb86 Copyright header update. 2013-04-01 11:41:48 +02:00
Georg Brandl
1af3e3ea71 tests: replace "from util import *" by explicit imports 2013-04-01 11:39:32 +02:00
Georg Brandl
21f0ca8197 Closes #896: use SkipTest in build_latex test if latex is not installed 2013-04-01 11:26:21 +02:00
Georg Brandl
9abf39f912 Fix overlong lines. 2013-03-31 15:44:04 +02:00
Takayuki Shimizukawa
b8850502d2 merge heads 2013-03-17 10:58:28 +09:00
Takayuki Shimizukawa
2c409959ac Add i18n capabilities for custom templates.
For example: The Sphinx reference documentation in doc directory provides
sphinx.pot file from ``doc/_templates/*.html`` by ``make gettext``.
2013-03-10 22:07:31 +09:00
Takayuki Shimizukawa
e2087189ea Add regression test for #1109. Issue was corrected at previous commit 62b0a5f17f62. Closes #1109 2013-03-09 23:14:31 +09:00
Takayuki Shimizukawa
f6fca7a8ac Fix: text builder breach max-witdh specificatoin if paragraph have prefixed text. ex: 'See also:' 2013-03-09 22:58:47 +09:00
Johannes Dewender
649ab8030c autodoc: change :novalue: to :annoation: option
The :novalue: option is now called :annotation: and has an additional feature:
When given with an argument, you can specify what the annotation
of the object will be.
2013-02-27 16:38:55 +01:00
Takayuki Shimizukawa
fffde7817d Merged in knzm/sphinx-fix-docfields-fork (pull request #96)
make docfield translatable
2013-02-24 19:05:15 +09:00
Jonathan Waltman
66d799bb00 Closes #1108: [text] Correctly number enumerated lists with non-default start values (based on patch by Ewan Edwards). 2013-02-20 13:50:40 -06:00
Takayuki Shimizukawa
a462284f95 fix: make.bat is always saved with 'LF' instead of 'CRLF' for both Win/Unix. 2013-02-10 11:51:36 +09:00
Takayuki Shimizukawa
05718e4a1a conf.py now accept CRLF end-of-line. 2013-02-10 15:25:45 +09:00
Takayuki Shimizukawa
00fa1b2505 Fix text builder did not respect wide/fullwidth characters for textwrap. 2013-02-07 03:34:51 +00:00
Nozomu Kaneko
1bd7aaed7f merge 2013-02-06 13:28:26 +09:00
Takayuki Shimizukawa
b8296ad11e Fix text builder did not respect wide/fullwidth charactors for table layout. 2013-02-06 00:29:59 +09:00
Takayuki Shimizukawa
529e45a980 Fix text builder did not respect wide/fullwidth charactors for title line. 2013-02-05 23:57:26 +09:00
Takayuki Shimizukawa
6667a7cbdf fix toctree entry missing for testing. 2013-02-05 03:54:35 +00:00
Takayuki Shimizukawa
7ebd7ab2a9 fix: roles' reftarget ware swapped if there are some roles in 1 line and translation exchange rthat roles position. refs #1090 2013-02-05 12:47:08 +09: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
81d21a7714 make versionmodified translatable 2013-02-04 09:03:34 +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
70f3f889d1 Fix autodoc crash if :members: and :special-members: ware both set (by d7ac5e4). 2013-02-03 22:27:20 +09:00
Takayuki Shimizukawa
e70a43a9c5 Closes #1062: sphinx.ext.autodoc use __init__ method signature for class signature. 2013-02-03 20:27:34 +09:00
Takayuki Shimizukawa
4d4dad3610 test refactoring: use with_setup for all test_autodoc.py's tests 2013-02-03 13:53:10 +09:00
Takayuki Shimizukawa
e47f434c32 add test for pull request #111: Respect add_autodoc_attrgetter() even when inherited-members is set 2013-02-03 12:48:39 +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
Takayuki Shimizukawa
6f4764f77b Fix gettext does not extract glossary terms. Closes #1090 2013-01-30 00:13:58 +09:00
Johannes Dewender
ffb825d733 fix tests for autodoc novalue option
In the tests for autodoc the Options are of type struct,
while in the code there is a special autodoc.Options class,
which is a dict.

So "novalue" in self.options doesn't work,
but self.options.novalue does work for both.

Additionally the logic for autoattribute was wrong and is fixed now.
2013-01-24 18:17:53 +01:00
Takayuki Shimizukawa
60f6fc4805 fix debug2 UnicodeEncodeError issue with multibyte names node 2013-01-21 08:09:43 +09:00
Georg Brandl
7d68f0e4a2 Fix long lines reported by "make check". 2013-01-13 10:22:38 +01:00
Takayuki Shimizukawa
3a5277c14c fix: autodoc documented descriptor class as attribute 2013-01-12 18:12:55 +09:00
Takayuki Shimizukawa
9f8f93e5e1 fix test_seealso failed with python3 2013-01-12 22:26:38 +09:00
Jonathan Waltman
bba6104b84 Issue #1069: Add failing test for signature formatting of "partial" functions without kwargs. 2013-01-09 08:37:53 -06:00
Jonathan Waltman
b98123cd12 Add man_pages config to tests/root/conf.py. 2013-01-06 23:42:25 -06:00
Jonathan Waltman
f4a346760c Fix test_man which didn't test if docs were being built. It now successfully fails. 2013-01-06 23:36:33 -06:00
Nozomu Kaneko
d2a087e88d fix tests correspond to 6c70ca26a841 (Divide test_intl target ...) 2013-01-06 20:33:43 +09:00
Robert Lehmann
32b87e258b merge birkenfeld/sphinx 2013-01-06 12:14:57 +01:00
Nozomu Kaneko
f01d1358f8 resolve conflicts 2013-01-06 20:12:54 +09:00
Robert Lehmann
2b3fb57cc5 merge knzm/sphinx-fix-seealso-fork 2013-01-06 11:44:58 +01:00
Nozomu Kaneko
919ba75483 versionlabels are handled entirely in the versionmodified directive, instead of the writers.
Now it returns a versionmodified node with the versionlabel already inserted.
2013-01-06 18:37:21 +09:00
Nozomu Kaneko
7630467f84 fix: paragraphs in versionmodified are ignored when it has no dangling paragraphs. 2013-01-06 18:05:49 +09:00
Takayuki Shimizukawa
9b9c69042e Divide test_intl target source files for speed-up. 2013-01-06 16:15:49 +09:00
Jonathan Waltman
268b009017 Move "only" directive tests to a seperate test root. 2013-01-05 20:14:48 -06:00
Takayuki Shimizukawa
b17c588b0d Closes #976: Fix gettext does not extract index entries. 2013-01-05 23:38:21 +09:00
Jonathan Waltman
42c90ee178 Add basic debugging support for autodoc. 2013-01-05 08:28:54 -06:00
Nozomu Kaneko
a56a8f87c8 merge 2013-01-05 20:43:45 +09:00
Takayuki Shimizukawa
ab6706e6ed Closes #940: Fix gettext does not extract figure caption.
This is docutils issue.
see also: https://sourceforge.net/tracker/?func=detail&aid=3599485&group_id=38414&atid=422032
2013-01-05 01:06:42 +09:00
Takayuki Shimizukawa
263d5b376f Fix text writer can not handle visit_legend for figure directive contents. 2013-01-04 18:18:43 +09:00
Takayuki Shimizukawa
19a8c9e2e5 fix problems with py25,py3x for search index generation 2013-01-04 21:46:17 +09:00
Jonathan Waltman
cf4166fa58 Fix `test_i18n_literalblock_warning` which would sometimes fail due to the text wrapping of error messages. 2013-01-03 13:55:26 -06:00
Robert Lehmann
0725cb608a merge with birkenfeld/sphinx 2013-01-02 17:45:33 +01:00
Georg Brandl
151856819c Copyright update. 2013-01-01 22:13:15 +01:00
Takayuki Shimizukawa
7022b6f251 Add regression test for gettext does not extract definition terms. Closes #975 2013-01-01 14:17:53 +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
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
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
Robert Lehmann
cbca1bdc97 Verify seealso directives end up in gettext catalogs. 2012-12-16 21:21:37 +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
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
Georg Brandl
827cdb6266 Split user queries and file generation in quickstart into two functions. 2011-10-07 11:52:12 +02:00
Georg Brandl
d07fe37744 Update the websupport tests to API changes. 2011-10-06 14:28:18 +02:00
Georg Brandl
411f82d9b9 Fix markup test with latest pygments-related updates. 2011-10-02 19:39:42 +02:00
Georg Brandl
4abbe95a9c Merge with 1.0 2011-09-23 11:03:23 +02:00
Georg Brandl
db87ed440c Fix #648: Fix line numbers reported in warnings about undefined references. 2011-09-23 09:46:24 +02:00
Armin Ronacher
f6711a6209 Added more tests to the basic parsing of C++ signatures 2011-09-23 00:51:43 +02:00
Armin Ronacher
2a021f1cf9 merged 2011-09-23 00:49:08 +02:00
Armin Ronacher
9325a16c6f Added support for strings with commas in template definitions. 2011-09-22 11:17:18 +02:00
Armin Ronacher
49f1425da3 Added support for strings with commas in template definitions. 2011-09-22 11:17:18 +02:00
Armin Ronacher
48ca7f47f9 Added support for noexcept specifiers 2011-09-22 11:15:46 +02:00
Armin Ronacher
794e241ba5 Added support for noexcept specifiers 2011-09-22 11:15:46 +02:00
Armin Ronacher
9753d743fc Added support for constexpr in function signatures 2011-09-22 10:43:24 +02:00
Armin Ronacher
9e43f54600 Added support for constexpr in function signatures 2011-09-22 10:43:24 +02:00
Georg Brandl
20f3b8d95c Merge with 1.0 2011-09-22 10:42:09 +02:00
Armin Ronacher
6b96b10220 Be explicit about rvalue references. 2011-09-22 10:33:15 +02:00
Armin Ronacher
55935bdd04 Be explicit about rvalue references. 2011-09-22 10:33:15 +02:00
Georg Brandl
b3108306cd Fix #677: allow multiple signatures in C++ domain directives. 2011-09-22 10:23:54 +02:00
Armin Ronacher
bdf5816437 Added support for non-name template arguments. This fixes #696 2011-09-22 10:23:46 +02:00
Armin Ronacher
860b410fbc Added support for non-name template arguments. This fixes #696 2011-09-22 10:23:46 +02:00
Georg Brandl
5d936d5ff1 Fix :samp: latex tests. 2011-09-21 10:05:37 +02:00
Georg Brandl
bc3eeddb35 Fix #728: escape root dir when putting it into a regex in latex/texinfo tests. 2011-09-21 09:15:11 +02:00
Georg Brandl
9d5215c1c9 Fix #728: escape root dir when putting it into a regex in latex/texinfo tests. 2011-09-21 09:15:11 +02:00
Georg Brandl
19adf65faa Skip all websupport tests for now. 2011-09-21 09:09:50 +02:00
Georg Brandl
ffa14ec448 Fix dupicate autodocumentation leading to test failures. 2011-09-19 09:21:48 +02:00
Georg Brandl
7cc2b0e46b Adapt test to removal of <object> tags for SVG images. 2011-09-19 09:19:35 +02:00
Georg Brandl
28609cc9b9 Only test spanning cells for latex. 2011-09-19 09:02:00 +02:00
Georg Brandl
896b575cdc Code style fixes. 2011-09-17 21:05:12 +02:00
Lucas Taylor
ade940d1f6 [intersphinx] [Fixes #622] env.warn called with incorrect number of arguments 2011-09-03 12:41:26 -07:00
Chris Pickel
b863ecbf98 Support varargs in C++ function signatures. 2011-04-19 22:22:33 -04:00
Georg Brandl
45b38933a6 Add missing label. 2011-01-08 22:18:10 +01:00
Georg Brandl
b44e894125 Fix test_autodoc. 2011-01-07 19:03:44 +01:00
Georg Brandl
8621526045 #568: Fix lookup of class attribute documentation on descriptors so that comment documentation now works.
Needed to port assignment of ``self.parent`` from trunk.
2011-01-06 13:03:17 +01:00
Georg Brandl
81ecbc19b0 Fix tracebacks occurring for duplicate C++ domain objects. 2011-01-06 12:28:55 +01:00
Georg Brandl
7e3151dd73 #581: Fix traceback in Python domain for empty cross-reference targets. 2011-01-04 23:39:13 +01:00
Georg Brandl
0e1db6ad90 New year update. 2011-01-04 10:00:51 +01:00
Georg Brandl
5072e74a46 Fix test_build_html after latest docfields fix. 2011-01-04 00:23:27 +01:00
Georg Brandl
205d50a01d Regression of #77: If there is only one parameter given with `:param:` markup, the bullet list is now suppressed again. 2011-01-03 23:08:13 +01:00
Georg Brandl
eb014a1b64 Add missing file. 2011-01-03 19:33:44 +01:00
Georg Brandl
69e5b91b2d Fix strange reportings of line numbers for warnings generated from
autodoc-included docstrings, due to different behavior depending
on docutils version.
2011-01-03 15:55:30 +01:00
Georg Brandl
c3e233e016 Adapt test to new warning API. 2010-11-12 08:34:47 +01:00
Pauli Virtanen
bb51a20745 autosummary: respect py:currentclass when looking up Python objects
This makes autosummary directives inside classes to work properly.
2011-06-29 21:27:23 +02:00
Pauli Virtanen
0e97f2ab58 autosummary: improve robustness of the signature compactification 2011-06-29 21:26:43 +02:00
Chris Pickel
7aef73271a Support varargs in C++ function signatures. 2011-04-19 22:22:33 -04:00
Georg Brandl
3c2662580a Cleanup after pull from https://bitbucket.org/timmartin/sphinx 2011-05-15 11:15:20 +02:00
Tim Martin
4fb8139f36 Fixed a bug in test_intl.py: teardown didn't get called if the test was skipped 2011-04-17 00:22:10 +01:00
Tim Martin
9b112e0619 Expanded the docstring of gen_with_app to explain how it differs from with_app 2011-04-13 00:00:45 +01:00
Tim Martin
d8a2e21758 The test runner script now checks for the docutils and jinja libraries, without which all tests fail 2011-04-12 23:54:14 +01:00
Jonathan Waltman
20dcad36a3 Add Texinfo support in ext.graphviz, ext.inheritance_diagram and ext.mathbase. 2011-03-05 23:59:34 -06:00
Georg Brandl
a63230f12d #431: Doc comments for attributes can now be given on the same line as the assignment. 2011-01-15 15:40:59 +01:00
Georg Brandl
87b0ac63ed merge with 1.0 2011-01-09 00:47:48 +01:00
Georg Brandl
dc0c43da9a #437: autodoc now shows values of class data attributes. 2011-01-08 23:45:58 +01:00
Georg Brandl
16c3f081a5 Add missing label. 2011-01-08 20:02:38 +01:00
Daniel Neuhäuser
a2919aab47 Fix test_versioning.test_picklability test 2011-01-08 19:42:27 +01:00
Georg Brandl
644e157fa5 #535: Fix LaTeX output generated for line blocks by porting implementation from new docutils code. 2010-10-22 12:10:11 +02:00
Georg Brandl
7e5ff71c40 #513: Allow giving non-local URIs for JavaScript files, e.g. in the JSMath extension. 2010-08-25 10:26:15 +00:00
Georg Brandl
a78e477bf7 Fix long line and test failure. 2010-08-23 16:48:51 +00:00
Georg Brandl
a484c6f793 #490: Fix cross-references to objects of types added by the :func:~.Sphinx.add_object_type API function. 2010-08-14 16:51:04 +02:00
Georg Brandl
df107e70f8 Allow breaking long signatures, continuing with backlash-escaped newlines. 2010-08-05 16:03:36 +02:00
Georg Brandl
8c91fb78ce #484: Fix crash when duplicating a parameter in an info field list.
Problem was that the :type: info nodes were inserted twice into the
doctree, which led to inconsistencies when reference nodes were resolved.
2010-08-05 12:53:05 +02:00
Georg Brandl
01c501054e #480: Fix handling of target naming in intersphinx. 2010-08-05 11:58:43 +02:00
Georg Brandl
5a28ae4686 Add some tests for docfields. 2010-07-27 19:19:29 +02:00
Georg Brandl
3b64ec2a2e Now that the expected warnings are regexes, diffing them with the actual output makes no sense anymore. 2010-07-27 19:07:51 +02:00
Georg Brandl
4a400034d9 This apparently fixes a failing test in Gentoo. 2010-07-27 17:52:57 +02:00
Georg Brandl
0aafe2ac1d Further fix for intersphinx labels, add test cases for that. 2010-07-27 13:20:58 +02:00
Georg Brandl
e3f47a800a Actually test the JSON builder. 2010-07-25 14:50:47 +02:00
Georg Brandl
23971336b7 Fix :guilabel: unescaping, and make some tests actually run. 2010-07-21 11:33:24 +01:00
Daniel Neuhäuser
2cbaded701 Add test for oldcmarkup warning 2010-07-02 16:44:05 +02:00
Łukasz Langa
48d64cc4cb Support for autodocumenting partial functions. 2011-01-08 18:06:24 +01:00
Georg Brandl
5c39cfb6e9 merge with 1.0 2011-01-07 19:04:53 +01:00
Georg Brandl
bf767d5222 #454: Add more index markup capabilities: marking see/seealso entries, and main entries for a given key. 2011-01-07 19:00:29 +01:00
Georg Brandl
f925de6aa0 #586: Implemented improved glossary markup which allows multiple terms per definition. 2011-01-06 20:34:41 +01:00
Georg Brandl
0d6c738b02 Fix test after config default change. 2011-01-06 20:34:37 +01:00
Georg Brandl
0d1a8e5720 merge with 1.0 2011-01-06 13:07:07 +01:00
Georg Brandl
e8b0511fdc merge with 1.0 2011-01-04 23:40:57 +01:00
Georg Brandl
208e8a66e2 Add an option for the coverage builder if source-undocumented items are matched. 2011-01-04 22:50:13 +01:00
Georg Brandl
7616639622 Test suite fix for new theme. 2011-01-04 22:49:57 +01:00
Georg Brandl
9ac5f2b873 merge with bb://tuos/sphinx 2011-01-04 22:20:10 +01:00
Georg Brandl
b56003649f merge with bb://jonwaltman/sphinx-info 2011-01-04 22:13:35 +01:00
Georg Brandl
cfe85b4e8b Determine search language in builder, and add missing method in websupport indexer implementations. 2011-01-04 12:47:49 +01:00
Georg Brandl
17efae5622 merge with 1.0 2011-01-04 11:29:09 +01:00
Georg Brandl
3642b521ed merge with 1.0 2011-01-04 00:35:27 +01:00
Georg Brandl
8fd5bd1e19 Fix docstring preparation with included signature: ignore indentation of two lines when looking for the signature. 2011-01-04 00:04:04 +01:00
Georg Brandl
f6cb763ff8 #564: Add :confval:autodoc_docstring_signature which retrieves the signature from the first line of the docstring, if it is found there. 2011-01-03 22:51:33 +01:00
Georg Brandl
594c1a90f4 #520: Provide `special-members` option for autodoc directives. 2011-01-03 21:56:41 +01:00
Georg Brandl
92cb77a131 #176: Provide `private-members` option for autodoc directives. 2011-01-03 21:48:37 +01:00
Georg Brandl
7401622583 #553: Added :rst:dir:testcleanup blocks in the doctest extension. 2011-01-03 21:20:29 +01:00
Georg Brandl
6c7aa8bb6d merge with 1.0 2011-01-03 15:55:56 +01:00
Daniel Neuhäuser
e38f19a829 "Fixed" the CombinedHTMLDiff test
The output should probably be validated but I just wanted to make
sure it runs without an Exception first
2010-12-01 23:13:31 +01:00
Robert Lehmann
8dc49de956 merge with trunk 2010-11-30 14:25:44 +01:00
Georg Brandl
2ab934b232 Make websupport builder inherit from serializing builder, remove separate WebSupportApp. 2010-11-20 17:41:20 +01:00
Georg Brandl
35258f2c46 merge with 1.0 2010-11-17 22:59:08 +01:00
Robert Lehmann
3de93d83d6 Split up tests for locale patching. 2010-11-14 19:50:30 +01:00
Robert Lehmann
84298debb7 Supply missing PO file for tests. 2010-11-14 19:43:28 +01:00
Robert Lehmann
f055c1593f Split up sphinx-i18n tests into build and patch phase. 2010-11-14 19:42:50 +01:00
Robert Lehmann
3ab3400c12 Remove generated catalogs properly after tests. 2010-11-13 13:15:15 +01:00
Robert Lehmann
3d006f827d Transform false positives into skipped tests. 2010-11-13 13:14:35 +01:00
Robert Lehmann
b720156437 Tested section grouping for translations. 2010-11-13 12:59:12 +01:00
Jonathan Waltman
58e8e49111 Implement image handling for Texinfo builder 2010-11-07 00:41:47 -05:00
Georg Brandl
5edd11b245 merge with 1.0 2010-10-22 19:26:28 +02:00
Georg Brandl
08c1076917 Implement missing node handlers for texinfo. Enable checking warnings from texinfo build in tests. 2010-10-22 11:27:33 +02:00
Georg Brandl
bd268c7182 Few cleanups after texinfo builder merge (#529). Add CHANGES and AUTHORS entries. To do: add node handlers for all extension nodes so that the test documents can be handled without warnings. 2010-10-22 10:17:35 +02:00
Jonathan Waltman
1a5f00d83c Remove left-over debugging code 2010-09-16 02:34:54 -05:00
Jonathan Waltman
13684aa91f Add tests for Texinfo builder 2010-09-16 02:19:06 -05:00
Georg Brandl
3ddd7d9075 merge with 1.0 2010-08-25 12:02:59 +00:00
Georg Brandl
40e692e6c3 #504: Add an `index` role, to make inline index entries. 2010-08-25 11:33:30 +00:00
Georg Brandl
22b5751eb5 Fix test. 2010-08-25 11:33:25 +00:00
Georg Brandl
1778803e95 merge with 1.0 2010-08-23 16:49:05 +00:00
Georg Brandl
2f2a09c919 Improve websupport test skipping, add new decorator for search adapter skipping. 2010-08-21 23:03:06 +02:00
Georg Brandl
9acc57b616 Skip tests accordingly if sqlalchemy is not present. 2010-08-21 22:47:32 +02:00
Georg Brandl
bcf84166ca Add skip_if and skip_unless test decorators. 2010-08-21 22:47:18 +02:00
Georg Brandl
2399e4627c Rename module to make clear it is only for sqlalchemy. 2010-08-21 22:36:35 +02:00
Georg Brandl
b9c933046d Fix version. 2010-08-21 22:01:42 +02:00
Georg Brandl
e239e51685 Give an explicit locale so that the output file name of msginit is deterministic. 2010-08-21 20:30:11 +02:00
Georg Brandl
2e17fac622 merge with DasIch/sphinx-i18n 2010-08-21 19:34:05 +02:00
Georg Brandl
00c2b032d1 merge with sphinx-i18n 2010-08-21 19:20:50 +02:00
Robert Lehmann
7a40e07eda merge with trunk 2010-08-17 11:08:23 +02:00
Jacob Mason
fd10895e5a fix moderation test 2010-08-16 10:11:52 -05:00
Jacob Mason
68cb74ad77 merge with trunk 2010-08-16 09:33:09 -05:00
Jacob Mason
1037c07299 merge with DasIch 2010-08-16 09:31:55 -05:00
Daniel Neuhäuser
a845ad088a Automated merge with ssh://bitbucket.org/DasIch/sphinx-version-tracking 2010-08-16 08:18:31 +02:00
Daniel Neuhäuser
97bf9b01af Fix get_ratio for empty strings 2010-08-16 08:18:10 +02:00
Jacob Mason
a9d5c4c26f merge 2010-08-15 14:29:20 -05:00
Daniel Neuhäuser
3266be6991 Automated merge with ssh://bitbucket.org/DasIch/sphinx-version-tracking 2010-08-15 21:27:08 +02:00
Daniel Neuhäuser
e68b1cacd0 Optimized merging algorithm 2010-08-15 21:25:31 +02:00
Daniel Neuhäuser
30fe0ce9fb Automated merge with ssh://bitbucket.org/DasIch/sphinx-version-tracking 2010-08-15 20:50:52 +02:00
Jacob Mason
44de593511 merge with version-tracking 2010-08-15 13:39:33 -05:00
Daniel Neuhäuser
ad42f2a93b shutil.copytree has no ignore argument in python 2.4 2010-08-15 20:34:58 +02:00
Daniel Neuhäuser
0cf175e0b2 Added a test for the behavior described by Jacob and it does fail 2010-08-15 19:25:46 +02:00
Daniel Neuhäuser
6ac27b4da7 Check also for the length and explicitly check that the first uids are different 2010-08-15 18:44:09 +02:00
Jacob Mason
896efbbe72 merge with Dasich 2010-08-15 11:42:22 -05:00
Daniel Neuhäuser
37cc185fe7 Added a test for paragraphs inserted at the beginning of a document 2010-08-15 18:41:14 +02:00
Daniel Neuhäuser
42279f17bd Fix test_gettext test for python 3.x 2010-08-15 12:30:13 +02:00
Daniel Neuhäuser
817a7bb2c8 Fix test which was broken to change in the path object api 2010-08-15 12:16:48 +02:00
Daniel Neuhäuser
94d9644722 Added a newline for readability 2010-08-15 12:04:27 +02:00
Daniel Neuhäuser
57e83c6a94 Fix line length 2010-08-15 11:59:01 +02:00
Daniel Neuhäuser
ce4c5a63fa merge with lehmannro/sphinx-i18n 2010-08-15 11:55:46 +02:00
Daniel Neuhäuser
ac9c7d71dc Automated merge with ssh://bitbucket.org/jacobmason/sphinx-web-support 2010-08-14 20:12:13 +02:00
Daniel Neuhäuser
860fc27177 shutil.copytree doesn't have an ignore argument in Python 2.4 2010-08-14 19:48:42 +02:00
Daniel Neuhäuser
fae5b3c133 Fix doctest to work with Python 2.5 and lower 2010-08-14 19:52:04 +02:00
Jacob Mason
12584dd257 merge with trunk 2010-08-14 12:16:38 -05:00
Georg Brandl
bafc3ee84d merge with 1.0 2010-08-14 17:08:17 +02:00
Daniel Neuhäuser
cfaecfa082 Automated merge with ssh://bitbucket.org/DasIch/sphinx-version-tracking 2010-08-14 11:23:13 +02:00
Daniel Neuhäuser
07db8c03d2 Added a test to make sure pickled doctrees still have their uids 2010-08-14 11:11:50 +02:00
Daniel Neuhäuser
1d4c7d4fe0 Added initial versioning support 2010-08-11 14:23:58 +02:00
Daniel Neuhäuser
afd1a1621f Automated merge with ssh://bitbucket.org/DasIch/sphinx-version-tracking 2010-08-10 20:36:57 +02:00
Daniel Neuhäuser
7ecdad4bbe Automated merge with ssh://bitbucket.org/birkenfeld/sphinx 2010-08-10 17:25:01 +02:00
Georg Brandl
bd950c3bb4 Fix test_config under 2.x. 2010-08-10 17:16:49 +02:00
Daniel Neuhäuser
023f342bed Removed trailing whitespace 2010-08-10 17:11:11 +02:00
Daniel Neuhäuser
53920deb3e Delete remaining files in the _build directory 2010-08-10 15:22:42 +02:00
Daniel Neuhäuser
c614ba995d Fixed algorithm test_insert passes now and everything seems to be working fine 2010-08-10 15:22:11 +02:00
Daniel Neuhäuser
805c2c405e Automated merge with ssh://bitbucket.org/birkenfeld/sphinx 2010-08-10 12:27:51 +02:00
Daniel Neuhäuser
828ad48e3d Initial version tracking implementation 2010-08-10 12:25:48 +02:00
Jacob Mason
2dcb0f0178 updated tests to use builddir instead of outdir 2010-08-07 21:08:43 -05:00
Jacob Mason
d08baf4317 merge with trunk 2010-08-07 14:14:21 -05:00
Jacob Mason
1d98a50bdc add moderator kwarg to moderation methods. 2010-08-06 21:13:06 -05:00
Jacob Mason
fbd047b8f5 Ensure hidden comments can't be replied to 2010-08-05 15:01:13 -05:00
Jacob Mason
d0e272e61f Add comment moderation backend 2010-08-05 14:13:50 -05:00
Jacob Mason
790715d37b added update_username method 2010-08-05 12:20:15 -05:00
Georg Brandl
861941e5f1 merge with 1.0 2010-08-05 16:20:12 +02:00
Jacob Mason
69a2c07396 added delete_comment method 2010-08-04 16:06:10 -05:00
Jacob Mason
a08651e6d0 rename comments package storage 2010-08-04 13:20:43 -05:00
Jacob Mason
338c349dd5 renamed get_comments get_data 2010-08-04 13:12:57 -05:00
Jacob Mason
75ae087f7a added more test coverage. 2010-08-04 13:09:07 -05:00
Jacob Mason
248c01af3e Separate search adapter tests from others 2010-08-04 11:25:30 -05:00
jacob
62fe57c641 Converted comment schema from adjacency list to materialized path.
Added tests for commments.
Layed groundwork for comment moderation.
2010-08-03 12:21:43 -05:00
Jacob Mason
682fa466fe Added test for comment system. 2010-07-31 15:51:13 -05:00
Georg Brandl
0e84c75822 Improve support for automatic 2to3 conversion of config files. It now kicks in whenever the original file raises SyntaxErrors on compiling. 2010-07-31 19:47:15 +02:00
Jacob Mason
a31f3b7e73 More complete tests for search adapters. 2010-07-31 12:23:26 -05:00
Jacob Mason
a36175298e Added basic search tests. 2010-07-30 17:07:48 -05:00
Jacob Mason
2528f3ddce Added SrcdirNotSpecifiedError 2010-07-30 16:13:51 -05:00
Jacob Mason
846ab3a743 Added DocumentNotFoundError 2010-07-30 15:53:02 -05:00
Jacob Mason
f014641405 Added test for build and made web support buildable without specifying search adapter 2010-07-30 11:20:43 -05:00
Georg Brandl
67ffb9bf54 Fix raw_input which is not converted by 2to3 if not called. 2010-07-28 20:24:35 +02:00
Georg Brandl
c683c6ed83 Add some changes not picked up in the transplantation process. 2010-07-28 19:49:06 +02:00
Robert Lehmann
6e9b3c7249 Test if doctrees retain semantic structure. 2010-06-30 12:57:10 +02:00
Robert Lehmann
1433b5cb11 Test translation patching in vitro. 2010-06-29 23:30:22 +02:00
Robert Lehmann
7b3830a78a Pull gettext tests into one single location. 2010-06-26 14:13:43 +02:00
Robert Lehmann
cd583b634d merge with trunk 2010-06-23 07:43:07 +02:00
Robert Lehmann
3a7ce4039a Check compiled message catalogs are processable with gettext. 2010-06-23 06:18:47 +02:00
Robert Lehmann
b5f29b2c7c Strip down tests to build only critical parts. 2010-06-17 11:57:59 +02:00
Robert Lehmann
b1c480f5c6 Remove cleanenv setting from tests. 2010-06-17 11:49:07 +02:00
Robert Lehmann
e63bb0f4a9 Split up tests into logical units. 2010-06-17 11:46:49 +02:00
Georg Brandl
7c7d3f4010 Added `exclude argument to :func:.autodoc.between`. From http://bitbucket.org/mfperzel/sphinx-additions. 2010-06-12 18:16:18 +02:00
Robert Lehmann
3e449e3005 Delete generated files on test failure. 2010-06-09 07:46:40 +02:00
Robert Lehmann
438c24e222 Prepare test root catalogs for gettext with msgfmt. 2010-06-09 06:54:59 +02:00
Robert Lehmann
5ac5f23f2b Verify PO file format with msginit. 2010-06-09 06:46:30 +02:00
Robert Lehmann
0299008e55 Initial tests for gettext build. 2010-06-07 14:04:16 +02:00
Robert Lehmann
ead9fa89b0 Add generic test for gettext builder. 2010-06-07 13:58:04 +02:00
Georg Brandl
dd4f973221 merge with 0.6 2010-06-03 17:25:16 +02:00
Georg Brandl
af51c2f7bb Make test suite work with docutils from trunk: they emit a line number for a warning where 0.6 doesnt. 2010-06-03 17:21:33 +02:00
Georg Brandl
35f0b555a4 The `toctree callable in templates now accepts a titles_only` keyword argument. 2010-05-30 13:16:26 +02:00
Georg Brandl
f3c706edae The `include` directive now supports absolute paths, which are interpreted as relative to the source directory. 2010-05-30 12:59:42 +02:00
Georg Brandl
3bd9e4617e Add a test for absolute image filenames. 2010-05-30 12:47:17 +02:00
Georg Brandl
57c438be4f Test references to figures and tables by caption. 2010-05-30 12:42:05 +02:00
Daniel Neuhäuser
6f982283ed Fixed a testcase in response to issue #415 which is failing as of revision a854e3d2ca07 2010-05-30 04:47:28 +02:00
Daniel Neuhäuser
625127fd63 Fix SyntaxError in config generated by quickstart and the quickstart test 2010-05-28 04:08:15 +02:00
Georg Brandl
b621cfaec1 Unify version_info checks. 2010-07-28 19:36:57 +02:00
Georg Brandl
0d4c3a31b6 #426: Fix encoding issues when saving/loading intersphinx inventories. 2010-05-26 19:51:09 +02:00
Georg Brandl
d3d93a54f0 Test the viewcode extension; decode the source files before highlighting them. 2010-05-26 19:29:44 +02:00
Georg Brandl
8bcf1f4511 Fix long line. 2010-05-25 00:50:15 +02:00
Georg Brandl
4d0facf1e1 Add the "oldcmarkup" extension, to help migrating to 1.0. 2010-05-24 15:12:27 +02:00
Georg Brandl
0238e83013 Merge with http://bitbucket.org/tpowers/sphinx/ (rewriting the external/internal distinction code)
In HTML output, references now get the class ``internal`` if they are internal to the whole project, as opposed to internal to the current page.

The ``menuselection`` and ``guilabel`` roles now support ampersand accelerators.
2010-05-24 12:57:07 +02:00
Georg Brandl
5b7e794e2b #413: Added a way for intersphinx to refer to named labels in other
projects, and to specify the project you want to link to.
2010-05-23 13:06:01 +02:00
Georg Brandl
ecb75bd0d2 merge with 0.6 2010-05-22 14:19:33 +02:00
Georg Brandl
529d3f5329 #404: Make `\and work properly in the author field of the latex_documents` setting. 2010-05-22 14:15:39 +02:00
Georg Brandl
8cb5a02312 Give a binary document name. 2010-07-28 19:27:45 +02:00
Daniel Neuhäuser
ddeb627cef Don't use (in this case) unnecessary python2 unicode literals 2010-07-11 12:24:50 +02:00
Daniel Neuhäuser
7acfe972a4 Fixed test_env.test_images test for python3 2010-07-11 11:32:16 +02:00
Daniel Neuhäuser
23af2ea875 Provided a working fix for the remaining errors in the test suite 2010-07-11 01:05:27 +02:00
Daniel Neuhäuser
839cc5aaeb Revert changes from the last commit which caused problems with 2.x 2010-07-11 00:57:08 +02:00
Daniel Neuhäuser
a7ca488a8e Removed XMLParser._fixtext which fixes several errors in the test suite 2010-07-10 19:47:32 +02:00
Daniel Neuhäuser
37db093428 the test suite now runs on ubuntu, hopefully also debian and other system 2010-06-22 22:49:58 +02:00
Georg Brandl
3002eb391f Make string contents nongreedy. 2010-07-28 19:15:04 +02:00
Daniel Neuhäuser
98b6073a7e Fixed warnings in python3 2010-06-20 22:39:38 +02:00
Daniel Neuhäuser
710a7d75a1 Fix warning for bytestrings with non-ascii content for python3 2010-06-20 19:34:49 +02:00
Daniel Neuhäuser
0780242572 Fixed the coverage extension test as well as the coverage extension itself for python3 2010-06-19 19:58:28 +02:00
Daniel Neuhäuser
1f5c4e6c9c make doctest work with python2 and python3 2010-06-19 21:50:00 +02:00
Daniel Neuhäuser
2ce553a71a Fix test to respect the new .truncate() behavior 2010-06-19 16:38:52 +02:00
Daniel Neuhäuser
79a958b867 Remove unnecessary code 2010-06-12 20:21:14 +02:00
Daniel Neuhäuser
bade03c824 Copy converted tests to build/lib/tests not build/lib/test 2010-06-12 15:16:57 +02:00
Daniel Neuhäuser
817e1dd4cd fixed file handling and parsing in intersphinx so it properly handles encodings 2010-06-07 01:34:01 +02:00
Daniel Neuhäuser
87bbe8ddd5 don't use string.strip anymore 2010-06-06 23:13:06 +02:00
Daniel Neuhäuser
2683b839d5 Added a movetree method to the path object to make it more consistent along with documentation for every method of it. 2010-06-01 19:59:38 +02:00
Daniel Neuhäuser
a153f84a17 Replaced the path module with my own version 2010-06-01 18:10:06 +02:00
Daniel Neuhäuser
31275a34c2 Fix encoding in config test and open configs in binary mode to warn for possible encoding errors 2010-05-30 17:51:14 +02:00
Georg Brandl
ec5a5e739b Move the "b" function to pycompat. 2010-07-28 18:43:40 +02:00
Daniel Neuhäuser
24f1d4c12d fixed test_markup test 2010-05-24 19:41:02 +02:00
Daniel Neuhäuser
f8b12a45da use open instead of file 2010-05-24 17:35:43 +02:00
Daniel Neuhäuser
bcbce5955f Changed tests/run.py so that it's possible to run the testsuite on python3 more easiely 2010-05-09 00:38:16 +02:00
Georg Brandl
420adbce2f Make it easier for the test suite to override raw_input for test_quickstart. 2010-07-28 18:19:17 +02:00
Daniel Neuhäuser
28349ed856 Use 'U' if file is not present (we run under 3.x) 2010-05-08 23:23:56 +02:00
Daniel Neuhäuser
25b16f89e0 Use code objects for exec statements instead of files 2010-05-08 22:00:15 +02:00
Daniel Neuhäuser
4391e63b07 Move open() calls out of the try block 2010-05-01 20:26:05 +02:00
Daniel Neuhäuser
6651f67602 Removed pre-2.3 workaround for booleans 2010-05-01 19:19:24 +02:00
Daniel Neuhäuser
21376f21e7 Don't use execfile() anymore 2010-04-29 20:34:08 +02:00
Georg Brandl
59cf3db674 Fix test failure. 2010-04-26 22:26:44 +02:00
Georg Brandl
541e30b36e Cleanup trailing whitespace and fix a few nits with the rst domain. 2010-04-17 10:29:14 +02:00
Leontius Adhika Pradhana
7a3ac740da Refactored ReSTDirective.handle_signature() and added the first tests for rst domain. 2010-04-16 17:51:19 +08:00
Daniel Neuhäuser
ae0d464fb1 Added doc_field_types to :class:JSCallable, arguments, errors and the return value of JavaScript functions/methods/constructors can now be documented using fields. 2010-03-31 15:15:43 +00:00
Daniel Neuhäuser
00cb284182 Merge with sphinx-domains. 2010-03-30 22:43:57 +00:00
Daniel Neuhäuser
a791b7867b Added a :class:JSXRefRole which allows to display a method/attribute name only. 2010-03-30 22:40:20 +00:00
Daniel Neuhäuser
5831add5bb Added a :js:attribute:: directive as well as a :js:attr: role to describe attributes of javascript objects. 2010-03-30 22:22:57 +00:00
Daniel Neuhäuser
8cbdf1ec34 It is now possible to use the js:function:: directive for methods. 2010-03-30 21:50:48 +00:00
Daniel Neuhäuser
9d53f460ea Added a js:data directive/role to describe/refer to global variables/constants. 2010-03-30 19:39:18 +00:00
Daniel Neuhäuser
25b8e87fee Added a :js:func: role to refer to functions described with the js:function:: directive. 2010-03-30 19:14:01 +00:00
Daniel Neuhäuser
9837a08294 Added a JavaScript domain and a js:function directive. 2010-03-30 18:40:46 +00:00
Armin Ronacher
71a985c06c long double exists. 2010-03-30 18:57:56 +02:00
Armin Ronacher
a6c625f25c More operators for C++. Forgot about new/delete and some other less used
such as ->*.
2010-03-02 13:10:44 +01:00
Armin Ronacher
91322038e2 Added first CPP test 2010-03-02 01:27:44 +01:00
Georg Brandl
ea8fa8aa02 Fix test_markup. 2010-02-28 12:08:06 +01:00
Georg Brandl
a31e7e2f5d #187: Added support for source ordering of members in autodoc, with `autodoc_member_order = 'bysource'`. 2010-02-28 11:39:13 +01:00
Georg Brandl
b4d03d9ff3 In HTML output, inline roles now get a CSS class with their name,
allowing styles to customize their appearance.  Domain-specific
roles get two classes, ``domain`` and ``domain-rolename``.
2010-02-28 10:17:59 +01:00