Commit Graph

4671 Commits

Author SHA1 Message Date
Takeshi KOMIYA
27b1a693d0 Update CHANGES for PR #8183 2020-11-01 12:28:04 +09:00
Takeshi KOMIYA
73f538da0f Update CHANGES for PR #8050 2020-10-30 02:00:53 +09:00
Takeshi KOMIYA
751b7a0251 Update CHANGES for PR #8051 2020-10-30 00:50:55 +09:00
Takeshi KOMIYA
871f43f778 Merge branch '3.x' into 7785_autodoc_typehints_none_for_overloads 2020-10-28 02:13:49 +09:00
Takeshi KOMIYA
2c2335bbb8 Update CHANGES for PR #8304 2020-10-28 00:04:10 +09:00
Takeshi KOMIYA
9fc5c37817 Update CHANGES for PR #8316 2020-10-28 00:02:14 +09:00
Takeshi KOMIYA
0ddfb16666 Update CHANGES for PR #8333 2020-10-28 00:01:45 +09:00
Takeshi KOMIYA
ca579303e7 Merge pull request #8340 from tk0miya/8298_quickstart_no-sep_option
Fix #8298: sphinx-quickstart: Add `sphinx-quickstart --no-sep` option
2020-10-27 23:55:40 +09:00
Takeshi KOMIYA
d17563987a Update CHANGES for PR #8343 2020-10-27 23:55:12 +09:00
Takeshi KOMIYA
b453be75c9 Fix #8298: sphinx-quickstart: Add :option:sphinx-quickstart --no-sep option 2020-10-26 01:12:36 +09:00
Takeshi KOMIYA
f2a31185a6 Update CHANGES for PR #8216 2020-10-26 00:59:25 +09:00
Takeshi KOMIYA
ae2e48de15 Merge pull request #8216 from glikely/fix-oneside-latex
Fix 'oneside' latex build warnings
2020-10-26 00:58:18 +09:00
Takeshi KOMIYA
ad7c09ef10 Update CHANGES for PR #8338 2020-10-25 18:59:33 +09:00
Takeshi KOMIYA
746842f4fc Update CHANGES for PR #8323 2020-10-25 18:52:45 +09:00
Takeshi KOMIYA
eb3d9355f5 Merge pull request #8332 from sphinx-doc/8321_linkcheck_tel_links
Fix #8321: linkcheck: ``tel:`` schema hyperlinks are detected as errors
2020-10-25 18:48:50 +09:00
Matthias Geier
38a6838119 Add CHANGES for #8320 2020-10-24 15:12:58 +02:00
Takeshi KOMIYA
cc97a07640 Fix #7785: autodoc_typehints=none does not effect to overloads 2020-10-24 20:54:56 +09:00
Takeshi KOMIYA
3b85187ffa Merge pull request #8289 from graingert/allow-to-suppress-duplicated-toc
Allow to suppress "duplicated toc entry" warnings from epub builder
2020-10-24 20:29:06 +09:00
Takeshi KOMIYA
3171a44032 Fix #8321: linkcheck: `tel:` schema hyperlinks are detected as errors 2020-10-24 20:11:23 +09:00
Takeshi KOMIYA
2a77eb07d0 Merge branch '3.x' into 3.2.x_to_3.x 2020-10-24 17:18:12 +09:00
Jean-François B
569c7b02de Merge branch '3.x' into fix-oneside-latex 2020-10-23 15:16:11 +02:00
Jakob Lykke Andersen
15251574a9 C, fix links to function parameters 2020-10-13 12:42:19 +02:00
Thomas Grainger
529d19ff81 wrap CHANGES at 85 cols 2020-10-05 22:12:34 +01:00
Thomas Grainger
3f26564c28 Apply suggestions from code review 2020-10-05 22:10:25 +01:00
Takeshi KOMIYA
0476e1cea9 Merge pull request #8283 from tk0miya/7786_overloads_in_other_file
Fix #7786: autodoc: can't detect overloaded methods defined in other file
2020-10-06 01:33:22 +09:00
Takeshi KOMIYA
6dbe28a632 Fix #7786: autodoc: can't detect overloaded methods defined in other file 2020-10-05 22:49:05 +09:00
Thomas Grainger
3eecf133d8 Fix #8289: Allow to suppress "duplicated ToC entry found" warnings from epub builder 2020-10-05 09:29:16 +01:00
Takeshi KOMIYA
cc941db40b Fix #8255: py domain: number in defarg is changed to decimal
Number literals in default argument value is converted to decimal form
unexpectedly by AST module.  This fixes the signature parsing code to
recosntruct it correctly.

Note: This is only available in Python 3.8+.
2020-10-05 01:08:14 +09:00
Takeshi KOMIYA
d8cdad919b Merge branch '3.x' into 8200_typealias_break_type_annotation 2020-10-04 22:55:42 +09:00
Takeshi KOMIYA
38bb377464 Merge pull request #8273 from sphinx-doc/7996_man_make_section_directory
Close #7996: manpage: Add man_make_section_directory
2020-10-04 22:40:41 +09:00
Takeshi KOMIYA
f2d8093632 Merge pull request #7978 from tk0miya/7973_imgconverter_warnings
Fix #7973: imgconverter: Check availability of imagemagick many times
2020-10-04 17:27:07 +09:00
Takeshi KOMIYA
941c9ba23d Update CHANGES for PR #8245 2020-10-04 17:18:38 +09:00
Takeshi KOMIYA
45717977ac Fix #7973: imgconverter: Check availability of imagemagick only once
To prevent checking the availability of image converters times and times
again, this stores the result to the class variable.  It is not a good
design to have a state globally.  So this should be refactored in the
future.
2020-10-04 17:16:18 +09:00
Takeshi KOMIYA
0f6522e5d1 Merge pull request #8076 from tk0miya/6914_wrong_numfig
Fix #6914: figure numbers are unexpectedly assigned to uncaptioned items
2020-10-04 15:52:13 +09:00
Takeshi KOMIYA
66dda1fc50 Fix #6914: figure numbers are unexpectedly assigned to uncaptioned items
The figure numbers should be assigned to items only having captions or
titles.  This uses `get_numfig_title()` to ensures it on assign numbers.
2020-10-04 14:32:56 +09:00
Takeshi KOMIYA
2d37ba4419 autodoc: deprecate SingledispatchFunctionDocumenter
In #7487, SingledispatchFunctionDocumenter is merged into
FunctionDocumenter.  SingledispatchMethodDocumenter is also.  As a result,
They are no longer needed.  So this deprecates them.
2020-10-04 13:50:10 +09:00
Takeshi KOMIYA
d8cb7aa4f6 Merge pull request #8120 from tk0miya/6640_allow_to_override_system_message
Fix #6640: i18n: Failed to override system message translation
2020-10-04 13:48:04 +09:00
Takeshi KOMIYA
37235c71e0 Fix #6640: i18n: Failed to override system message translation
Our document describes that users can override system messages via
their own message catalog named `sphinx.mo` under the locale_dirs.
But it has not been used since its beginning of i18n mechanism because
the priority of users' message catalog is lower than system's.

This makes the priority of users' message catalog higher than system's.
2020-10-04 13:31:37 +09:00
Takeshi KOMIYA
3096b71c1c Merge branch '3.x' into 7964_tuple_in_signature 2020-10-04 11:53:41 +09:00
Takeshi KOMIYA
9a0a0f9ae1 Fix #8157: autodoc: TypeError is raised when annotation has invalid __args__
Typically, the __args__ attribute of type annotations is a tuple
containing arguments for the types (ex. The __args__ of `List[int]` is
`(int,)`).  But some kind of types has non tuple __args__ attribute.
For example, `nptyping.NDArray` is one of them.

This fixes the TypeError when the invalid __args__ attribute found.
2020-10-04 11:43:57 +09:00
Takeshi KOMIYA
d1f8dddeff Update CHANGES for PR #8277 2020-10-04 10:15:38 +09:00
Jakob Lykke Andersen
777bcb43fa C++, properly reject functions as duplicates
Fixes sphinx-doc/sphinx#8270
2020-10-03 16:00:28 +02:00
Takeshi KOMIYA
a555e3db8a Fix #8200: autodoc: type aliases break type formatting
The annotation option is shared between auto directives unexpectedly.
It causes supression of type annotations for objects after
GenericAlias definition.
2020-10-03 22:35:35 +09:00
Takeshi KOMIYA
178c05b059 Close #7996: manpage: Add man_make_section_directory
Add a new config variable; man_make_section_directory to make a
section directory on build man page.  During 3.x, it defaults to
False and will be changed to True on 4.0 release.
2020-10-03 22:30:20 +09:00
Takeshi KOMIYA
88b81a06eb Merge pull request #8272 from francoisfreitag/strip_whitespaces
Strip trailing whitespaces and normalize line endings
2020-10-03 21:42:53 +09:00
François Freitag
5ea8ee133d Fix #8268: make linkcheck report HTTP errors 2020-10-03 14:33:29 +02:00
François Freitag
5166dd194c Strip trailing whitespaces and normalize line endings
Trailing whitespace do not have impact on the result, they are just
unused bytes. Most text editors are configured to strip trailing
whitespaces. Remove them all in one go.

Update a handful of files to use the UNIX line ending.
2020-10-03 13:47:01 +02:00
Takeshi KOMIYA
785f4d695c Fix #7964: autodoc: Tuple in default value is wrongly rendered
This implements tuple literal support to sphinx.pycode.ast.unparse().
2020-10-03 12:01:20 +09:00
Takeshi KOMIYA
1ff1f3cf5b Update CHANGES for PR #8142 2020-10-03 01:25:50 +09:00
Takeshi KOMIYA
bbf0754db1 Update CHANGES for PR #8257 2020-10-02 01:17:43 +09:00