Commit Graph

5703 Commits

Author SHA1 Message Date
Takeshi KOMIYA
0938c193ea Update CHANGES for PR #10099 2022-01-15 15:18:36 +09:00
Takeshi KOMIYA
8ba20898b4 Update CHANGES for PR #9551 2022-01-14 02:56:47 +09:00
Takeshi KOMIYA
008005cc39 Fix #9981: std domain: Strip value part of the option directive from genindex 2022-01-14 02:25:00 +09:00
Takeshi KOMIYA
49196d4474 Update CHANGES for PR #10091 2022-01-13 01:40:59 +09:00
Takeshi KOMIYA
e4e58a4f27 Close #10062: Change the default language to 'en'
Change the default language to `'en'` if any language is not set in
`conf.py`.
2022-01-12 02:45:52 +09:00
Takeshi KOMIYA
3ed92651d5 Merge pull request #10068 from tk0miya/10057_scanning_docs_on_root
Fix #10057: Failed to scan documents on the root directory
2022-01-12 02:42:08 +09:00
Takeshi KOMIYA
9a42e42a40 Merge pull request #10069 from tk0miya/10055_ensuredir_for_warnfile
Close #10055: sphinx-build: Create directories when `-w` option given
2022-01-12 02:35:15 +09:00
Takeshi KOMIYA
99c144d8cd Merge pull request #10079 from tk0miya/10061_confval_added_by_themes_not_initialized
Fix #10061: html theme: Confvals added by themes are not initialized
2022-01-12 02:34:52 +09:00
Takeshi KOMIYA
7f0166780f Fix #10058: autosummary: Imported members are not shown
Originally, the `check_module()` call was added at 21b8384 to hide
imported members on generating stubs.  But it was incorrect approach.
Therefore it was disabled by b433197 and fixed the original issue by
another approach at 2390c554.

Finally, the `check_module()` call becomes meaningless code.  But, at
present, it causes that imported members are not shown when
`autodoc_class_signature` is 'separated'.  To resolve the problem, this
removes the meaningless call.
2022-01-11 02:18:29 +09:00
Takeshi KOMIYA
2a3ea2e490 Fix #10061: html theme: Confvals added by themes are not initialized 2022-01-10 19:04:44 +09:00
Takeshi KOMIYA
ce41a5e3f0 Close #10055: sphinx-build: Create directories when -w option given 2022-01-09 04:04:31 +09:00
Takeshi KOMIYA
ce99cd4832 Fix #10057: Failed to scan documents on the root directory
get_matching_files() incorrectly drops the first character of each
path on scanning documents.  It will help users to exclude paths
via exclude_patterns setting.

Note: Users need to configure `exclude_patterns` to put their document
on the root directory.  This does not help to avoid recursive symlinks
(ex. /proc, /sys)
2022-01-09 03:57:55 +09:00
Takeshi KOMIYA
fe338f603b Merge branch 'master' into 9595_deprecate_setuptools_integration 2022-01-02 18:18:01 +09:00
Takeshi KOMIYA
616f112e6a autodoc: The default of autodoc_typehints_format becomes to 'smart'
The default value of autodoc_typehints_format configuration is changed
to `'smart'`.  It will suppress the leading module names of typehints
(ex. `io.StringIO` -> `StringIO`).

refs: #9075
2022-01-02 17:35:19 +09:00
Takeshi KOMIYA
2d92be7a1a Merge pull request #10036 from tk0miya/9555_autosummary_raise_ImportExceptionGroup_by_default
autosummary: autosummary: import_by_name() now raises ImportExceptionGroup
2022-01-02 13:03:10 +09:00
Takeshi KOMIYA
808a8d23ea autosummary: autosummary: import_by_name() now raises ImportExceptionGroup
It starts to `ImportExceptionGroup` exception instead of `ImportError` by default
when it failed to import target object.
2022-01-02 12:08:13 +09:00
Takeshi KOMIYA
0663602bb9 Close #9595: Deprecate setuptools integration 2022-01-01 20:19:27 +09:00
Takeshi KOMIYA
bdc241a678 CHANGES: Fix the location of the deprecation entry 2022-01-01 20:01:13 +09:00
Takeshi KOMIYA
6ee3dd1968 Merge branch '4.x' 2022-01-01 19:02:09 +09:00
Takeshi KOMIYA
b22134dcd3 Merge pull request #10031 from tk0miya/9555_ImportExceptionGroup_for_autosummary
Close #9555: autosummary: Improve error messages on failure to load target object
2022-01-01 19:00:10 +09:00
Takeshi KOMIYA
9039991a3b Close #9555: autosummary: Improve error messages on failure to load target object 2021-12-30 23:51:15 +09:00
Takeshi KOMIYA
eed0730b4b Merge pull request #10021 from tk0miya/10015_typehints_format_with_typehints_in_description
Fix #10015: autodoc: autodoc_typehints_format='short' does not work when autodoc_typehints='description'
2021-12-29 02:09:35 +09:00
Takeshi KOMIYA
be84da0ee0 Merge pull request #10011 from tk0miya/10009_exception_on_getdoc
Fix #10009: autodoc: Crashes if subject raises an error on getdoc()
2021-12-29 02:07:46 +09:00
Takeshi KOMIYA
b1c99e8ff1 Merge branch '4.x' into 10009_exception_on_getdoc 2021-12-27 02:33:31 +09:00
Takeshi KOMIYA
a284aa6571 Merge pull request #10018 from tk0miya/10013_add_async_js_file
Close #10013: html: Allow to change the loading method of JavaScript
2021-12-27 02:30:00 +09:00
Takeshi KOMIYA
5da68c3de3 Fix py domain: "typing" types are not hyperlinked in info-field-list 2021-12-27 02:23:02 +09:00
Takeshi KOMIYA
f3a098d4e9 Merge branch '4.x' into 9194_Literal_type_not_hyperlinked 2021-12-26 20:34:38 +09:00
Takeshi KOMIYA
b5bf745f68 Close #10013: html: Allow to change the loading method of JavaScript 2021-12-25 23:41:02 +09:00
Takeshi KOMIYA
71e4f37f2d Merge pull request #10012 from tk0miya/9931_autodoc_typehints_format
autodoc: Rename autodoc_unqualified_typehints to autodoc_typehints_format (refs: #9931)
2021-12-25 19:39:45 +09:00
Takeshi KOMIYA
4f9b4c2124 Update CHANGES for PR #10007 2021-12-25 12:56:15 +09:00
Takeshi KOMIYA
94cbce69da Fix #9194: autodoc: types in typing module are not hyperlinked
This converts types in typing module to valid references when
`autodoc_unqualified_typehints` option enabled.
2021-12-25 02:50:31 +09:00
Takeshi KOMIYA
a87153c018 autodoc: Rename autodoc_unqualified_typehints to autodoc_typehints_format (refs: #9931) 2021-12-24 10:14:19 +09:00
jfbu
d62220676d Update CHANGES for PR #9999 2021-12-23 19:04:47 +01:00
Takeshi KOMIYA
6c6fed5e55 Fix #10009: autodoc: Crashes if subject raises an error on getdoc() 2021-12-24 01:48:22 +09:00
Takeshi KOMIYA
4e8bca2f2f Merge branch '4.x' 2021-12-24 00:30:29 +09:00
Takeshi KOMIYA
94acb1921c Merge pull request #9998 from tk0miya/9993_inline_target
Close #9993: std domain: Allow to refer an inline target via ref role
2021-12-23 03:01:05 +09:00
Takeshi KOMIYA
03c915174e Merge pull request #9991 from tk0miya/9962_texinfo_definfoenclose
Fix #9962: texinfo: Do not use @definfoenclose to empasize string
2021-12-23 03:00:21 +09:00
Takeshi KOMIYA
7d59c40608 Merge pull request #9990 from tk0miya/9961_nested_kbd_in_html_related_builders
Close #9961: html: Support nested <kbd> HTML elements in other HTML builders
2021-12-23 02:59:51 +09:00
Takeshi KOMIYA
e3ee8b378a Close #9993: std domain: Allow to refer an inline target via ref role 2021-12-21 02:51:59 +09:00
Takeshi KOMIYA
977c602b21 Merge branch '4.3.x' into 4.x 2021-12-19 17:40:15 +09:00
Takeshi KOMIYA
bbee8e16b7 Bump version 2021-12-19 17:39:23 +09:00
Takeshi KOMIYA
5cf55d1c90 Bump to 4.3.2 final 2021-12-19 17:38:16 +09:00
Takeshi KOMIYA
bd84edb117 Fix #9962: texinfo: Do not use @definfoenclose to empasize string
Since texinfo-6.8, `@definfoenclose` command has been deprecated. This
stops to use it to reduce the deprecation warning.

This also disables the customization the styles of emphasized text via
the command.
2021-12-19 16:08:30 +09:00
Takeshi KOMIYA
cacbca6dd4 Merge pull request #9987 from tk0miya/9968_ivar_not_shown
Fix #9968: autodoc: ivars are not shown if __init__ has posonlyargs
2021-12-19 13:18:58 +09:00
Takeshi KOMIYA
e7e08d2a78 Fix #9968: autodoc: ivars are not shown if __init__ has posonlyargs 2021-12-19 12:53:15 +09:00
Takeshi KOMIYA
a87d0359c0 Close #9961: html: Support nested <kbd> HTML elements in other HTML builders 2021-12-19 12:41:04 +09:00
Takeshi KOMIYA
26cd8f100c Deprecate sphinx.writers.latex.LaTeXWriter.docclasses 2021-12-18 02:24:03 +09:00
Takeshi KOMIYA
a9a9bd2563 Fix #9979: Error level messages were displayed as warning messages 2021-12-17 02:10:21 +09:00
Takeshi KOMIYA
5dc27f5948 Merge branch '4.x' 2021-12-17 02:09:33 +09:00
Takeshi KOMIYA
8d0fd9e74a Merge branch '4.3.x' into 4.x 2021-12-17 02:09:04 +09:00