Commit Graph

13627 Commits

Author SHA1 Message Date
Takeshi KOMIYA
e8925e78ca Merge branch '2.0' 2019-10-06 18:41:32 +09:00
Takeshi KOMIYA
73a93f897e Merge branch '2.2.1' into 2.0 2019-10-06 18:40:36 +09:00
Takeshi KOMIYA
94a097999c
Merge pull request #6716 from sphinx-doc/mypy-0.730
Fix mypy violations (for mypy-0.730)
2019-10-06 18:39:35 +09:00
Takeshi KOMIYA
af09cd0e35 Fix mypy violations (for mypy-0.730) 2019-10-06 18:21:27 +09:00
jfbu
e8963e84ed Merge branch '2.2.1' into 2.0
Resolved Conflicts:
	CHANGES
	sphinx/__init__.py
	sphinx/texinputs/sphinx.sty
2019-09-14 15:25:44 +02:00
Jean-François B
59890a3b6d
Merge pull request #6683 from jfbu/latex_6641
Fix #6641: Undefined control sequence \sphinxmaketitle
2019-09-14 15:17:10 +02:00
Jean-François B
e944a55517
Merge pull request #6681 from jfbu/latex_6668
Fix #6668: LaTeX: Longtable before header has incorrect distance
2019-09-06 10:05:48 +02:00
Jean-François B
d51142bdf0
Merge branch '2.0' into latex_6668 2019-09-06 09:58:59 +02:00
jfbu
fcba6b68fc Update CHANGES for PR #6633 2019-09-05 09:26:05 +02:00
Jean-François B
53bbc27f1f
Merge pull request #6633 from sebhub/fix-6618
LaTeX: Avoid section titles at the end of a page
2019-09-05 09:23:11 +02:00
Sebastian Huber
d83090c420 LaTeX: Avoid section titles at the end of a page
The topic directive uses in LaTeX rendering a framed box which
encourages a pagebreak before it even if the element is a section title.
This can be avoided with the nobottomtitles option of the titlesec
package.

Fixes: #6618
2019-09-05 09:14:53 +02:00
jfbu
00efa53dec Update CHANGES for PR #6189 2019-09-05 09:03:52 +02:00
Jean-François B
1174309478
Merge pull request #6189 from jfbu/latex_stop_using_extractbb
LaTeX: stop using extractbb for image inclusion in Japanese documents
2019-09-05 08:51:34 +02:00
jfbu
d95f6d103c Fix mark-up in CHANGES 2019-09-03 17:04:18 +02:00
jfbu
37cb8ba147 Fix #6641: Undefined control sequence \sphinxmaketitle 2019-09-02 21:53:47 +02:00
jfbu
655e949b3a Fix #6668: LaTeX: Longtable before header has incorrect distance 2019-09-01 22:58:14 +02: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
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