Takeshi KOMIYA
5e8f814e81
Merge branch '3.x'
2021-03-20 23:25:57 +09:00
Takeshi KOMIYA
14ff1bcf72
Bump version
2021-03-20 23:07:26 +09:00
Takeshi KOMIYA
1aca32cfd1
Bump to 3.5.3 final
2021-03-20 23:03:15 +09:00
Takeshi KOMIYA
a19250b46e
Fix #8959 : using UNIX path separator confuses Sphinx on Windows
...
The first element of env.relfn2path() should be a POSIX path, not a OS
dependent path.
2021-03-20 01:32:47 +09:00
Takeshi KOMIYA
8c7e779731
Fix #8992 : autodoc: Failed to resolve types.TracebackType type annotation
...
The builtin module, ``types.TracebackType`` does not have correct module
name. This allows to refer it automatically.
2021-03-17 23:37:43 +09:00
Takeshi KOMIYA
3937ea816f
Fix #9009 : LaTeX: "release" value with underscore leads to invalid LaTeX
...
The "release" variable is not escaped on the LaTeX output.
2021-03-17 01:24:03 +09:00
Takeshi KOMIYA
f8e7ecf10b
Merge pull request #8983 from tk0miya/7523_autodoc_property
...
Fix #7383 : autodoc: Support typehints for properties
2021-03-15 13:04:01 +09:00
Takeshi KOMIYA
e03d0aeba0
Merge pull request #8991 from tk0miya/typing_OptionSpec
...
refactor: Add a type alias for the option_spec of directives; OptionSpec
2021-03-15 13:03:15 +09:00
Jean-François B
2934aac441
Merge pull request #8997 from jfbu/latex_pysigline
...
LaTeX: improve behavious of `\pysigline` and `\pysiglinewithargsret` in case of multi-line signature
2021-03-14 21:35:17 +01:00
Jakob Lykke Andersen
c89bda11d1
Merge pull request #8999 from jakobandersen/c_cpp_render_fixes
...
C, C++ render fixes
2021-03-14 10:45:12 +01:00
Jakob Lykke Andersen
dfc759e039
Missing CHANGES item
2021-03-14 10:29:06 +01:00
Jakob Lykke Andersen
58b6b45993
C, fix linking of names in array declarators
2021-03-14 10:25:29 +01:00
Jakob Lykke Andersen
57220411da
C++, fix linking in some declarators
2021-03-14 10:11:03 +01:00
jfbu
9a4b4b5934
Update CHANGES
2021-03-13 16:57:06 +01:00
Takeshi KOMIYA
75f5122996
Fix #7383 : autodoc: Support typehints for properties
...
py:property directive now outputs py:property directive to describe
its type annotation.
2021-03-13 22:51:46 +09:00
Takeshi KOMIYA
17bb78997c
Merge pull request #7298 from tk0miya/7068_pyproperty_directive
...
py domain: Add py:property directive to describe a property (refs: #7068 )
2021-03-13 21:22:29 +09:00
Takeshi KOMIYA
a523a89663
refactor: Add a type alias for the option_spec of directives; OptionSpec
2021-03-13 17:15:12 +09:00
Jean-François B
ebce50dfed
Merge branch 'master' into pdf_bookmarksdepth
2021-03-12 21:59:04 +01:00
Jean-François B
1a62d89276
Merge branch 'master' into pdf_bookmarksdepth
2021-03-12 21:57:45 +01:00
Jean-François B
4c8418b58c
Merge branch 'master' into latex_better_fix_pygments
2021-03-12 21:48:34 +01:00
Takeshi KOMIYA
204f86f736
py domain: Add py:property directive to describe a property (refs: #7068 )
2021-03-11 01:56:39 +09:00
Takeshi KOMIYA
54886fd256
Close #7549 : autosummary: Enable autosummary_generate by default
2021-03-10 01:35:49 +09:00
Takeshi KOMIYA
fb4220d0a2
Close #8487 : csv-table now considers abspath as relpath from srcdir
...
To make directives' behavior consistent, the :file: option for
csv-table directive now recognizes an absolute path as a relative
path from source directory.
2021-03-09 01:07:19 +09:00
Takeshi KOMIYA
15c4af75b5
Merge branch '3.x'
2021-03-06 21:04:57 +09:00
Takeshi KOMIYA
4f8cb861e3
Bump version
2021-03-06 21:03:43 +09:00
Takeshi KOMIYA
a969e90f28
Bump to 3.5.2 final
2021-03-06 20:59:53 +09:00
Takeshi KOMIYA
1ea11b1e48
Fix #759 : autodoc: Add sphinx.ext.autodoc.preserve_defaults extension
...
Add a new extension `sphinx.ext.autodoc.preserve_defaults`.
It preserves the default argument values of function signatures in source code
and keep them not evaluated for readability. This is an experimental
extension and it will be integrated into autodoc core in Sphinx-4.0.
2021-03-06 18:48:18 +09:00
Takeshi KOMIYA
647510e184
Merge branch '3.x'
2021-03-06 18:43:15 +09:00
Takeshi KOMIYA
3cd103095f
Merge branch '3.5.x' into 8943_update_translations
2021-03-06 17:48:11 +09:00
Takeshi KOMIYA
0a3f897d15
Merge pull request #8432 from tk0miya/7119_pending_xref_condition
...
Fix #7119 : Show type hint names unqualified when resolving succeeded
2021-03-06 17:32:27 +09:00
Takeshi KOMIYA
866e244770
Merge branch '3.5.x' into 8936_custom_latex_builder
2021-03-06 17:31:06 +09:00
Takeshi KOMIYA
930a880294
Fix #7199 : py domain: Add a new confval: python_use_unqualified_type_names
...
Add a new config variable: python_use_unqualified_type_names. If enabled,
it goes to suppress the module name of the python reference if it can be
resolved.
2021-03-06 14:00:00 +09:00
Jakob Lykke Andersen
6886de29f2
Merge pull request #8961 from jakobandersen/c_cpp_nested_params
...
C and C++, fix nested params
2021-03-05 20:06:51 +01:00
Takeshi KOMIYA
e1130972b2
Add pending_xref_condition node
...
To choose appropriate content for pending_xref node on resolving,
this introduces a new custom node `pending_xref_condition`. It only
has a condition for the filtering and contents of the reference.
2021-03-06 02:01:03 +09:00
Jakob Lykke Andersen
72e231d0e6
C and C++, fix nested paramter lists
2021-03-04 21:28:18 +01:00
Takeshi KOMIYA
f75e86d53a
Fix #8936 : LaTeX: A custom LaTeX builder fails with unknown node error
...
At present, post transform components for LaTeX builder does not work
for the custom LaTeX builder that inherits the original LaTeX builder.
This allows them working with the custom LaTeX builders.
2021-03-05 00:36:38 +09:00
Takeshi KOMIYA
ff49bfa003
Merge pull request #8947 from tk0miya/deprecate_registry.get_source_input
...
Deprecate SphinxComponentRegistry.get_source_input()
2021-03-05 00:06:05 +09:00
Takeshi KOMIYA
ec6ab7243d
Fix #8952 : Exceptions raised in a Directive cause parallel builds to hang
...
Do shutdown explicitly when failure on the subprocess.
2021-03-04 23:29:52 +09:00
Takeshi KOMIYA
bae8fb6909
i18n: Fix wrong substitution message catalog for el and hr (refs: #8943 )
2021-03-04 22:11:28 +09:00
Jakob Lykke Andersen
4052cbc9b1
C++, support spaceship operator
...
Fixes sphinx-doc/sphinx#8942
2021-03-02 20:22:22 +01:00
Takeshi KOMIYA
b923165d5e
Update CHANGES for PR #8937
2021-03-02 22:27:46 +09:00
Takeshi KOMIYA
61c9c7fc58
Deprecate SphinxComponentRegistry.get_source_input()
...
The source_input system was deprecated at v2.0. So no client uses it
longer now. Therefore this deprecate the getter interface and its
usage.
2021-03-02 21:18:31 +09:00
Takeshi KOMIYA
727e95f15c
Update CHANGES for PR #8905
2021-02-28 23:45:23 +09:00
Takeshi KOMIYA
fc8247a3cd
Merge pull request #8484 from tk0miya/8326_root_doc
...
Close #8326 : Rename master_doc to root_doc
2021-02-28 17:49:32 +09:00
Takeshi KOMIYA
3059a999b2
Close #8326 : Rename master_doc to root_doc
...
To describe the purpose more accurately, the `master_doc` is now renamed
to `root_doc`. The old name is still available. But it is recommeneded
to use new one from now on.
2021-02-28 17:10:57 +09:00
Takeshi KOMIYA
7d3cc382fa
autodoc: an imported TypeVar is not resolved (refs: #8415 )
...
So far, a TypeVar is rendered without module name. As a result, it
could not be resolved if it is imported from other modules. This
prepends its module name and make it resolvable. This is available
only in Python 3.7 or above.
As a side effect, all of TypeVars are displayed with module name. It
should be fixed in latter step (refs: #7119 )
2021-02-28 15:58:06 +09:00
Takeshi KOMIYA
6ca7c1c579
Merge pull request #8939 from tk0miya/8938_imgconverter_show_OSError
...
Fix #8938 : imgconverter: Show the error of the command availability check
2021-02-28 12:57:32 +09:00
Takeshi KOMIYA
2c987897eb
Merge pull request #8935 from tk0miya/8933_viewcode_backlink_on_parallel_build
...
Fix #8933 : viewcode: Failed to create back-links on parallel build
2021-02-28 12:56:58 +09:00
Takeshi KOMIYA
347ae4ff47
Fix #8938 : imgconverter: Show the error of the command availability check
...
imgconverter extension suppresses an OSError like "Cannot allocate
memory" unexpectedly. So the error should be shown with the warning.
2021-02-27 13:01:34 +09:00
Takeshi KOMIYA
529386faa1
Merge pull request #8923 from tk0miya/8917_warning_for_wrong___globals__
...
Fix #8917 : autodoc: Raises a warning if function has wrong __globals__ value
2021-02-26 02:09:09 +09:00