summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | autodoc: The default of autodoc_typehints_format becomes to 'smart'Takeshi KOMIYA2022-01-028-35/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | Merge branch '4.x'Takeshi KOMIYA2022-01-028-7/+122
| |\ \ \ \ | | |/ / /
| | * | | Merge pull request #10042 from tk0miya/9820_distutilsTakeshi KOMIYA2022-01-021-1/+1
| | |\ \ \ | | | | | | | | | | | | refactor: Reduce usages of distutils (refs: #9820)
| | | * | | refactor: Reduce usages of distutils (refs: #9820)Takeshi KOMIYA2022-01-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | distutils module is now deprecated and will be removed since Python 3.12. So this reduces the usages of the module.
| | * | | | Merge pull request #10034 from tk0miya/10027_autodoc_typehints_format_for_basesTakeshi KOMIYA2022-01-027-6/+121
| | |\ \ \ \ | | | |/ / / | | |/| | | Fix #10027: autodoc_typehints_format does not work with :show-inheritance:
| | | * | | Fix #10027: autodoc_typehints_format does not work with :show-inheritance:Takeshi KOMIYA2022-01-016-6/+81
| | | | | |
| | | * | | Add `mode` parameter to sphinx.util.typing:restify()Takeshi KOMIYA2022-01-011-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To make the typehints in "Bases" field simple, this adds a new parameter `mode` to sphinx.util.typing:restify() to suppress the leading module name from typehints in "Bases" field.
| * | | | | Merge branch '4.x'Takeshi KOMIYA2022-01-01101-101/+101
| |\ \ \ \ \ | | |/ / / /
| | * | | | Merge branch '4.3.x' into 4.xTakeshi KOMIYA2022-01-01101-101/+101
| | |\ \ \ \
| | | * | | | A happy new year!Takeshi KOMIYA2022-01-01101-101/+101
| | | | | | |
| * | | | | | Merge branch '4.x'Takeshi KOMIYA2022-01-018-170/+242
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | Merge pull request #10021 from ↵Takeshi KOMIYA2021-12-292-4/+25
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tk0miya/10015_typehints_format_with_typehints_in_description Fix #10015: autodoc: autodoc_typehints_format='short' does not work when autodoc_typehints='description'
| | | * | | | | Fix #10015: autodoc: autodoc_typehints_format='short' does not work when ↵Takeshi KOMIYA2021-12-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | autodoc_typehints='description'
| | | * | | | | Fix py domain: "typing" types are not hyperlinked in info-field-listTakeshi KOMIYA2021-12-271-1/+22
| | | | |/ / / | | | |/| | |
| | * | | | | Merge pull request #10018 from tk0miya/10013_add_async_js_fileTakeshi KOMIYA2021-12-271-0/+14
| | |\ \ \ \ \ | | | |/ / / / | | |/| | | | Close #10013: html: Allow to change the loading method of JavaScript
| | | * | | | Close #10013: html: Allow to change the loading method of JavaScriptTakeshi KOMIYA2021-12-251-0/+14
| | | | | | |
| | * | | | | Merge branch '4.x' into 9194_Literal_type_not_hyperlinkedTakeshi KOMIYA2021-12-261-2/+2
| | |\ \ \ \ \ | | | |/ / / /
| | | * | | | autodoc: Rename autodoc_unqualified_typehints to autodoc_typehints_format ↵Takeshi KOMIYA2021-12-241-2/+2
| | | |/ / / | | | | | | | | | | | | | | | | | | (refs: #9931)
| | * | | | Fix testcase in py36 caseTakeshi KOMIYA2021-12-261-6/+1
| | | | | |
| | * | | | refactor: Merge arguments of sphinx.util.typing:stringify()Takeshi KOMIYA2021-12-262-155/+157
| | | | | |
| | * | | | Fix #9194: autodoc: Prepend the "typing" module name on the signatureTakeshi KOMIYA2021-12-266-28/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To create hyperlinks to container types automatically, this prepends the module names for the types under "typing" module.
| | * | | | py domain: Suppress the leading "typing." module from typehintsTakeshi KOMIYA2021-12-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To support creating hyperlinks to container types naturally, py domain should take fully-qualified typehints for them. But nobody wants to show "typing." module name on the signature. So this suppresses them automatically.
| | * | | | Fix #9194: autodoc: types in typing module are not hyperlinkedTakeshi KOMIYA2021-12-251-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This converts types in typing module to valid references when `autodoc_unqualified_typehints` option enabled.
| | * | | | Fix autodoc: Failed to parse Literal type in py36 and py37Takeshi KOMIYA2021-12-251-0/+9
| | |/ / /
| * | | | Merge branch 'master' into 9985_latex_on_masterjfbu2021-12-234-6/+29
| |\ \ \ \
| | * \ \ \ Merge branch '4.x'Takeshi KOMIYA2021-12-244-6/+29
| | |\ \ \ \ | | | |/ / /
| | | * | | Close #9993: std domain: Allow to refer an inline target via ref roleTakeshi KOMIYA2021-12-211-0/+9
| | | | | |
| | | * | | Merge pull request #9992 from tk0miya/debug_printTakeshi KOMIYA2021-12-191-1/+0
| | | |\ \ \ | | | | | | | | | | | | | | test: Remove debug print
| | | | * | | test: Remove debug printTakeshi KOMIYA2021-12-191-1/+0
| | | | | | |
| | | * | | | Merge pull request #9987 from tk0miya/9968_ivar_not_shownTakeshi KOMIYA2021-12-191-0/+15
| | | |\ \ \ \ | | | | | | | | | | | | | | | | Fix #9968: autodoc: ivars are not shown if __init__ has posonlyargs
| | | | * | | | Fix #9968: autodoc: ivars are not shown if __init__ has posonlyargsTakeshi KOMIYA2021-12-191-0/+15
| | | | |/ / /
| | | * | | | Fix #9979: Error level messages were displayed as warning messagesTakeshi KOMIYA2021-12-171-5/+5
| | | |/ / /
| * | | | | Merge branch 'master' into 9985_latex_on_masterjfbu2021-12-223-4/+4
| |\ \ \ \ \ | | |/ / / /
| | * | | | Fix a spelling typo in tests (s/änhlich/ähnlich)jfbu2021-12-223-4/+4
| | |/ / /
| * | | | LaTeX: separate terms from their definitions by a CR (fix #9985)jfbu2021-12-201-36/+36
| |/ / /
| * | | Merge branch '4.3.x' into 4.xTakeshi KOMIYA2021-12-172-5/+19
| |\ \ \
| | * | | C, simple type specifier parsing, handling macro-keywordsJakob Lykke Andersen2021-12-011-4/+1
| | | | |
| | * | | C, fix parsing of fundamental typesJakob Lykke Andersen2021-11-302-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | When multiple simple type specifiers are part of the type, then they may appear in any order.
| | * | | C++, fix parsing of fundamental typesJakob Lykke Andersen2021-11-301-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | When multiple simple type specifiers are part of the type, then they may appear in any order.
| * | | | Merge pull request #9957 from tk0miya/refactor_DeprecationWarningsTakeshi KOMIYA2021-12-162-10/+8
| |\ \ \ \ | | | | | | | | | | | | Reduce DeprecationWarnings
| | * | | | refactor: ssl.wrap_context() has been deprecated nowTakeshi KOMIYA2021-12-111-6/+4
| | | | | |
| | * | | | refactor: app.html_themes was replaced by registry.html_themesTakeshi KOMIYA2021-12-111-4/+4
| | | | | |
| * | | | | refactor: texinfo: Remove CR char from outputTakeshi KOMIYA2021-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CR character was added for readability of output. But it makes the texinfo writer a bit complicated. This removes it from output to keep our code simple (reducing conditions).
| * | | | | Merge branch '4.x' into fix-footnote-in-infoTakeshi KOMIYA2021-12-1181-446/+1846
| |\ \ \ \ \ | | |/ / / /
| | * | | | Merge pull request #9793 from samdoran/enable-parallel-on-macosTakeshi KOMIYA2021-12-111-4/+0
| | |\ \ \ \ | | | | | | | | | | | | | | Set multiprocessing start method to `fork`
| | | * | | | Set multiprocessing start method to forkSam Doran2021-10-281-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the current code requires forking, set it explicitly rather than disabling parallelization on macOS.
| | * | | | | Merge pull request #9931 from tk0miya/9075_autodoc_unqualified_typehintsTakeshi KOMIYA2021-12-114-64/+282
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | Close #9075: autodoc: Add a config variable autodoc_unqualified_typehints
| | | * | | | | Close #9075: autodoc: Add a config variable autodoc_unqualified_typehintsTakeshi KOMIYA2021-12-031-0/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If autodoc_unqualified_typehints feature enabled, autodoc suppresses the leading module names of typehints of function signatures (ex. `io.StringIO` -> `StringIO`)
| | | * | | | | Add `unqualified_typehints` parameter to stringify_signature()Takeshi KOMIYA2021-12-031-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To make the generated function signatures simple, this adds a new parameter `unqualified_typehints` to sphinx.util.inspect: stringify_signature() to suppress the leading module name of typehints.
| | | * | | | | Add `smartref` parameter to sphinx.util.typing:stringify()Takeshi KOMIYA2021-12-031-64/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To make the generated function signatures simple, this adds a new parameter `smartref` to sphinx.util.typing:stringify() to suppress the leading module name from typehints.