Commit Graph

13767 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
3261b87cf5 Remove merge marker from CHANGES 2019-08-20 23:06:25 +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
01f8dad160 Merge branch '2.0' 2019-08-19 00:37:30 +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
Takeshi KOMIYA
632889a4ef
Merge pull request #6654 from jdufresne/str-bytes
Correct str/bytes mixup in utils/jssplitter_generator.py
2019-08-18 21:51:11 +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
Jon Dufresne
de21c2bf10 Correct str/bytes mixup in utils/jssplitter_generator.py
The file is opened in text mode, so it .wraite() takes str not bytes.
2019-08-17 09:42:16 -07:00
Takeshi KOMIYA
86e0dd9a0a
Merge pull request #6646 from jdufresne/context
Use Pillow's Image context manager to close image file
2019-08-18 01:20:16 +09: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
Takeshi KOMIYA
04a3b89200
Merge pull request #6645 from jdufresne/2to3
Remove obsolete comment and workaround for 2to3
2019-08-18 01:16:03 +09:00
Takeshi KOMIYA
0d0f2234a4
Merge pull request #6647 from jdufresne/comment
Fix inaccurate docstring for TokenProcessor.fetch_token()
2019-08-18 01:15:20 +09:00
Takeshi KOMIYA
d58ec72dd2
Merge pull request #6648 from jdufresne/pyver
Specify the target Python version in the mypy configuration
2019-08-18 01:14:48 +09:00
Takeshi KOMIYA
22ccfc38f0
Merge pull request #6649 from PYGC/patch-1
Update configuration.rst
2019-08-18 01:13:40 +09:00
Jon Dufresne
acb2eadc8e Specify the target Python version in the mypy configuration
Currently targets Python 3.5.

This caught a bug. The subprocess.run() function only started taking the
'encoding' keyword argument starting with Python 3.6.
2019-08-16 12:08:28 -07:00
ExplorerLog
edff2824e9
Update configuration.rst
Add a comma
2019-08-16 16:29:29 +08:00
Jon Dufresne
ad63eb4ac8 Fix inaccurate docstring for TokenProcessor.fetch_token() 2019-08-15 20:30:22 -07:00
Jon Dufresne
8f30ec9407 Use Pillow's Image context manager to close image file 2019-08-15 19:53:00 -07:00
Jon Dufresne
8081a09ca6 Remove obsolete comment and workaround for 2to3
Sphinx's use of 2to3 was removed in
956d6286bf.
2019-08-15 19:23:17 -07: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
47cd262b3e Merge branch '2.0' 2019-08-01 18:30:48 +02:00