Commit Graph

13913 Commits

Author SHA1 Message Date
Takeshi KOMIYA
f078d82647 Migrate to py3 style type annotation: sphinx.transforms.post_transforms 2019-08-21 01:25:45 +09:00
Takeshi KOMIYA
1dbd8802f1 Migrate to py3 style type annotation: sphinx.transforms.references 2019-08-21 01:25:44 +09:00
Takeshi KOMIYA
351644024c Migrate to py3 style type annotation: sphinx.transforms.i18n 2019-08-21 01:25:44 +09:00
Takeshi KOMIYA
561c785370 Migrate to py3 style type annotation: sphinx.transforms.compact_bullet_list 2019-08-21 01:25:44 +09:00
Takeshi KOMIYA
9a72c800f6 Migrate to py3 style type annotation: sphinx.transforms 2019-08-21 01:25:44 +09:00
Takeshi KOMIYA
5da1e25a39
Merge pull request #6309 from tk0miya/refactor_io
refactor: SphinxStandaloneReader should not hold an application object
2019-08-20 23:50:46 +09:00
Takeshi KOMIYA
eae7caa5ab Fix #6655: image URLs containing data: causes gettext builder crashed 2019-08-20 23:49:31 +09:00
Takeshi KOMIYA
21cd1c2ef5 refactor: SphinxStandaloneReader should not hold an application object 2019-08-20 21:45:50 +09:00
Takeshi KOMIYA
8912ee0af0 Bump version 2019-08-19 00:44:17 +09:00
Takeshi KOMIYA
63757596b1 Bump version 2019-08-19 00:35:51 +09:00
Takeshi KOMIYA
bea7b5d477 Bump to 2.2.0 final 2019-08-19 00:33:00 +09:00
Takeshi KOMIYA
2e9f66b22f Update CHANGES for PR #6625 2019-08-19 00:22:52 +09:00
Takeshi KOMIYA
0df7ab0d22
Merge pull request #6625 from jakobandersen/6604_field_list_rendering
Fix field lists after switch to HTML5 writer
2019-08-19 00:18:04 +09:00
Takeshi KOMIYA
4ab751c807
Merge pull request #6657 from tk0miya/6605_crash_with_methodlikeobj
Fix #6605: autodoc: crashed when target code contains custom method-like objects
2019-08-19 00:10:12 +09:00
Jakob Lykke Andersen
9dd768863c Fix field lists after switch to HTML5 writer
- classic: Put the pink'ish colour back on the field type part (dt).
- basic: remove top margin on the field data to align with the type.
- basic: use grid display instead of flexbox to avoid fixed width on
  the field type part.

Other themes affected/fixed due to changes in basic:
- bizstyle (only technically, it already was fixed in
  sphinx-doc/sphinx#6262)
- haiku
- classic
- nature
- pyramid
- sphinxdoc

Fixes sphinx-doc/sphinx#6604
2019-08-18 17:01:38 +02:00
Takeshi KOMIYA
65e2fdc191 Fix #6605: autodoc: crashed when target code contains custom method-like objects 2019-08-18 23:59:06 +09:00
Takeshi KOMIYA
4a1df77e33 Update CHANGES for PR #6419 2019-08-18 22:07:10 +09:00
Takeshi KOMIYA
a5d8e3d457
Merge pull request #6419 from larsoner/config
ENH: Explain rebuilds
2019-08-18 22:04:27 +09:00
Takeshi KOMIYA
4e12d4b644
Merge pull request #6653 from jdufresne/importlib
Switch uses of __import__ to importlib.get_module()
2019-08-18 22:03:06 +09:00
Jon Dufresne
ecb1e763ad Switch uses of __import__ to importlib.get_module()
The Python docs for __import__ recommend using importlib.get_module().

https://docs.python.org/3/library/functions.html#__import__

> Note: This is an advanced function that is not needed in everyday
> Python programming, unlike importlib.import_module().

As importlib.get_module() uses the Python module cache and returns the
module, this also allows simplifying many module cache checks of use of
sys.modules.

importlib.get_module() has been available since Python 3.3.
2019-08-17 11:45:39 -07:00
Takeshi KOMIYA
bf573ae145
Merge pull request #6624 from tk0miya/6474_DocFieldTransformer_handles_non_ObjectDescription
Fix #6474: ``DocFieldTransformer`` raises AttributeError
2019-08-18 01:17:37 +09:00
Yves Chevallier
06648a3157
Fix annotations 2019-08-08 09:03:29 +02:00
Eric Larson
c0e46adc07 ENH: Explain rebuilds 2019-08-06 09:59:35 -04:00
Takeshi KOMIYA
bbc11a059f Update CHANGES for PR #6628 2019-08-05 01:22:30 +09:00
Takeshi KOMIYA
a3de59e00f
Merge pull request #6628 from stevepiercy/update-template-links
Update links in quickstart template to save redirects
2019-08-05 01:20:26 +09:00
jfbu
4ae5414ee5 Update our docs for imgmath_latex (refs: #6610) 2019-08-03 12:00:24 +02:00
Takeshi KOMIYA
a01aabe7bd
Merge pull request #6576 from tk0miya/6574_annotation_for_varidic_params
Fix autodoc: missing type annotation for variadic and keyword parameters (refs: #6574)
2019-08-03 02:54:11 +09:00
Steve Piercy
a503ed8b78 Update links in quickstart template to save redirects 2019-08-02 10:27:32 -07:00
Takeshi KOMIYA
b43676011e
Merge branch '2.0' into 6574_annotation_for_varidic_params 2019-08-03 02:19:29 +09:00
Takeshi KOMIYA
04fbd51b4e
Merge pull request #6592 from tk0miya/6589_autodoc_typehints_none
Fix #6589: autodoc: Formatting issues with autodoc_typehints='none'
2019-08-02 22:36:43 +09:00
Takeshi KOMIYA
4571d8b1a1
Merge pull request #6593 from tk0miya/docutils-0.15
Test with docutils-0.14 (previous release)
2019-08-02 10:08:42 +09:00
Takeshi KOMIYA
d2d6cad898
Merge pull request #6609 from tk0miya/6606_jquery-3.4.1
Fix #6606: Update jQuery to 3.4.1
2019-08-02 10:07:27 +09:00
Takeshi KOMIYA
ec71c4d14a Fix #6474: `DocFieldTransformer` raises AttributeError 2019-08-02 02:07:40 +09:00
Takeshi KOMIYA
ace7b4ded7 Fix #6589: autodoc: Formatting issues with autodoc_typehints='none' 2019-08-02 01:55:53 +09:00
Takeshi KOMIYA
81736cc828 Test with docutils-0.14 (previous release) 2019-08-02 01:53:41 +09:00
Takeshi KOMIYA
d9d8ba5e7f Fix #6606: Update jQuery to 3.4.1 2019-08-02 01:53:32 +09:00
jfbu
4732ec5edf Fix type annotation 2019-08-01 18:30:15 +02:00
Takeshi KOMIYA
b3eb853680
Merge branch '2.0' into 6574_annotation_for_varidic_params 2019-08-02 01:29:39 +09:00
Takeshi KOMIYA
51523a7c07
Merge pull request #6578 from tk0miya/6574_autodoc_member_order_for_imports
Fix autodoc: autodoc_member_order_does not refer order of imports (refs: #6574)
2019-08-02 01:27:48 +09:00
jfbu
7c59e44eaa Fix version changed info in our document for imgmath 2019-08-01 18:24:28 +02:00
Yves Chevallier
9827851507 Wrap <span> around sectnum in HTML titles 2019-08-01 18:19:24 +02:00
Yves Chevallier
de38f0ad5d Add get_secnumber to simplify add_secnumber 2019-08-01 18:19:17 +02:00
jfbu
365574f052 Fix error in cherry-picking #6310 to 2.0 2019-08-01 18:05:57 +02:00
jfbu
763908c75a Update CHANGES for cherry-picked #6310 2019-08-01 17:52:28 +02:00
jfbu
bfe921b3b2 Add Python3 type annotation to cherry-picked #6310 for 2.2.0 release 2019-08-01 17:52:28 +02:00
jfbu
da3763170e Reorganize documentation of the imgmath configuration variables 2019-08-01 17:52:28 +02:00
jfbu
505ff622c2 More robust code for getting saved "depth" of svg inline math snippet 2019-08-01 17:52:28 +02:00
jfbu
1adf12bfa7 Make imgmath_use_preview work also for svg output 2019-08-01 17:52:28 +02:00
Takeshi KOMIYA
f050092f42
Merge pull request #6621 from sphinx-doc/6620_classifiers_not_translated
Fix #6620: i18n: classifiers of definition list are not translated with docutils-0.15
2019-08-02 00:42:10 +09:00
Takeshi KOMIYA
c45f962b05 Fix #6620: i18n: classifiers of definition list are not translated with docutils-0.15 2019-08-02 00:27:24 +09:00