Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | autodoc: The default of autodoc_typehints_format becomes to 'smart' | Takeshi KOMIYA | 2022-01-02 | 8 | -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 KOMIYA | 2022-01-02 | 8 | -7/+122 | |
| |\ \ \ \ | | |/ / / | ||||||
| | * | | | Merge pull request #10042 from tk0miya/9820_distutils | Takeshi KOMIYA | 2022-01-02 | 1 | -1/+1 | |
| | |\ \ \ | | | | | | | | | | | | | refactor: Reduce usages of distutils (refs: #9820) | |||||
| | | * | | | refactor: Reduce usages of distutils (refs: #9820) | Takeshi KOMIYA | 2022-01-01 | 1 | -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_bases | Takeshi KOMIYA | 2022-01-02 | 7 | -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 KOMIYA | 2022-01-01 | 6 | -6/+81 | |
| | | | | | | ||||||
| | | * | | | Add `mode` parameter to sphinx.util.typing:restify() | Takeshi KOMIYA | 2022-01-01 | 1 | -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 KOMIYA | 2022-01-01 | 101 | -101/+101 | |
| |\ \ \ \ \ | | |/ / / / | ||||||
| | * | | | | Merge branch '4.3.x' into 4.x | Takeshi KOMIYA | 2022-01-01 | 101 | -101/+101 | |
| | |\ \ \ \ | ||||||
| | | * | | | | A happy new year! | Takeshi KOMIYA | 2022-01-01 | 101 | -101/+101 | |
| | | | | | | | ||||||
| * | | | | | | Merge branch '4.x' | Takeshi KOMIYA | 2022-01-01 | 8 | -170/+242 | |
| |\ \ \ \ \ \ | | |/ / / / / | ||||||
| | * | | | | | Merge pull request #10021 from ↵ | Takeshi KOMIYA | 2021-12-29 | 2 | -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 KOMIYA | 2021-12-27 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | autodoc_typehints='description' | |||||
| | | * | | | | | Fix py domain: "typing" types are not hyperlinked in info-field-list | Takeshi KOMIYA | 2021-12-27 | 1 | -1/+22 | |
| | | | |/ / / | | | |/| | | | ||||||
| | * | | | | | Merge pull request #10018 from tk0miya/10013_add_async_js_file | Takeshi KOMIYA | 2021-12-27 | 1 | -0/+14 | |
| | |\ \ \ \ \ | | | |/ / / / | | |/| | | | | Close #10013: html: Allow to change the loading method of JavaScript | |||||
| | | * | | | | Close #10013: html: Allow to change the loading method of JavaScript | Takeshi KOMIYA | 2021-12-25 | 1 | -0/+14 | |
| | | | | | | | ||||||
| | * | | | | | Merge branch '4.x' into 9194_Literal_type_not_hyperlinked | Takeshi KOMIYA | 2021-12-26 | 1 | -2/+2 | |
| | |\ \ \ \ \ | | | |/ / / / | ||||||
| | | * | | | | autodoc: Rename autodoc_unqualified_typehints to autodoc_typehints_format ↵ | Takeshi KOMIYA | 2021-12-24 | 1 | -2/+2 | |
| | | |/ / / | | | | | | | | | | | | | | | | | | | (refs: #9931) | |||||
| | * | | | | Fix testcase in py36 case | Takeshi KOMIYA | 2021-12-26 | 1 | -6/+1 | |
| | | | | | | ||||||
| | * | | | | refactor: Merge arguments of sphinx.util.typing:stringify() | Takeshi KOMIYA | 2021-12-26 | 2 | -155/+157 | |
| | | | | | | ||||||
| | * | | | | Fix #9194: autodoc: Prepend the "typing" module name on the signature | Takeshi KOMIYA | 2021-12-26 | 6 | -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 typehints | Takeshi KOMIYA | 2021-12-25 | 1 | -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 hyperlinked | Takeshi KOMIYA | 2021-12-25 | 1 | -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 py37 | Takeshi KOMIYA | 2021-12-25 | 1 | -0/+9 | |
| | |/ / / | ||||||
| * | | | | Merge branch 'master' into 9985_latex_on_master | jfbu | 2021-12-23 | 4 | -6/+29 | |
| |\ \ \ \ | ||||||
| | * \ \ \ | Merge branch '4.x' | Takeshi KOMIYA | 2021-12-24 | 4 | -6/+29 | |
| | |\ \ \ \ | | | |/ / / | ||||||
| | | * | | | Close #9993: std domain: Allow to refer an inline target via ref role | Takeshi KOMIYA | 2021-12-21 | 1 | -0/+9 | |
| | | | | | | ||||||
| | | * | | | Merge pull request #9992 from tk0miya/debug_print | Takeshi KOMIYA | 2021-12-19 | 1 | -1/+0 | |
| | | |\ \ \ | | | | | | | | | | | | | | | test: Remove debug print | |||||
| | | | * | | | test: Remove debug print | Takeshi KOMIYA | 2021-12-19 | 1 | -1/+0 | |
| | | | | | | | ||||||
| | | * | | | | Merge pull request #9987 from tk0miya/9968_ivar_not_shown | Takeshi KOMIYA | 2021-12-19 | 1 | -0/+15 | |
| | | |\ \ \ \ | | | | | | | | | | | | | | | | | Fix #9968: autodoc: ivars are not shown if __init__ has posonlyargs | |||||
| | | | * | | | | Fix #9968: autodoc: ivars are not shown if __init__ has posonlyargs | Takeshi KOMIYA | 2021-12-19 | 1 | -0/+15 | |
| | | | |/ / / | ||||||
| | | * | | | | Fix #9979: Error level messages were displayed as warning messages | Takeshi KOMIYA | 2021-12-17 | 1 | -5/+5 | |
| | | |/ / / | ||||||
| * | | | | | Merge branch 'master' into 9985_latex_on_master | jfbu | 2021-12-22 | 3 | -4/+4 | |
| |\ \ \ \ \ | | |/ / / / | ||||||
| | * | | | | Fix a spelling typo in tests (s/änhlich/ähnlich) | jfbu | 2021-12-22 | 3 | -4/+4 | |
| | |/ / / | ||||||
| * | | | | LaTeX: separate terms from their definitions by a CR (fix #9985) | jfbu | 2021-12-20 | 1 | -36/+36 | |
| |/ / / | ||||||
| * | | | Merge branch '4.3.x' into 4.x | Takeshi KOMIYA | 2021-12-17 | 2 | -5/+19 | |
| |\ \ \ | ||||||
| | * | | | C, simple type specifier parsing, handling macro-keywords | Jakob Lykke Andersen | 2021-12-01 | 1 | -4/+1 | |
| | | | | | ||||||
| | * | | | C, fix parsing of fundamental types | Jakob Lykke Andersen | 2021-11-30 | 2 | -1/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | When multiple simple type specifiers are part of the type, then they may appear in any order. | |||||
| | * | | | C++, fix parsing of fundamental types | Jakob Lykke Andersen | 2021-11-30 | 1 | -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_DeprecationWarnings | Takeshi KOMIYA | 2021-12-16 | 2 | -10/+8 | |
| |\ \ \ \ | | | | | | | | | | | | | Reduce DeprecationWarnings | |||||
| | * | | | | refactor: ssl.wrap_context() has been deprecated now | Takeshi KOMIYA | 2021-12-11 | 1 | -6/+4 | |
| | | | | | | ||||||
| | * | | | | refactor: app.html_themes was replaced by registry.html_themes | Takeshi KOMIYA | 2021-12-11 | 1 | -4/+4 | |
| | | | | | | ||||||
| * | | | | | refactor: texinfo: Remove CR char from output | Takeshi KOMIYA | 2021-12-11 | 1 | -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-info | Takeshi KOMIYA | 2021-12-11 | 81 | -446/+1846 | |
| |\ \ \ \ \ | | |/ / / / | ||||||
| | * | | | | Merge pull request #9793 from samdoran/enable-parallel-on-macos | Takeshi KOMIYA | 2021-12-11 | 1 | -4/+0 | |
| | |\ \ \ \ | | | | | | | | | | | | | | | Set multiprocessing start method to `fork` | |||||
| | | * | | | | Set multiprocessing start method to fork | Sam Doran | 2021-10-28 | 1 | -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_typehints | Takeshi KOMIYA | 2021-12-11 | 4 | -64/+282 | |
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | Close #9075: autodoc: Add a config variable autodoc_unqualified_typehints | |||||
| | | * | | | | | Close #9075: autodoc: Add a config variable autodoc_unqualified_typehints | Takeshi KOMIYA | 2021-12-03 | 1 | -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 KOMIYA | 2021-12-03 | 1 | -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 KOMIYA | 2021-12-03 | 1 | -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. |