Commit Graph

12964 Commits

Author SHA1 Message Date
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
Lilian Besson
e5a0e2ce05
htps:// → https:// default project URL 2019-03-11 15:33:08 +01:00
Michael Goerz
1f136215c1 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-10 18:37:05 -04:00
Takeshi KOMIYA
a0b9d3c7fb
Merge pull request #6162 from tk0miya/add_long_description_content_type
Add long description content type
2019-03-10 19:07:41 +09:00
Takeshi KOMIYA
6d02bdda13 Do "twine check" before uploading package 2019-03-10 18:58:02 +09:00
Takeshi KOMIYA
ab95fa5ded Add long_description_content_type to package metadata 2019-03-10 18:57:50 +09:00
Takeshi KOMIYA
332dd5d89f Merge branch '2.0' 2019-03-10 17:46:12 +09:00
Takeshi KOMIYA
1aba35f445
Merge pull request #6158 from tk0miya/refactor_citation_ref
refactor CitationReferences transform
2019-03-10 17:45:06 +09:00
Takeshi KOMIYA
db23555f7d
Merge pull request #6160 from tk0miya/adjust
pretty changes for 2.0
2019-03-10 17:34:43 +09:00
Takeshi KOMIYA
ef2d16d68a refactor: Use py3 style super() 2019-03-10 17:07:58 +09:00
Takeshi KOMIYA
b691fa804d Fix test: filename has been smallcased since 2.0 2019-03-10 17:07:15 +09:00
Takeshi KOMIYA
4bac6b56d0 Merge branch '1.8' into 2.0 2019-03-10 16:52:51 +09:00
Takeshi KOMIYA
6ef08a42df Bump version 2019-03-10 16:50:39 +09:00
Takeshi KOMIYA
591bdd74c0 Bump to 1.8.5 final 2019-03-10 16:48:42 +09:00
Takeshi KOMIYA
f44aa23761
Merge pull request #6159 from tk0miya/3859_code-block_captions_for_manpage
Fix #3859: manpage: code-block captions are not displayed correctly
2019-03-10 15:24:34 +09:00
Takeshi KOMIYA
fc99687105 Fix #3859: manpage: code-block captions are not displayed correctly 2019-03-10 12:40:55 +09:00
Takeshi KOMIYA
a37e508b3f Merge branch '2.0' 2019-03-10 12:23:15 +09:00
Takeshi KOMIYA
63c05f2b6d
Merge pull request #6132 from tk0miya/2155_code_directive
Closes #2155: Support ``code`` directive
2019-03-10 12:22:47 +09:00
Takeshi KOMIYA
cf74a71848
Merge branch '2.0' into 2155_code_directive 2019-03-10 12:05:26 +09:00