Commit Graph

672 Commits

Author SHA1 Message Date
Takayuki Shimizukawa
e2ed97031d use test generator nosetests feature. 2014-07-12 22:14:14 +09:00
Takayuki Shimizukawa
91709946d6 * Fix: py:function directive generate incorrectly signature when specifying a default parameter with an empty list []. Closes #1503 2014-07-12 20:50:15 +09:00
Takayuki Shimizukawa
b3aa4aa81b * In autodoc, fix display of parameter defaults containing backslashes. Closes #1502 2014-07-02 00:09:11 +09:00
Takayuki Shimizukawa
f781f55b28 * With non-callable setup in a conf.py, now sphinx-build emits user-friendly error message. Closes #1499 2014-06-30 22:54:28 +09:00
Takayuki Shimizukawa
ff8ce91f77 * Fix: autosummary can't handle nested classes correctly. Closes #1441 2014-06-21 17:05:31 +09:00
Takayuki Shimizukawa
1d742bdcf5 * Fix exception on Python3 if nonexistent method is specified by automethod. Closes #1467 2014-06-09 01:43:34 +09:00
Takayuki Shimizukawa
ecaeff1689 refactoring the test_autosummary.py 2014-04-12 00:24:53 +09:00
Takayuki Shimizukawa
8f69e25c85 * Fix: autosummary does not create the description from attributes docstring. Closes #1444 2014-04-11 23:38:37 +09:00
Takayuki Shimizukawa
43a9881c4b Fix i18n: missing python domain's cross-references with currentmodule directive or currentclass directive. refs #1363
* node attributes 'py:module', 'py:class' is provided from environment (e.x. currentmodule directive is provided on previous line, not on node)
* Because translation nodes are parsed in independently, 'provided attributes by environment' are not exist.
* For a pending_xref nodes, all attributes of a translated xref node should be same as original xref node in current test cases.
* For the above reasons, I overwrite all attributes from origonal node to new translated xref node.
2014-03-23 23:01:15 +09:00
Georg Brandl
55e2f29170 fix windows newlines 2014-03-01 08:42:35 +01:00
Paul Molodowitch
d4a0a14aa5 Closes #1374: Autosummary generates overly-long summaries if first line doesn't end with a period 2014-02-03 19:35:04 -08:00
Georg Brandl
e030031321 Update copyright year. 2014-03-01 08:18:16 +01:00
Ben Darnell
b0ca105c36 Fix an exception introduced by b69b59480cba for __init__ with no docstring. 2014-01-20 11:54:51 -05:00
Georg Brandl
de92e3b026 Closes #1285: Avoid name clashes between C domain objects and section titles. 2014-01-17 07:08:32 +01:00
Georg Brandl
c5b4ff0adc * add a test for the parsed-literal directive
* adapt test to pygments output versus Sphinx-emulated nohighlighting output
2014-01-11 10:25:34 +01:00
Georg Brandl
195050c6c4 Closes #933: Do not crash if an `:option:` value is malformed (contains spaces
but no option name).
2014-01-10 22:04:03 +01:00
Georg Brandl
82e294ec0f Closes #1312: use non-deprecated unittest-like names 2014-01-10 15:11:27 +01:00
Takayuki Shimizukawa
e61f316c74 Fix autodoc with `autoclass_content="both" uses useless object.__init__ docstring when class does not have __init__`. Closes #1337
This caused by a change for #1138.
2014-01-02 12:42:12 +09:00
Takayuki Shimizukawa
3d67be3dce Fix autosummary template overloading cause infinite recursive function call. Closes #1335 2013-12-27 05:23:47 +00:00
Georg Brandl
04bc952dd9 fix trailing space 2013-12-10 10:23:45 +01:00
Takayuki Shimizukawa
1d5c7d1f20 Fix: autodoc class __init__ override not removed from docstring. Closes #1138 2013-12-09 10:55:51 +00:00
Takayuki Shimizukawa
6432f65347 fix test error; can't remove empty directory problem on Windows. 2013-12-08 16:58:34 +09:00
Takayuki Shimizukawa
d96de9d128 Fix test_linkcode.test_html fails with C locale and Python 3. Closes #1311 2013-11-17 03:39:27 +00:00
Takayuki Shimizukawa
8e507f54a5 Merged in mitya57/sphinx (pull request #176)
Make sure setup_command test can always import Sphinx
2013-11-16 17:44:22 +09:00
Takayuki Shimizukawa
63d34cca47 Add tests and code refine for pull request #190. 2013-11-12 15:17:09 +00:00
Georg Brandl
424ca5c28a test_intl fix-up after versionmodified change. 2013-10-12 22:57:09 +02:00
Dmitry Shachnev
c7002b90b8 Make sure setup_command test can always import Sphinx 2013-10-05 19:36:12 +04:00
Takayuki Shimizukawa
313559116d Backed out changeset cfe9e2d11003 refs #1265 2013-10-04 08:12:20 +00:00
Takayuki Shimizukawa
603a75d8d3 Now gettext translates label target name. Fix i18n: crash when using a indirect target and translating a target section name. Closes #1265 2013-10-04 05:07:09 +09:00
Takayuki Shimizukawa
be65b99879 grammar fix: 'multibyte filename' is ambiguous. They are replaced with 'non-ASCII filename'. refs #703 2013-10-03 06:43:22 +00:00
Takayuki Shimizukawa
b37f385810 Add test refs #1265 (comment-6264794) to validate translated label link shifting. 2013-10-03 02:53:53 +00:00
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