summaryrefslogtreecommitdiff
path: root/sphinx/ext
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | | escape base_uri in extlinks to avoid regex issues with URIs containing ↵Nico Albers2022-03-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | special characters
| * | | | | Merge branch '4.x'Takeshi KOMIYA2022-03-273-2/+7
| |\ \ \ \ \ | | |/ / / / | | | | / / | | |_|/ / | |/| | |
| | * | | extlinks: Disable hardcoded links detector by default (refs: #10126)Takeshi KOMIYA2022-03-271-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The hardcoded links detector added since 4.4.0 causes troubles in many projects. Therefore, this disables it by default, and adds a new configuration `extlinks_detect_hardcoded_links` to enable it explicitly.
| | * | | Update PEP links in docsHugo van Kemenade2022-03-242-2/+2
| | | | |
| * | | | Merge branch '4.x'Takeshi KOMIYA2022-03-1931-358/+135
| |\ \ \ \ | | |/ / / | | | | / | | |_|/ | |/| |
| | * | Merge pull request #10212 from AA-Turner/remove-module-docstring-titlesTakeshi KOMIYA2022-03-1431-357/+134
| | |\ \ | | | |/ | | |/| Remove module docstring titles
| | | * Fix whitespaceAdam Turner2022-03-072-10/+2
| | | |
| | | * Collapse single line docstringsAdam Turner2022-02-2014-28/+14
| | | |
| | | * Remove copyright and licence fieldsAdam Turner2022-02-2031-95/+0
| | | |
| | | * Conform to PEP 257 summary line conventionsAdam Turner2022-02-2012-23/+38
| | | |
| | | * Fix module docstring indentationAdam Turner2022-02-2031-164/+164
| | | |
| | | * Fix module docstring first lineAdam Turner2022-02-2028-56/+28
| | | |
| | | * Remove module titles in docstringsAdam Turner2022-02-1931-93/+0
| | | |
| | * | Close #10234: autosummary: Add "autosummary" CSS class to summary tablesTakeshi KOMIYA2022-03-061-1/+1
| | |/
| * | Merge branch '4.x'Takeshi KOMIYA2022-02-193-6/+13
| |\ \ | | |/
| | * Fix #10181: napoleon_use_ivar adds unexpected prefix to varsTakeshi KOMIYA2022-02-121-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | Since 4.0, :ivar: items has not been rendered as hyperlinks. So any modules, classes and tilda are now harmful. This removes the prefixing filter for napoleon_use_ivar option. refs: #5129 and #5977
| | * Merge pull request #10150 from ↵Takeshi KOMIYA2022-02-062-2/+3
| | |\ | | | | | | | | | | | | | | | | tk0miya/10146_autodoc_default_options_should_support_no-value Close #10146: autodoc: autodoc_default_options does not support `no-value` option
| | | * Close #10146: autodoc: autodoc_default_options does not support `no-value` ↵Takeshi KOMIYA2022-01-312-2/+3
| | | | | | | | | | | | | | | | option
| | * | Merge branch '4.4.x' into 4.xTakeshi KOMIYA2022-02-061-3/+6
| | |\ \ | | | |/ | | |/|
| | | * Fix #9876: autodoc: ocument a class on binary moduleTakeshi KOMIYA2022-01-301-3/+6
| | | |
| * | | Merge commit '07110b7557a552ecfe702bdd6a2d2f9685cb1af9'Takeshi KOMIYA2022-02-142-2/+12
| |\ \ \ | | |/ /
| | * | Merge pull request #10136 from tk0miya/10133_autodoc_mocked_moduleTakeshi KOMIYA2022-01-301-0/+5
| | |\ \ | | | | | | | | | | Fix #10133: autodoc: Crashed when mocked module is used for type annotation
| | | * | Fix #10133: autodoc: Crashed when mocked module is used for type annotationTakeshi KOMIYA2022-01-301-0/+5
| | | |/
| | * | Close #10125: extlinks: Improve suggestion message for a reference having titleTakeshi KOMIYA2022-01-231-2/+7
| | |/
| * | Merge branch '4.x'Takeshi KOMIYA2022-01-178-18/+161
| |\ \ | | |/
| | * intersphinx role, simplify role_name checkJakob Lykke Andersen2022-01-161-2/+3
| | | | | | | | | | | | Co-authored-by: Takeshi KOMIYA <i.tkomiya@gmail.com>
| | * intersphinx role, simplify role name matchingJakob Lykke Andersen2022-01-161-14/+13
| | |
| | * intersphinx role: :external+inv:**: instead of :external:inv+**:Jakob Lykke Andersen2022-01-161-12/+18
| | |
| | * intersphinx role, remove redundant methodJakob Lykke Andersen2022-01-161-3/+0
| | |
| | * intersphinx role, fix flake8 warningsJakob Lykke Andersen2022-01-161-3/+3
| | |
| | * intersphinx role, hax role name to preserve caseJakob Lykke Andersen2022-01-161-2/+6
| | |
| | * intersphinx role: new inventory parsing from role nameJakob Lykke Andersen2022-01-161-12/+30
| | |
| | * intersphinx role, implement warning schemeJakob Lykke Andersen2022-01-161-12/+6
| | | | | | | | | | | | and temporarily remove explicit inventories
| | * intersphinx role, update based on merged refactoringJakob Lykke Andersen2022-01-161-11/+15
| | |
| | * intersphinx: explicitly parse out inventory specificationJakob Lykke Andersen2022-01-161-0/+13
| | |
| | * intersphinx: remove dual warning from role resolutionJakob Lykke Andersen2022-01-161-8/+2
| | |
| | * intersphinx role: rename to 'external'Jakob Lykke Andersen2022-01-161-5/+5
| | |
| | * intersphinx: Add :intersphinx:***: roleTakeshi KOMIYA2022-01-161-4/+119
| | |
| | * Merge pull request #10078 from ↵Takeshi KOMIYA2022-01-166-8/+8
| | |\ | | | | | | | | | | | | | | | | danieleades/refactor/unused-loop-control-variables address some unused loop control variables
| | | * address some unused loop control variables (B007)Daniel Eades2022-01-126-8/+8
| | | |
| | * | Merge pull request #10101 from Gobot1234/4.xTakeshi KOMIYA2022-01-161-6/+4
| | |\ \ | | | |/ | | |/| Fix empty returns section
| | | * Only add returns section if there is somethingJames Hilton-Balfe2022-01-151-6/+4
| | | |
| * | | Merge branch '4.x'Takeshi KOMIYA2022-01-162-4/+2
| |\ \ \ | | |/ /
| | * | Merge pull request #10080 from danieleades/refactor/simplify-set-comparisonTakeshi KOMIYA2022-01-121-2/+2
| | |\ \ | | | | | | | | | | simplify some set comparisons (SIM109)
| | | * | simplify some set comparisons (SIM109)Daniel Eades2022-01-101-2/+2
| | | | |
| | * | | Fix #10058: autosummary: Imported members are not shownTakeshi KOMIYA2022-01-111-2/+0
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Merge branch '4.x'Takeshi KOMIYA2022-01-038-12/+12
| |\ \ \ | | |/ /
| | * | Migrate to Node.findall() from Node.traverse()Takeshi KOMIYA2022-01-038-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | autodoc: The default of autodoc_typehints_format becomes to 'smart'Takeshi KOMIYA2022-01-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-021-5/+26
| |\ \ \ | | |/ /