Commit Graph

1809 Commits

Author SHA1 Message Date
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
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
Andy Neebel
3a0c050af0 Some cleanup to avoid using the std:: namespace 2017-09-28 13:43:46 -05:00
Jakob Lykke Andersen
447c54ae92 C++, adapt sphinx-doc/sphinx#3894 after merge to master
Fixes sphinx-doc/sphinx#4082
2017-09-28 20:10:07 +02:00
jfbu
db36b42e55 Avoid extra space in PDF after image in parsed-literal (refs: Fix #4085) 2017-09-27 12:43:28 +02:00
jfbu
dc129e0532 Fix #4085 Failed PDF build from image in parsed-literal 2017-09-27 09:54:18 +02:00
Takeshi KOMIYA
1ef0351ec1 Merge pull request #3929 from stephenfin/move-sphinx-apidoc-to-ext
apidoc: Move apidoc to ext/apidoc
2017-09-26 15:42:25 +09:00
Takeshi KOMIYA
617bb43cae Comment out broken test cases temporarily 2017-09-24 23:46:31 +09:00
Takeshi KOMIYA
00169a07e6 Merge branch 'stable' 2017-09-24 22:51:23 +09:00
Takeshi KOMIYA
c32233b0e1 Merge commit '63c15998f66eeb42f3fcfef6087a7264645bee6b~1' 2017-09-24 21:36:04 +09:00
Oliver Sanders
261f74bc7a Add test for ext.graphviz alignment. 2017-09-24 17:04:25 +09:00
Takeshi KOMIYA
8f20132926 Merge pull request #4055 from oliver-sanders/fix-graphviz-svg-alignment
Fix ext.graphviz alignment.
2017-09-24 17:03:12 +09:00
Stephen Finucane
96cf498c9e apidoc: Move apidoc to ext/apidoc
The 'sphinx-apidoc' tool is no longer the only kid on the block when it
comes to automatic documentation of Python projects, with the likes of
'sphinx-autoapi' in development [1], and is not really maintained. Given
the fact that the tool is tangential to Sphinx's main goal, there isn't
really anything that warrants its continue existence as a core module.

Signify this by moving the feature to 'ext'. This allows the feature to
continue to exist in the package, but indicates that stability might be
worse than one would expect from the core library.

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

[1] https://github.com/rtfd/sphinx-autoapi
[2] https://github.com/sphinx-doc/sphinx/pull/3485#issuecomment-288081223
[3] https://github.com/django/django/blob/1.11/django/test/runner.py#L688-L695

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-09-20 13:42:57 +01:00
jfbu
d0418f9129 Add test for #4066 latex \index indent fix 2017-09-20 10:30:45 +02:00
Oliver Sanders
447582724d Add test for ext.graphviz alignment. 2017-09-18 11:10:19 +01:00
jfbu
f453fe7bf0 Fix #4044 (extra row height in PDF output from empty multicell) 2017-09-11 20:18:35 +02:00
Takeshi KOMIYA
a9b5fe3624 Merge branch 'stable' into 3969_allow_private_instance_vars 2017-09-06 23:52:33 +09:00
Jakob Lykke Andersen
29b1d2f906 Merge pull request #3894 from Andne/cpp-typeorconcept
Improve support for C++ references with intersphinx
2017-08-31 16:58:45 +02:00
Takeshi KOMIYA
8b76d5b064 Merge pull request #4012 from avalentino/docstring-inheritance
Docstring inheritance
2017-08-21 23:31:17 +09:00
Antonio Valentino
96ee24d7c1 Basic test for docstring inheritance 2017-08-19 21:52:30 +02:00
Takeshi KOMIYA
05b621a79a Merge pull request #3961 from gaborbernat/master
fixes #3959 alias/rename support for classes inside inheritence diagrams
2017-08-20 00:41:50 +09:00
Takeshi KOMIYA
feab97e293 Fix flake8 violation 2017-08-20 00:27:07 +09:00
Takeshi KOMIYA
c96b5b67b1 Fix flake8 violation 2017-08-10 10:36:19 +09:00
Bernat Gabor
0c3f9851b3 fixes #3959 alias/rename support for classes inside inheritence diagrams 2017-07-31 18:21:05 +01:00
Takeshi KOMIYA
13be8e03ba Fix #3969: private instance attributes causes AttributeError 2017-07-31 22:49:04 +09:00
Takeshi KOMIYA
d63a678228 Reduce DeprecationWarning 2017-07-31 22:30:48 +09:00
Takeshi KOMIYA
da0fda3b0b Add tests for default-role 2017-07-31 00:46:26 +09:00
Takeshi KOMIYA
56a47cd9b9 Fix #3962: sphinx-apidoc does not recognize implicit namespace packages correctly 2017-07-29 16:04:54 +09:00
Takeshi KOMIYA
abaf1cbb6b Merge branch 'stable' 2017-07-29 16:01:47 +09:00
Takeshi KOMIYA
8683823536 pycode: Replace pgen2 by own parser 2017-07-26 20:51:58 +09:00
Takeshi KOMIYA
6900d19b71 pycode: Add new parser! 2017-07-26 20:51:40 +09:00
Takeshi KOMIYA
b1f80427a7 Add testcase for sphinx.util.docstrings 2017-07-26 20:51:40 +09:00
Takeshi KOMIYA
57667b5766 Add testcase for oneliner 2017-07-26 20:51:40 +09:00
Takeshi KOMIYA
ae3b761184 Add testcase for pycode interface 2017-07-26 20:51:40 +09:00
Jean-François B
8d32f03a86 Merge pull request #3872 from jfbu/literalblock_cappos
Add latex key to configure literal blocks caption position in PDF output
2017-07-23 22:46:39 +02:00
Sam Park
7020f6b41d Add tests 2017-07-15 15:18:49 -07:00