Commit Graph

13082 Commits

Author SHA1 Message Date
tsanikgr
c1c7cf8c8c #5877: Allow setting imported_members for autosummary in conf.py 2019-03-27 13:40:45 +00:00
Takayuki SHIMIZUKAWA
a224615287
code snippet should not be a translation target 2019-03-25 23:47:49 +09:00
Takeshi KOMIYA
bcad2b2879
Merge pull request #6204 from tk0miya/refactor_todo2
``todo`` directive now supports ``:name:`` option
2019-03-25 22:44:49 +09:00
Takeshi KOMIYA
f585a4a5a8 Add testcase for glossary 2019-03-25 22:36:28 +09:00
Takeshi KOMIYA
350a5784c3 refactor: Use reporter.warning() instead of system_message() 2019-03-25 22:36:27 +09:00
Takeshi KOMIYA
27298617e6
Merge pull request #6205 from tk0miya/drop_tests_for_deprecated
Drop tests for deprecated modules
2019-03-24 22:16:31 +09:00
Takeshi KOMIYA
8d5ef57c6f `todo directive now supports :name:` option 2019-03-24 22:15:43 +09:00
Takeshi KOMIYA
9fe962c208 Drop tests for deprecated modules 2019-03-24 21:46:31 +09:00
Takeshi KOMIYA
ab268c3138 refactor: test_ext_todo 2019-03-24 17:37:22 +09:00
Takeshi KOMIYA
2adeb68af1
Merge pull request #6199 from tk0miya/refactor_pyobject
refactor PyObject class
2019-03-23 23:01:19 +09:00
Takeshi KOMIYA
28a21cbf46
Merge pull request #6197 from sphinx-doc/math_directive_should_support_classes
``math`` directive does not support ``:class:`` option
2019-03-23 22:55:43 +09:00
Takeshi KOMIYA
e1185ff2e4
Merge pull request #6198 from tk0miya/6196_unexpected_prefix
Fix #6196: py domain: unexpected prefix is generated
2019-03-23 22:52:05 +09:00
Takeshi KOMIYA
12b682958e refactor PyObject class 2019-03-23 22:45:15 +09:00
Takeshi KOMIYA
700be75a73 Fix #6196: py domain: unexpected prefix is generated 2019-03-23 22:32:37 +09:00
Takeshi KOMIYA
8980f637c9 Add testcase for sphinx.domains.python 2019-03-23 21:44:00 +09:00
Takeshi KOMIYA
3d4fc8c47c `math directive does not support :class:` option
``:class:`` option is a common options for all directives.  But
our implementation does not support it so far.  This adds support
for the option.
2019-03-23 20:24:51 +09:00
Takeshi KOMIYA
98e476779c
Merge pull request #6195 from tk0miya/update_changes
Add an incompatible change entry (refs: #6186)
2019-03-23 17:40:47 +09:00
Takeshi KOMIYA
99909d2b79
Merge pull request #6192 from tk0miya/refactor_docfields2
Add ObjectDescription.get_field_type_map()
2019-03-23 17:34:51 +09:00
Takeshi KOMIYA
2c75d273da Add an incompatible change entry (refs: #6186) 2019-03-23 17:33:24 +09:00
Takeshi KOMIYA
a990f9ff72 Add ObjectDescription.get_field_type_map()
Conceal caching mechanism of Field classes to ObjectDescription class.
This deprecates DocFieldTransformer.preprocess_field_types().
2019-03-23 17:27:22 +09:00
Takeshi KOMIYA
d84261c1de
Merge pull request #6194 from tk0miya/add_testcase_for_pydomain
Add testcase for sphinx.domains.python
2019-03-23 17:11:05 +09:00
Takeshi KOMIYA
fade0d0c1b Add testcase for sphinx.domains.python 2019-03-23 17:00:54 +09:00
Takeshi KOMIYA
86f0336693 Merge branch '2.0' 2019-03-21 02:21:59 +09:00
Takeshi KOMIYA
b96a315b5f Bump version 2019-03-21 02:20:33 +09:00
Takeshi KOMIYA
987cf555d8 Bump to 2.0.0 beta2 2019-03-21 02:18:06 +09:00
Takeshi KOMIYA
0af3012cb8
Merge pull request #6184 from tk0miya/6178_hidden_tocs
Fix #6178: i18n: Captions missing in translations for hidden TOCs
2019-03-19 01:54:43 +09:00
Takeshi KOMIYA
021749429d
Merge branch '2.0' into 6178_hidden_tocs 2019-03-19 01:23:17 +09:00
Takeshi KOMIYA
79da4c777d Update CHANGES 2019-03-19 01:19:59 +09:00
Michael Goerz
ac6de0a2d9 Install graphiz on Travis
This is required to generate inheritance diagrams (as there is now an
example inheritance diagram in the documentation of the extension
generating such diagrams)
2019-03-19 01:19:37 +09:00
Michael Goerz
4e27cc465a Fix docs of inheritance-diagram "parts" option
The documentation now correctly describes the behavior of the ``parts``
option in an inheritance-diagram directive: it gives the number of parts
that are *kept* not dropped. The option now also accepts negative
values, which drops parts from the left (which is the what the
documentation incorrectly claimed the option would do for positive
values)

As a form of testing of the new functionality, the documentation for the
inheritance_diagram extension now includes a section "Examples" that
demonstrate the different possibilities. This would fail to build
without the patch.

Closes #4872
2019-03-19 01:19:29 +09:00
Takeshi KOMIYA
e6cc18cc59
Merge pull request #6164 from goerz/inheritance_diagram
Fix docs of inheritance-diagram "parts" option
2019-03-19 01:18:07 +09:00
Jon Dufresne
22afc77c48 Python-3-only clean ups discovered by pyupgrade
https://github.com/asottile/pyupgrade

> A tool to automatically upgrade syntax for newer versions of the
> language.

- Drop u str prefix
- Drop base object inheritance
- Drop args to super()
- Use set literals
- Use dict comprehension
- Use set comprehension
2019-03-19 01:09:48 +09:00
Takeshi KOMIYA
c19fbfb333
Merge pull request #6185 from jdufresne/pyupgrade
Python-3-only clean ups discovered by pyupgrade
2019-03-19 01:08:42 +09:00
Jon Dufresne
f210475489 Python-3-only clean ups discovered by pyupgrade
https://github.com/asottile/pyupgrade

> A tool to automatically upgrade syntax for newer versions of the
> language.

- Drop u str prefix
- Drop base object inheritance
- Drop args to super()
- Use set literals
- Use dict comprehension
- Use set comprehension
2019-03-17 12:58:03 -07:00
Takeshi KOMIYA
33ba281e0a
Merge pull request #6177 from tk0miya/6172_AttributeError_for_old_styled_index
Fix #6172: AttributeError is raised for old styled index nodes
2019-03-17 18:41:55 +09:00
Takeshi KOMIYA
42c8fbd6f3
Merge pull request #6161 from tk0miya/refactor_directives
Deprecate imports for compatibility
2019-03-17 18:41:10 +09:00
Takeshi KOMIYA
86d5d2113e Deprecate imports for compatibility 2019-03-17 18:30:50 +09:00
Takeshi KOMIYA
b5959ca230
Add SphinxPostTransform class (#6154)
* Add SphinxPostTransform

* Apply SphinxPostTransform to latex transforms
2019-03-17 18:27:00 +09:00
Takeshi KOMIYA
bee5f45a68 Fix #6172: AttributeError is raised for old styled index nodes 2019-03-17 17:42:47 +09:00
Takeshi KOMIYA
6698bd6b3f Fix #6178: i18n: Captions missing in translations for hidden TOCs 2019-03-17 17:19:33 +09:00
Takeshi KOMIYA
fadab68ffc Update CHANGES for PR #6180 2019-03-17 15:10:07 +09:00
Daniel Hahler
925bc187ea Support --keep-going with BuildDoc setup command (#6180)
* Support --keep-going with BuildDoc setup command

This allows for `tox -e docs -- -n -W --keep-going`.
2019-03-17 15:09:19 +09:00
Takeshi KOMIYA
fdcb8b1f89
Merge pull request #6157 from tk0miya/refactor_io2
refactor: Remove lists of transforms from SphinxStandalonReader
2019-03-17 14:06:42 +09:00
Takeshi KOMIYA
23f7b3a6e7 refactor: Remove lists of transforms from SphinxStandalonReader 2019-03-17 13:55:02 +09:00
Jakob Lykke Andersen
a95af4c195
Merge pull request #6183 from jakobandersen/cpp_init
C++, fix parsing of initializers
2019-03-16 18:35:19 +01:00
Jakob Lykke Andersen
ceb72a78b8 C++, fix parsing of initializers
Specifically, add parsing of braced-init-list.

See also michaeljones/breathe#425
2019-03-16 18:23:07 +01:00
Takeshi KOMIYA
9b6edde726
Merge pull request #6176 from tk0miya/6174_docstring
docs: drop mention to deprecated method (refs: #6174)
2019-03-15 00:56:41 +09:00
Takeshi KOMIYA
16b1b71a3a docs: drop mention to deprecated method (refs: #6174) 2019-03-14 00:38:54 +09:00
Michael Goerz
19a2314258 Install graphiz on Travis
This is required to generate inheritance diagrams (as there is now an
example inheritance diagram in the documentation of the extension
generating such diagrams)
2019-03-11 14:35:50 -04:00
Takayuki SHIMIZUKAWA
783d077dc8
Merge pull request #6167 from Naereen/patch-3
Fix a typo in issue template: htps:// → https:// default project URL
2019-03-12 00:15:08 +09:00