Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Merge pull request #10081 from danieleades/refactor/callable-test | Takeshi KOMIYA | 2022-01-11 | 1 | -1/+1 | |
| |\ \ | | | | | | | | | use 'callable' to check if object is callable (B004) | |||||
| | * | | use 'callable' to check if object is callable (B004) | Daniel Eades | 2022-01-10 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Fix typing in docfields.py | Philipp A | 2022-01-11 | 1 | -1/+1 | |
| |/ / | ||||||
| * | | merge 'isinstance' calls (SIM101) | Daniel Eades | 2022-01-10 | 1 | -2/+1 | |
| |/ | ||||||
* | | Merge pull request #10067 from tk0miya/10062_change_default_language_to_en | Takeshi KOMIYA | 2022-01-12 | 1 | -9/+12 | |
|\ \ | | | | | | | Close #10062: Change the default language to 'en' | |||||
| * | | Close #10062: Change the default language to 'en' | Takeshi KOMIYA | 2022-01-12 | 1 | -9/+12 | |
| | | | | | | | | | | | | | | | Change the default language to `'en'` if any language is not set in `conf.py`. | |||||
* | | | Fix typing in docfields.py | Philipp A | 2022-01-10 | 1 | -1/+1 | |
|/ / | ||||||
* | | Merge branch '4.x' | Takeshi KOMIYA | 2022-01-09 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Merge branch '4.3.x' into 4.x | Takeshi KOMIYA | 2022-01-09 | 1 | -3/+3 | |
| |\ | ||||||
| | * | Fix mypy violations (with types-requests-2.27.3) | Takeshi KOMIYA | 2022-01-09 | 1 | -3/+3 | |
| | | | ||||||
* | | | Merge branch '4.x' | Takeshi KOMIYA | 2022-01-03 | 2 | -11/+22 | |
|\ \ \ | |/ / | ||||||
| * | | Migrate to Node.findall() from Node.traverse() | Takeshi KOMIYA | 2022-01-03 | 2 | -11/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Node.traverse() was marked as deprecated since docutils-0.18. Instead of it, Node.findall() has been added as successor of traverse(). This applies a patch to docutils-0.17 or older to be available Node.findall() and use it. | |||||
* | | | Merge branch '4.x' | Takeshi KOMIYA | 2022-01-02 | 2 | -39/+69 | |
|\ \ \ | |/ / | ||||||
| * | | Merge pull request #10043 from tk0miya/9777_docutils.nodes.meta | Takeshi KOMIYA | 2022-01-02 | 1 | -2/+9 | |
| |\ \ | | | | | | | | | i18n: meta strings are not translated with docutils-0.18 | |||||
| | * | | i18n: meta strings are not translated with docutils-0.18 | Takeshi KOMIYA | 2022-01-02 | 1 | -2/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | i18n feature for meta strings does not work if docutils-0.18 used. Note: Since docutils-0.18, patch for meta directive is no longer needed because it uses a picklable meta nodes; ``docutils.nodes.meta``. | |||||
| * | | | Merge pull request #10034 from tk0miya/10027_autodoc_typehints_format_for_bases | Takeshi KOMIYA | 2022-01-02 | 1 | -37/+60 | |
| |\ \ \ | | |/ / | |/| | | Fix #10027: autodoc_typehints_format does not work with :show-inheritance: | |||||
| | * | | Add `mode` parameter to sphinx.util.typing:restify() | Takeshi KOMIYA | 2022-01-01 | 1 | -37/+60 | |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | 29 | -29/+29 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Merge branch '4.3.x' into 4.x | Takeshi KOMIYA | 2022-01-01 | 29 | -29/+29 | |
| |\ \ \ | | | |/ | | |/| | ||||||
| | * | | A happy new year! | Takeshi KOMIYA | 2022-01-01 | 29 | -29/+29 | |
| | | | | ||||||
* | | | | Merge branch '4.x' | Takeshi KOMIYA | 2022-01-01 | 4 | -40/+61 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Fix some messages are still not translated | Takeshi KOMIYA | 2021-12-27 | 1 | -2/+2 | |
| | |/ | |/| | ||||||
| * | | Merge branch '4.x' into 9194_Literal_type_not_hyperlinked | Takeshi KOMIYA | 2021-12-26 | 1 | -2/+3 | |
| |\ \ | ||||||
| | * | | Fix docs: docs for show_return_annotation param for stringify_signature() is ↵ | Takeshi KOMIYA | 2021-12-25 | 1 | -2/+3 | |
| | | | | | | | | | | | | | | | | not explained | |||||
| * | | | refactor: Merge arguments of sphinx.util.typing:stringify() | Takeshi KOMIYA | 2021-12-26 | 2 | -43/+50 | |
| | | | | ||||||
| * | | | Fix #9194: autodoc: Prepend the "typing" module name on the signature | Takeshi KOMIYA | 2021-12-26 | 2 | -23/+33 | |
| |/ / | | | | | | | | | | | | | To create hyperlinks to container types automatically, this prepends the module names for the types under "typing" module. | |||||
| * | | Merge branch '4.x' into drop-translator-specific-unknown_visit-calls | Takeshi KOMIYA | 2021-12-24 | 6 | -71/+105 | |
| |\ \ | | |/ | ||||||
| * | | drop translator-specific unknown_visit calls | James Knight | 2021-12-05 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes the need for various translators from raising a `NotImplementedError` exception when missing support for a specific node type. docutils will already raise [1][2] a `NotImplementedError` exception for these cases. This help reduce the implementation inside Sphinx as well as prevents the possible undesired replication of unknown-node handling with third-party extensions [3]. In most cases, generating a warning message for an unsupported node type can be preferred. Providing an indication that a node is not supported can be easier for a user of Sphinx to understand a limitation of a builder over a generic "not implemented" exception. This commit takes the logging call which is already used by `texinfo` and applies it to the `SphinxTranslator` base class -- which any Sphinx translator implementation can use. [1]: https://repo.or.cz/docutils.git/blob/d169015ee0f412cffd69b33654d8a119d99bc0f3:/docutils/nodes.py#l2048 [2]: https://repo.or.cz/docutils.git/blob/53716a13b48128af6045139d3cd2909f61e7ed8e:/docutils/nodes.py#l1897 [3]: https://github.com/sphinx-doc/sphinx/issues/9921 Signed-off-by: James Knight <james.d.knight@live.com> | |||||
* | | | Merge branch '4.x' | Takeshi KOMIYA | 2021-12-24 | 2 | -7/+14 | |
|\ \ \ | | |/ | |/| | ||||||
| * | | Fix mypy violations (with mypy-0.930) | Takeshi KOMIYA | 2021-12-24 | 1 | -6/+6 | |
| | | | ||||||
| * | | Fix #9979: Error level messages were displayed as warning messages | Takeshi KOMIYA | 2021-12-17 | 1 | -1/+8 | |
| | | | ||||||
* | | | Merge branch 'master' into RemovedInSphinx50Warning | Takeshi KOMIYA | 2021-12-17 | 3 | -4/+4 | |
|\ \ \ | |/ / | ||||||
| * | | Merge branch '4.3.x' into 4.x | Takeshi KOMIYA | 2021-12-17 | 3 | -4/+4 | |
| |\ \ | ||||||
| | * | | Fix mypy violations (with mypy-0.920) | Takeshi KOMIYA | 2021-12-17 | 3 | -4/+4 | |
| | |/ | ||||||
* | | | refactor: Remove RemovedInSphinx50Warning (partially) | Takeshi KOMIYA | 2021-12-17 | 4 | -144/+4 | |
|/ / | ||||||
* | | Merge pull request #9793 from samdoran/enable-parallel-on-macos | Takeshi KOMIYA | 2021-12-11 | 1 | -11/+4 | |
|\ \ | | | | | | | Set multiprocessing start method to `fork` | |||||
| * | | Set multiprocessing start method to fork | Sam Doran | 2021-10-28 | 1 | -11/+4 | |
| | | | | | | | | | | | | | | | Since the current code requires forking, set it explicitly rather than disabling parallelization on macOS. | |||||
* | | | Merge pull request #9953 from tk0miya/9947_source_info_less_topic_node | Takeshi KOMIYA | 2021-12-11 | 1 | -0/+5 | |
|\ \ \ | | | | | | | | | Fix #9947: i18n: topic directive having a bullet list can't be translatable | |||||
| * | | | Fix #9947: i18n: topic directive having a bullet list can't be translatable | Takeshi KOMIYA | 2021-12-10 | 1 | -0/+5 | |
| | |/ | |/| | | | | | | | | | | | | | It seems docutils does not fill the topic node with the source info when a topic directive has a bullet list. As a workaround, This fills the source info of them. | |||||
* | | | Add `unqualified_typehints` parameter to stringify_signature() | Takeshi KOMIYA | 2021-12-03 | 1 | -3/+6 | |
| | | | | | | | | | | | | | | | | | | | | | 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 | -46/+72 | |
|/ / | | | | | | | | | | | 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. | |||||
* | | Fix #9879: autodoc: AttributeError for object having invalid __doc__ | Takeshi KOMIYA | 2021-11-22 | 1 | -2/+9 | |
| | | ||||||
* | | Fix #9838: autodoc: AttributeError is raised for lru_cache | Takeshi KOMIYA | 2021-11-21 | 1 | -2/+11 | |
| | | ||||||
* | | Merge pull request #9828 from tk0miya/9618_gettext_allow_fuzzy_translations | Takeshi KOMIYA | 2021-11-10 | 1 | -2/+2 | |
|\ \ | | | | | | | Close #9618: i18n: Add gettext_allow_fuzzy_translations | |||||
| * | | Close #9618: i18n: Add gettext_allow_fuzzy_translations | Takeshi KOMIYA | 2021-11-10 | 1 | -2/+2 | |
| | | | ||||||
* | | | Replace distutils.versions.LooseVersion by packaging.version.Version | Takeshi KOMIYA | 2021-11-07 | 1 | -2/+2 | |
|/ / | | | | | | | | | | | | | Distutils module are now deprecated and will be removed in Python 3.12. This replaces it by packaging module and reduces the dependency to it. refs: #9820 | |||||
* | | ntersphinx_disabled_refs, type rename | Jakob Lykke Andersen | 2021-10-31 | 1 | -2/+2 | |
| | | ||||||
* | | Intersphinx, refactoring | Jakob Lykke Andersen | 2021-10-31 | 1 | -1/+2 | |
| | | | | | | | | Also, when a reference is unresolved, don't strip the inventory prefix. | |||||
* | | Fix a flake8 warning | Takeshi KOMIYA | 2021-10-31 | 1 | -3/+4 | |
| | | ||||||
* | | Merge pull request #9656 from sdhiscocks/suppress_warning_subtype_none | Takeshi KOMIYA | 2021-10-31 | 1 | -1/+2 | |
|\ \ | | | | | | | Fix issue with warnings without subtype being incorrectly suppressed |