Commit Graph

16113 Commits

Author SHA1 Message Date
Jakob Lykke Andersen
37f1454ec1 C, C++, improve warnings on duplicates 2020-10-24 12:22:02 +02:00
Takeshi KOMIYA
071b14884c Merge pull request #8303 from larsoner/tuple
TST: Add test
2020-10-24 17:52:22 +09:00
Takeshi KOMIYA
68753b879a Merge pull request #8319 from felixonmars/patch-1
Correct a typo in texinfo.py
2020-10-24 17:48:16 +09:00
Takeshi KOMIYA
6b088344e9 Merge pull request #8327 from tkoyama010/patch-1
🆕 OpenFAST in EXAMPLES
2020-10-24 17:45:58 +09:00
Takeshi KOMIYA
624f693719 Merge pull request #8330 from sphinx-doc/3.2.x_to_3.x
Merge 3.2.x to 3.x
2020-10-24 17:34:11 +09:00
Takeshi KOMIYA
2a77eb07d0 Merge branch '3.x' into 3.2.x_to_3.x 2020-10-24 17:18:12 +09:00
Takeshi KOMIYA
de6c32eee6 Merge pull request #8329 from sphinx-doc/mypy-0.790
Fix mypy violations (with mypy-0.790)
2020-10-24 16:19:43 +09:00
Takeshi KOMIYA
b62f635f42 Disable testing with nightly python temporarily 2020-10-24 16:00:00 +09:00
Takeshi KOMIYA
ccc77b8305 Fix mypy violations (with mypy-0.790) 2020-10-24 14:14:11 +09:00
Jean-François B
569c7b02de Merge branch '3.x' into fix-oneside-latex 2020-10-23 15:16:11 +02:00
Tetsuo Koyama
ed1f26ba47 🆕 OpenFAST in EXAMPLES 2020-10-22 12:11:07 +09:00
Vasista Vovveti
72985c250b Fix broken url not reporting error
Some links are printed as broken but do not error out the build.

This issue appeared when include `tel:` links in our build.
2020-10-20 12:43:10 -05:00
Felix Yan
10335feed7 Correct a typo in texinfo.py 2020-10-18 06:36:11 +08:00
David Foster
9115aa8db0 Prevent arrow key changing page on buttons 2020-10-14 18:00:29 +01:00
Jakob Lykke Andersen
3b1c48f3b6 Merge pull request #8310 from jakobandersen/c_function_param_target
C, fix links to function parameters
2020-10-13 13:14:18 +02:00
Jakob Lykke Andersen
15251574a9 C, fix links to function parameters 2020-10-13 12:42:19 +02:00
François Freitag
55f7919531 Linkcheck: Use Thread daemon argument
Instead of using a separate call.
2020-10-11 11:41:42 +02:00
Eric Larson
d10802fa6a TST: Add test 2020-10-07 14:25:24 -04: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
4f19f400bf refactor: Remove rst_epilog from test-root/conf.py
I found test-root defines rst_epilog in its conf.py.  It causes
side-effects to many test cases in Sphinx's testing because test-root
is widely used.  This removes the configuration from test-root not to
cause side-effects to our testings.

Note: We already have test cases for rst_epilog in test_util_rst.
2020-10-06 01:53:29 +09: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
c82d1c76e1 Merge pull request #8281 from tk0miya/8073_update_directive_example
docs: Fix an example for add_directive()
2020-10-06 00:49:17 +09:00
Takeshi KOMIYA
ca87e47b7d Merge pull request #8280 from tk0miya/refactor_add_source_parser
refactor: Change signature of app.add_source_parser()
2020-10-06 00:48:37 +09:00
Takeshi KOMIYA
dd7c50f366 Merge pull request #8279 from tk0miya/8073_add_docs_for_override_flag
docs: Add documentation for "override" flag of app API
2020-10-06 00:48:10 +09:00
Takeshi KOMIYA
408ebe4105 Merge pull request #8278 from tk0miya/8255_hexadecimal_default_value
Fix #8255: py domain: number in defarg is changed to decimal
2020-10-06 00:47:22 +09:00
Takeshi KOMIYA
2371be5376 Merge pull request #8288 from francoisfreitag/outdated_comment
Outdated comment in docs config for intersphinx
2020-10-05 23:14:55 +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
François Freitag
bd49c3c2ef Outdated comment in docs config for intersphinx
Intersphinx is in use since 6a396c7eb8.
2020-10-05 08:34:26 +02: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
0b32e72635 pycode: ast.unparse() construct number literals using source code
Developers can write number literals in several ways. For example,
decimal (1234), hexadecimal (0x1234), octal decimal (0o1234) and so on.
But, AST module don't mind how the numbers written in the code. As a
result, ast.unparse() could not reproduce the original form of number
literals.

This allows to construct number literals as possible using original
source code.

Note: This is only available in Python 3.8+.
2020-10-05 01:08:14 +09:00
Takeshi KOMIYA
a8abb9995f Merge pull request #8274 from tk0miya/8200_typealias_break_type_annotation
Fix #8200: autodoc: type aliases break type formatting
2020-10-04 23:44:08 +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
837a4d1173 Merge pull request #8245 from mgeier/linkcheck-sourcedir
linkcheck: take source directory into account for local files
2020-10-04 17:17:33 +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
Matthias Geier
6b3d445879 Pass docname instead of srcdir 2020-10-04 10:02:57 +02: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
7b395f6b25 docs: Fix an example for add_directive() 2020-10-04 14:22:02 +09:00
Takeshi KOMIYA
129e09c6e3 refactor: Change signature of app.add_source_parser()
To make compatible with old versions, app.add_source_parser() have taken
two types of arguments.  But the compatibility was no longer needed
since 3.0.  So it would be better to use clearer signature.
2020-10-04 14:15:43 +09:00
Takeshi KOMIYA
7f7a207626 docs: Add documentation for "override" flag of app API 2020-10-04 14:13:03 +09:00
Takeshi KOMIYA
b4add96a53 Merge pull request #8266 from tk0miya/deprecate_singledispatchfunctiondocumenter
autodoc: deprecate SingledispatchFunctionDocumenter
2020-10-04 14:11:25 +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
795747bdb6 Merge pull request #8265 from tk0miya/7964_tuple_in_signature
Fix #7964: autodoc: Tuple in default value is wrongly rendered
2020-10-04 12:06:45 +09:00