Commit Graph

13100 Commits

Author SHA1 Message Date
Takeshi KOMIYA
87c6335b46 Move transforms for citations to sphinx.domains.citation 2019-03-30 20:31:10 +09:00
Takeshi KOMIYA
cbefc01b73
Merge pull request #6224 from tk0miya/deprecation
Show deprecation warnings
2019-03-30 19:18:16 +09:00
Takeshi KOMIYA
d279f58845 Show deprecation warning for viewcode_import 2019-03-30 14:48:05 +09:00
Takeshi KOMIYA
bd903c8904 Show deprecation warning for sphinx.application.CONFIG_FILENAME 2019-03-30 14:48:05 +09:00
Takeshi KOMIYA
a99d749c56
Merge pull request #6206 from tk0miya/refactor_glossary2
Refactoring glossary directive
2019-03-30 00:54:23 +09:00
Takeshi KOMIYA
a6ef53083c
Merge pull request #6215 from rkdarst/mathjax-doc-clarification
Clarify MathJax extension usage
2019-03-30 00:52:39 +09:00
Richard Darst
277588f2f9 Clarify MathJax extension usage: edits from review 2019-03-29 16:40:18 +02:00
Takeshi KOMIYA
1499a97c28 Merge branch '2.0' 2019-03-29 12:12:58 +09:00
Takeshi KOMIYA
765a92b99b
Merge pull request #6218 from tk0miya/latex_not_translated
LaTeX: some system labels are not translated
2019-03-29 09:54:01 +09:00
Takeshi KOMIYA
b3d3aad557 Update message catalogs 2019-03-29 01:15:18 +09:00
Takeshi KOMIYA
b2a8ffc767 Fix i18n: messages on sphinxmessages.sty_t are not extracted 2019-03-29 01:08:23 +09:00
Takeshi KOMIYA
e008da9926 Merge branch '2.0' 2019-03-29 00:30:09 +09:00
Takeshi KOMIYA
4cfcef6513 Bump version 2019-03-29 00:22:15 +09:00
Takeshi KOMIYA
3711c47985 Bump to 2.0.0 final 2019-03-29 00:19:17 +09:00
Takeshi KOMIYA
e02af7f960 Update message catalogs 2019-03-29 00:17:45 +09:00
Takeshi KOMIYA
60e2e89427 Merge CHANGES entries 2019-03-29 00:09:00 +09:00
Richard Darst
dd0246c6dc Clarify MathJax extension usage
- We recently hit an issue where we expected the MathJax extension to
  work with the default MathJax markup.  Obviously that shouldn't be
  the case (since then other formats couldn't use the math), but it
  can't hurt to include a hint.
- Link from the math HTML extension page to the relevant
  roles/directives.
- Also make it explicit that MathJax has a default, and that it's an
  external resource that will be dynamically linked.
2019-03-27 18:10:09 +02:00
tsanikgr
bec116a3b6 #5877: Allow setting imported_members for autosummary in conf.py 2019-03-27 14:19:16 +00:00
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