Commit Graph

13797 Commits

Author SHA1 Message Date
Takeshi KOMIYA
fc6f8fac83 Close #6712: Allow not to install sphinx.testing as runtime (for ALT Linux)
To follow ALT Linux's policy, this enables to work Sphinx without
sphinx.testing package.
2019-10-13 02:02:55 +09:00
Takeshi KOMIYA
2d609ddf58 Update CHANGES for PR #6684 2019-10-13 00:00:53 +09:00
Tetsuo Koyama
9882cf3fe6 fixed issue #6584 2019-10-12 23:59:36 +09:00
Takeshi KOMIYA
ea873d627a
Merge pull request #6663 from tk0miya/6652_wrong_latex_documents_on_testing
Fix #6652: Run tests with wrong latex_documents setting
2019-10-12 23:26:36 +09:00
Takeshi KOMIYA
e71626e7e5
Merge pull request #6662 from tk0miya/6655_data_URL_causes_crash
Fix #6655: image URLs containing data: causes gettext builder crashed
2019-10-12 23:26:10 +09:00
Takeshi KOMIYA
f68853d25b
Merge branch '2.0' into 6655_data_URL_causes_crash 2019-10-12 22:49:01 +09:00
Takeshi KOMIYA
a750371641 Fix #6652: Run tests with wrong latex_documents setting 2019-10-12 22:46:45 +09:00
Takeshi KOMIYA
804e1c919e
Merge pull request #6664 from tk0miya/refactor_type_annotation_transforms
Migrate to py3 style type annotation: sphinx.transforms
2019-10-12 22:33:35 +09:00
Takeshi KOMIYA
6b9e0cbd70 Close #267: html: Eliminate prompt characters of doctest block from copyable text 2019-10-10 22:42:17 +09:00
Jean-François B
d000de6e99
Merge pull request #6711 from jfbu/latex_greekfix
Add latexpdf support for Greek as main language (via xelatex use)
2019-10-08 14:20:01 +02:00
Takeshi KOMIYA
d6334e74c8 Update CHANGES for PR #6704 2019-10-08 01:49:11 +09:00
Sebastien Besson
a2bc070533 Be defensive and handle newly defined HTTP error code
This commit implements a change to the linkcheck builder to handle undefined
HTTP error code such as https://tools.ietf.org/html/rfc7538.
At the moment, Sphinx will fail with an internal error. With this change,
a non-registered HTTP error code will be treated in the same way as error
code 0 i.e. unknown code.
2019-10-08 01:49:11 +09:00
jfbu
6a1ea849c2 Remove superfluous `or ''` from a conditional 2019-10-06 21:18:38 +02:00
jfbu
7a7cb6d418 Merge branch '2.2.1' into latex_greekfix 2019-10-06 21:15:50 +02:00
Takeshi KOMIYA
59336da8bd Fix #6709: autodoc: mock object does not work as a class decorator 2019-10-06 23:31:07 +09:00
Jakob Lykke Andersen
3dcd0e9b5b
Merge pull request #6717 from jakobandersen/cpp_bitfields
C++, support bit-fields
2019-10-06 13:30:33 +02: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
Jakob Lykke Andersen
9671267009 C++, support bit-fields
Fixes sphinx-doc/sphinx#6707
2019-10-06 11:23:47 +02:00
Takeshi KOMIYA
af09cd0e35 Fix mypy violations (for mypy-0.730) 2019-10-06 18:21:27 +09:00
jfbu
7be68b7c4b Add latexpdf support for Greek as main language (via xelatex use)
Closes: #6710
2019-10-01 10:27:43 +02: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
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
823a947bbf Migrate to py3 style type annotation: sphinx.transforms.post_transforms.images 2019-08-21 01:25:45 +09:00
Takeshi KOMIYA
02c2c5076b Migrate to py3 style type annotation: sphinx.transforms.post_transforms.compat 2019-08-21 01:25:45 +09:00
Takeshi KOMIYA
e505b812a2 Migrate to py3 style type annotation: sphinx.transforms.post_transforms.code 2019-08-21 01:25:45 +09:00
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