summaryrefslogtreecommitdiff
path: root/sphinx
Commit message (Collapse)AuthorAgeFilesLines
* Remove debug print9864_mathjax_loading_methodTakeshi KOMIYA2021-11-221-1/+0
|
* Fix #9864: mathjax: Failed to render equations via MathJax v2Takeshi KOMIYA2021-11-211-2/+10
| | | | | | | | | MathJax library has been loaded via "defer" method since v4.3.0. But it prevents to work MathJax v2. This rollbacks the change and use "async" method as default again. To support changing the loading method, this allows to specify it via mathjax_options.
* Fix #9838: autodoc: AttributeError is raised for lru_cacheTakeshi KOMIYA2021-11-211-2/+11
|
* Bump versionTakeshi KOMIYA2021-11-111-3/+3
|
* Bump to 4.3.0 finalv4.3.0Takeshi KOMIYA2021-11-111-2/+2
|
* Fix the type of deprecation warning for get_signature_prefix (refs: #9833)Takeshi KOMIYA2021-11-111-2/+2
|
* Merge pull request #9833 from jakobandersen/py_get_signature_prefixTakeshi KOMIYA2021-11-111-1/+11
|\ | | | | Make fallback for changed get_signature_prefix()
| * Use warnings.warn and deprecation warningJakob Lykke Andersen2021-11-091-4/+6
| |
| * Fix lint errorsJakob Lykke Andersen2021-11-091-4/+6
| |
| * Make fallback for changed get_signature_prefix()Jakob Lykke Andersen2021-11-091-1/+7
| | | | | | | | Fixes sphinx-doc/sphinx#9832
* | Merge pull request #9628 from ↵Takeshi KOMIYA2021-11-101-16/+19
|\ \ | | | | | | | | | | | | tk0miya/9623_suppress_warnings_for_excluded_document_in_toctree Close #9623: Allow to suppress warnings on excluded document found in toctree
| * \ Merge branch '4.x' into 9623_suppress_warnings_for_excluded_document_in_toctreeTakeshi KOMIYA2021-11-10173-9482/+9769
| |\ \
| * | | Fix #9623: Separate warning type 'toc.not_readable' to 'toc.excluded'Takeshi KOMIYA2021-11-101-1/+3
| | | |
| * | | Close #9623: Allow to suppress warnings on excluded document found in toctreeTakeshi KOMIYA2021-09-121-1/+2
| | | |
| * | | Fix i18n: messages in sphinx.directives.other are not translatedTakeshi KOMIYA2021-09-121-7/+7
| | | |
| * | | refactor: Use logger.warning() instead of reporter.warning()Takeshi KOMIYA2021-09-121-13/+13
| | | |
* | | | Merge pull request #9828 from tk0miya/9618_gettext_allow_fuzzy_translationsTakeshi KOMIYA2021-11-104-4/+7
|\ \ \ \ | |_|/ / |/| | | Close #9618: i18n: Add gettext_allow_fuzzy_translations
| * | | Close #9618: i18n: Add gettext_allow_fuzzy_translationsTakeshi KOMIYA2021-11-104-4/+7
| | | |
* | | | Merge pull request #9829 from tk0miya/9450_load_mathjax_as_deferTakeshi KOMIYA2021-11-101-1/+1
|\ \ \ \ | |_|_|/ |/| | | Close #9450: mathjax: Load MathJax via "defer" strategy
| * | | Close #9450: mathjax: Load MathJax via "defer" strategyTakeshi KOMIYA2021-11-091-1/+1
| |/ / | | | | | | | | | | | | To allow configure MathJax via static JS file, it should be loaded via "defer" strategy.
* | | Replace distutils.versions.LooseVersion by packaging.version.VersionTakeshi KOMIYA2021-11-072-4/+4
|/ / | | | | | | | | | | | | 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
* | Update message catalogstk0miya2021-11-07121-2389/+2389
| |
* | Merge pull request #9799 from tk0miya/9781_autodoc_preserve_hexadecimalTakeshi KOMIYA2021-11-011-5/+33
|\ \ | | | | | | Fix #9781: autodoc_preserve_defaults does not support hexadecimal
| * | Fix #9781: autodoc_preserve_defaults does not support hexadecimalTakeshi KOMIYA2021-10-311-5/+33
| | |
* | | rename intersphinx_disabled_{refs -> reftypes}Jakob Lykke Andersen2021-10-311-5/+5
| | | | | | | | | | | | And change format for domains to {name}:*
* | | intersphinx_disabled_refs, hard-code honor_disabled_refs in one more functionJakob Lykke Andersen2021-10-311-3/+2
| | |
* | | ntersphinx_disabled_refs, type renameJakob Lykke Andersen2021-10-312-4/+4
| | |
* | | intersphinx_disabled_refs, rename 'all' to '*'Jakob Lykke Andersen2021-10-311-1/+1
| | |
* | | Generalize to disable specific refs as well.Jakob Lykke Andersen2021-10-311-15/+24
| | |
* | | Remove intersphinx_disabled_domains from quickstartJakob Lykke Andersen2021-10-311-3/+0
| | |
* | | Add intersphinx_disabled_domainsJakob Lykke Andersen2021-10-312-11/+32
| | | | | | | | | | | | | | | Fixes sphinx-doc/sphinx#2068 Replaces sphinx-doc/sphinx#8981
* | | Intersphinx, refactoringJakob Lykke Andersen2021-10-312-96/+180
| | | | | | | | | | | | Also, when a reference is unresolved, don't strip the inventory prefix.
* | | Fix a flake8 warningTakeshi KOMIYA2021-10-311-3/+4
| | |
* | | Merge pull request #9656 from sdhiscocks/suppress_warning_subtype_noneTakeshi KOMIYA2021-10-311-1/+2
|\ \ \ | | | | | | | | Fix issue with warnings without subtype being incorrectly suppressed
| * | | Fix issue with warnings without subtype being incorrectly suppressedSteven Hiscocks2021-09-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes an issue with warnings that have been raised with no subtype being suppressed if a suppress warnings value with a subtype has been set. e.g. all `autodoc` warnings should not be suppressed if `autodoc.import_object` is only set to be suppressed.
* | | | Merge pull request #9798 from tk0miya/9775_LiteralTakeshi KOMIYA2021-10-311-1/+5
|\ \ \ \ | | | | | | | | | | Fix #9775: py domain: Literal typehint was converted to a cross reference
| * | | | Fix #9775: py domain: Literal typehint was converted to a cross referenceTakeshi KOMIYA2021-10-301-1/+5
| | | | |
* | | | | Update message catalogstk0miya2021-10-3125-52/+52
| | | | |
* | | | | Support docutils-0.18: Consume generator of Element.traverse()Takeshi KOMIYA2021-10-311-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | The last fix in i18n module was incorrect because it compares the "already consumed" generators. It should compares the lists of nodes.
* | | | | Merge pull request #9772 from gibsondan/loggingflushTakeshi KOMIYA2021-10-311-0/+5
|\ \ \ \ \ | |_|_|/ / |/| | | | Closes #9733: Fix for logging handler flushing warnings in the middle of the docs build
| * | | | Closes #9733: Fix for logging handler flushing warnings in the middle of the ↵gibsondan2021-10-251-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build Summary: My project was mysteriously dropping warnings (see https://github.com/sphinx-doc/sphinx/issues/9733 for detailed repro) and I realized that it's becaues it imports libraries like airflow or mlflow that set up loggers automatically when they are imported. This causes this handler to flush even though shouldFlush is set to always return False. A simple workaround is to override flush to be a no-op. Test Plan: Repeat repro steps from #9733 - project now always includes warnings
* | | | | Fix #9757: autodoc_inherit_docstrings does not effect to overriden classmethodsTakeshi KOMIYA2021-10-301-1/+3
| |/ / / |/| | |
* | | | Merge branch '4.x' into 9756_classmethod_not_having_funcTakeshi KOMIYA2021-10-27148-986/+1000
|\ \ \ \
| * \ \ \ Merge pull request #9764 from tk0miya/9752_annotated_slots_attributeTakeshi KOMIYA2021-10-271-3/+11
| |\ \ \ \ | | | | | | | | | | | | Fix #9752: autodoc: Failed to detect type annotation for slots attribute
| | * | | | Fix #9752: autodoc: Failed to detect type annotation for slots attributeTakeshi KOMIYA2021-10-231-3/+11
| | | | | |
| * | | | | Support docutils-0.18: Consume iterator of Element.traverse()Takeshi KOMIYA2021-10-2715-27/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since 0.18, Element.traverse() returns an iterator instead of intermediate object. As a result, the return value is always considered as truthy value. And it becomes fragile when the caller modifies the doctree on the loop.
| * | | | | Update message catalogstk0miya2021-10-25125-945/+945
| | | | | |
| * | | | | Merge pull request #9765 from mitya57/typoTakeshi KOMIYA2021-10-242-4/+4
| |\ \ \ \ \ | | | | | | | | | | | | | | Fix a typo in variable name
| | * | | | | Fix a typo in variable nameDmitry Shachnev2021-10-232-4/+4
| | | |/ / / | | |/| | |
| * | | | | Merge pull request #9737 from ahippo/latex-aggedrightTakeshi KOMIYA2021-10-231-1/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | LaTeX: fix '\raggedright' escaping causing "aggedright" text