summaryrefslogtreecommitdiff
path: root/sphinx/util
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove sphinx.util.docutils.__version_info__ on 7.0Takeshi KOMIYA2022-05-031-3/+2
|
* Merge pull request #10381 from tk0miya/deprecation_for_docutils-0.13Takeshi KOMIYA2022-05-032-17/+6
|\ | | | | Mark APIs for docutils-0.13 deprecated and remove monkey-patch for it
| * Remove monkey-patch for docutils-0.13Takeshi KOMIYA2022-05-031-15/+0
| |
| * Deprecate: html5_ready and is_html5_writer_available()Takeshi KOMIYA2022-05-031-2/+6
| |
* | Merge pull request #10353 from tk0miya/10305_optional_forwardref_annotationsTakeshi KOMIYA2022-05-031-0/+6
|\ \ | |/ |/| Fix #10305: autodoc: Failed to extract optional forwardrefs
| * Fix #10305: autodoc: Failed to extract optional forwardrefsTakeshi KOMIYA2022-04-171-0/+6
| | | | | | | | | | Autodoc fails to extract optional forwardrefs (ex. `Optional[MyClass]`) even if `MyClass` is declared in `autodoc_type_aliases`.
* | Merge branch '5.x' into fix-warningsAdam Turner2022-05-022-0/+39
|\ \ | | | | | | | | | | | | # Conflicts: # tests/test_search.py
| * | Review commentsAdam Turner2022-05-011-19/+5
| | |
| * | Schedule removal for 7.0Adam Turner2022-04-301-2/+2
| | |
| * | Revert removal of `jsdump` implementationAdam Turner2022-04-301-6/+199
| | |
| * | Deprecate `sphinx.util.jsdump`Adam Turner2022-04-271-194/+21
| | |
| * | C and C++, refactor attribute listsJakob Lykke Andersen2022-04-171-0/+33
| | |
* | | Review: Restore `sphinx.util.docutils.__version_info__` and deprecateAdam Turner2022-04-241-0/+9
| | |
* | | `rawsource` is deprecated in `docutils.nodes.Text`Adam Turner2022-04-221-4/+4
| | |
* | | Use docutils.__version_info__ directlyAdam Turner2022-04-222-6/+3
| | |
* | | Specify encodingAdam Turner2022-04-221-0/+1
|/ /
* | Remove deprecated code for Sphinx 5.0Adam Turner2022-04-171-16/+8
|/
* Fix test_restifyAdam Turner2022-04-091-0/+3
|
* Merge pull request #10313 from ↵Takeshi KOMIYA2022-04-031-1/+6
|\ | | | | | | | | GutiCW/feature-support_mocked_decorator_for_class_methods Support mocked decorator for class methods
| * Use `safe_getattr()` to access `__self__`.Christian Walch2022-04-011-4/+1
| |
| * Move method `isboundmethod()` into sphinx/util/inspect.py.Christian Walch2022-04-011-1/+9
| |
* | Fix #10279: autodoc: Default values are rendered as a string literalTakeshi KOMIYA2022-04-011-1/+4
| | | | | | | | | | When processing overloaded functions, autodoc unexpectedly renders its default values for kwonlyargs as a string literal unexpectedly
* | Merge branch '4.x'Takeshi KOMIYA2022-03-272-2/+26
|\ \ | |/
| * Update PEP links in docsHugo van Kemenade2022-03-241-1/+1
| |
| * Merge pull request #10186 from ultmaster/rst-get-language-patchTakeshi KOMIYA2022-03-211-1/+25
| |\ | | | | | | Patch rst get language in docutils
| | * Patch rst get language in docutilsYuge Zhang2022-02-111-1/+25
| | |
* | | Merge branch '4.x'Takeshi KOMIYA2022-03-1931-299/+72
|\ \ \ | |/ /
| * | Merge pull request #10260 from hugovk/colour-env-varsTakeshi KOMIYA2022-03-171-0/+4
| |\ \ | | | | | | | | Enable FORCE_COLOR and NO_COLOR for terminal colouring
| | * | Enable FORCE_COLOR and NO_COLOR for terminal colouringHugo van Kemenade2022-03-121-0/+4
| | | |
| * | | Merge pull request #10212 from AA-Turner/remove-module-docstring-titlesTakeshi KOMIYA2022-03-1431-297/+64
| |\ \ \ | | | | | | | | | | Remove module docstring titles
| | * | | Collapse single line docstringsAdam Turner2022-02-2026-52/+26
| | | | |
| | * | | Remove copyright and licence fieldsAdam Turner2022-02-2030-90/+1
| | | | |
| | * | | Conform to PEP 257 summary line conventionsAdam Turner2022-02-203-2/+7
| | | | |
| | * | | Fix module docstring indentationAdam Turner2022-02-2031-90/+90
| | | | |
| | * | | Fix module docstring first lineAdam Turner2022-02-2030-60/+30
| | | | |
| | * | | Remove module titles in docstringsAdam Turner2022-02-1931-93/+0
| | |/ /
| * | | Update sphinx/util/cfamily.pyJeremy Maitin-Shepard2022-03-111-3/+3
| | | | | | | | | | | | Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
| * | | Update sphinx/util/cfamily.pyJeremy Maitin-Shepard2022-03-111-1/+1
| | | | | | | | | | | | Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
| * | | [C++] Support attributes on class and union and improve formattingJeremy Maitin-Shepard2022-03-101-2/+4
| |/ /
* | | Merge branch '4.x'Takeshi KOMIYA2022-02-191-2/+10
|\ \ \ | |/ /
| * | Fix #9971: autodoc: TypeError for annotation with unhashable objectTakeshi KOMIYA2022-02-111-2/+10
| |/ | | | | | | | | restify() and stringify() fails with TypeError when unhashable object is given.
* | Merge commit '07110b7557a552ecfe702bdd6a2d2f9685cb1af9'Takeshi KOMIYA2022-02-141-0/+10
|\ \ | |/
| * Fix #10133: autodoc: Crashed when mocked module is used for type annotationTakeshi KOMIYA2022-01-301-0/+10
| |
* | Merge branch '4.x'Takeshi KOMIYA2022-01-173-20/+43
|\ \ | |/
| * refactor: Add CustomReSTDispatcher as a base class of custom dispatchersTakeshi KOMIYA2022-01-161-14/+37
| | | | | | | | | | To create custom reST dispatcher easily, this adds CustomReSTDispatcher class as a base class of custom dispatchers.
| * address some unused loop control variables (B007)Daniel Eades2022-01-122-6/+6
| |
* | Merge branch '4.x'Takeshi KOMIYA2022-01-165-13/+9
|\ \ | |/
| * Merge pull request #10068 from tk0miya/10057_scanning_docs_on_rootTakeshi KOMIYA2022-01-121-2/+3
| |\ | | | | | | Fix #10057: Failed to scan documents on the root directory
| | * Fix #10057: Failed to scan documents on the root directoryTakeshi KOMIYA2022-01-091-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | get_matching_files() incorrectly drops the first character of each path on scanning documents. It will help users to exclude paths via exclude_patterns setting. Note: Users need to configure `exclude_patterns` to put their document on the root directory. This does not help to avoid recursive symlinks (ex. /proc, /sys)
| * | simplify some set comparisons (SIM109)Daniel Eades2022-01-102-8/+4
| | |