Commit Graph

1946 Commits

Author SHA1 Message Date
Jakob Lykke Andersen
0aa9d4c87e C++, parse more types of integer literals
Fixes case 0 of sphinx-doc/sphinx#4114
2017-11-26 12:45:27 +01:00
Jakob Lykke Andersen
697248aec7 Merge branch 'cxx2a-concepts' of git://github.com/mickk-on-cpp/sphinx into mickk-on-cpp-cxx2a-concepts 2017-11-20 22:31:37 +01:00
Takeshi KOMIYA
a605f2b619 Merge pull request #4234 from pv/autosummary-importfix
Fix issue in usage of import_module in autosummary
2017-11-12 11:30:42 +09:00
Pauli Virtanen
189e25ac0e Fix issue in import_module returning wrong module 2017-11-11 18:00:03 +01:00
Takeshi KOMIYA
baaa0e3640 Merge branch 'stable' 2017-11-12 01:53:28 +09:00
Takeshi KOMIYA
c1555638ae Merge pull request #2299 from scVENUS/fix_attribute_docstrings_of_imported_class
Fix #2298: automodule fails to document a class attribute.
2017-11-12 01:48:48 +09:00
Matthew Woodcraft
e99eb09429 Fix Python 2 problems in test_build_text 2017-11-07 23:51:45 +00:00
Matthew Woodcraft
604db47228 #3998: Toctree section numbering in plain text output 2017-11-07 23:10:11 +00:00
Matthew Woodcraft
6b15c9c1c7 #3998: Add optional section numbering in plain text output
Controlled by new config values: text_add_secnumbers and
text_secnumber_suffix.
2017-11-05 22:51:38 +00:00
Pauli Virtanen
d5bea6b85a autosummary: catch all exceptions when importing modules
Module imports may raise any exceptions, including SystemExit, which
need to be caught.
2017-11-02 23:04:43 +01:00
Takeshi KOMIYA
f46c91b652 Merge branch 'stable' 2017-11-02 00:49:10 +09:00
Takeshi KOMIYA
c4e364ee63 Rename tests directory; roots/test-doctest -> roots/test-ext-doctest 2017-11-02 00:03:29 +09:00
Takeshi KOMIYA
c3fffc521b Reduce warnings on testing 2017-10-31 22:57:28 +09:00
David Lechner
831f89a687 Closes #3160: Use <kbd> tag for :kbd: role in html writers 2017-10-30 10:23:55 -05:00
Takeshi KOMIYA
215be8e5bd Merge pull request #4177 from tk0miya/improve_theme_sidebars
HTML themes can set up default sidebars through ``theme.conf``
2017-10-30 13:36:10 +09:00
Takeshi KOMIYA
d7d2e823fc sphinx.config.ENUM allows to validate items of lists or tuples 2017-10-29 22:23:15 +09:00
lucdanton
9aac2420d3 C++: remove function concepts. 2017-10-26 08:15:09 +02:00
Takeshi KOMIYA
47049ce5f6 Merge branch 'master' into improve_theme_sidebars 2017-10-25 23:53:44 +09:00
Dmitry Shachnev
eb934cb665 Add a test for the previous change 2017-10-23 23:12:10 +03:00
Takeshi KOMIYA
e3baf213f5 Merge branch 'stable' 2017-10-23 23:04:32 +09:00
Takeshi KOMIYA
47c869c89a Fix flake8 and style-check violations 2017-10-23 23:01:18 +09:00
Takeshi KOMIYA
7e7b389eed Merge branch 'stable' 2017-10-23 12:23:58 +09:00
Takeshi KOMIYA
b78f3090a0 HTML themes can set up default sidebars through `theme.conf` 2017-10-22 15:14:02 +09:00
Takeshi KOMIYA
ffad4f08c7 Fix #3739: `:module:` option is ignored at content of pyobjects 2017-10-21 21:37:44 +09:00
Takayuki SHIMIZUKAWA
101b289351 Merge pull request #4097 from stephenfin/argparse-integration
Fix #3259: Argparse integration
2017-10-21 18:58:55 +09:00
Takeshi KOMIYA
cd4964249f Merge branch 'stable' into 1086bfa6-fa4c-485f-bd17-6aa1ca49f851 2017-10-21 13:48:25 +09:00
Takeshi KOMIYA
f11cff555d Merge branch 'stable' 2017-10-21 13:45:56 +09:00
Takeshi KOMIYA
f224f3ca25 Merge pull request #4157 from tk0miya/4156_parse_class_comment
Fix #4156: failed to parse class comment
2017-10-21 13:45:33 +09:00
Takeshi KOMIYA
4448902977 Fix #4169: Chinese language doesn't trigger Chinese search automatically 2017-10-21 01:42:53 +09:00
Takeshi KOMIYA
7aab8c3b07 Fix #4156: failed to parse class comment 2017-10-19 22:24:40 +09:00
Matthew Fernandez
6553b2ed32 add a test that confirms #1020 2017-10-18 18:39:56 -07:00
Matthew Fernandez
08f6f7ba4d fix comment typo 2017-10-18 18:39:27 -07:00
Oliver Jahn
783cff44b3 add tests for math_numfig 2017-10-18 16:52:28 -04:00
Takeshi KOMIYA
1dfe978fcb Support more complex starred asssignment case 2017-10-19 00:10:46 +09:00
Takeshi KOMIYA
4fdcae0584 Fix #4158: pycode.parser failed to parse starred assignment 2017-10-18 21:37:09 +09:00
Takeshi KOMIYA
3369d9a03a Merge branch 'stable' 2017-10-16 21:03:38 +09:00
Peter Cock
11d84b7895 pycode tests for multiple assignment via tuple/list 2017-10-13 14:21:13 +01:00
Stephen Finucane
87630c8ae8 sphinx-apidoc: Convert to argparse
This is pretty self-explanatory, with most changes coming about as a
side-effect of argparse vs. optparse API differences.

Lowercase characters are used in help strings, per argparse conventions.
Some tests are converted because argparse natively supports unicode.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-10-09 16:28:39 +01:00
Takeshi KOMIYA
1292089255 Close #1448: qthelp: Add new config value; qthelp_namespace 2017-10-08 23:22:56 +09:00
cocoatomo
35d10033c2 Add (optional) u prefixes for Python 2.7 2017-10-08 01:55:53 +09:00
cocoatomo
73fd3f90bf Wrap the line too long 2017-10-08 01:29:07 +09:00
cocoatomo
ff88c8b730 Display reference texts of original and translated messages 2017-10-08 00:06:00 +09:00
cocoatomo
1f0c3ce875 Re-arrange WARNING messages about reference inconsistencies 2017-10-07 10:47:59 +09:00
Takeshi KOMIYA
c57cd9cb06 Merge branch 'stable' 2017-10-05 00:48:50 +09:00
Takeshi KOMIYA
50640b700b Fix #4070, #4111: crashes when the warning message contains format strings (again) 2017-10-05 00:00:48 +09:00
Jakob Lykke Andersen
6d61098058 C++, add test case for sphinx-doc/sphinx#4096 2017-10-03 14:35:10 +02:00
Stephen Finucane
1f5ed02225 sphinx-quickstart: Move code to 'sphinx.cmd'
We're going to move the executable's here (or at least those that part
of the core library). The 'sphinx-build' executable was already moved,
so lets do 'sphinx-quickstart' next.

To avoid breaking packages that are using this feature directly, aliases
for the old 'main' method are included. This is based on what Django
does [1] and, like Django, will allow us to safely remove the old
modules in Sphinx 2.0.

[1] https://github.com/django/django/blob/1.11/django/test/runner.py#L688-L695

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-10-02 15:42:23 +01:00
Takeshi KOMIYA
1892fc18b9 Merge branch 'stable' 2017-10-02 00:41:21 +09:00
Jakob Lykke Andersen
a3b66eb095 Merge pull request #4095 from Andne/cpp-tests
Cleanup the C++/Intersphinx test to avoid std namespace
2017-09-28 21:52:30 +02:00
Jakob Lykke Andersen
b85ea529b8 C++, allow empty template argument lists
See sphinx-doc/sphinx#4094
2017-09-28 20:46:34 +02:00