summaryrefslogtreecommitdiff
path: root/sphinx/directives
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge branch '4.x'Takeshi KOMIYA2022-01-091-3/+3
|\ \ \ | | |/ | |/|
| * | Fix mypy violations (with mypy-0.931)Takeshi KOMIYA2022-01-091-1/+1
| | |
| * | Merge branch '4.3.x' into 4.xTakeshi KOMIYA2022-01-091-2/+2
| |\ \
| | * | Fix mypy violations (with mypy-0.931)Takeshi KOMIYA2022-01-091-2/+2
| | | |
* | | | Merge branch '4.x'Takeshi KOMIYA2022-01-031-1/+1
|\ \ \ \ | |/ / /
| * | | Migrate to Node.findall() from Node.traverse()Takeshi KOMIYA2022-01-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 KOMIYA2022-01-021-4/+3
|\ \ \ \ | |/ / /
| * | | i18n: meta strings are not translated with docutils-0.18Takeshi KOMIYA2022-01-021-4/+3
| |/ / | | | | | | | | | | | | | | | | | | 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 branch '4.x'Takeshi KOMIYA2022-01-014-4/+4
|\ \ \ | |/ /
| * | A happy new year!Takeshi KOMIYA2022-01-014-4/+4
| | |
* | | refactor: Remove RemovedInSphinx50Warning (partially)Takeshi KOMIYA2021-12-171-11/+0
|/ /
* | Merge branch '4.x' into 9623_suppress_warnings_for_excluded_document_in_toctreeTakeshi KOMIYA2021-11-101-5/+16
|\ \
| * | Fix #9688: ImportError for set_classes()Takeshi KOMIYA2021-10-091-0/+1
| | |
| * | Merge branch '4.x' into class-option-for-code-directiveTakeshi KOMIYA2021-10-091-5/+14
| |\ \
| | * | Support docutils-0.18; Meta directive and meta node has movedTakeshi KOMIYA2021-10-031-5/+14
| | |/
| * | Fix bug of Sphinx's .. code:: directive not recognizing :class: optionLatosha Maltba2021-10-031-0/+1
| |/ | | | | | | | | | | | | | | | | | | Sphinx's own .. code:: directive (but not docutils') does not recognise the :class: option but only the :classes: option. This is probably due to an oversight that the user-visible option is called ``:class:`` while the Python attribute is called ``classes`` (to not collide with the keyword ``class``). Fix it by checking for the option ``class`` instead of ``classes``.
* | 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
|/
* Decl styling, move desc dynamic classes to domain base classJakob Lykke Andersen2021-04-121-0/+1
|
* refactor: Use PEP-526 based variable annotation (sphinx.directives)Takeshi KOMIYA2021-03-234-15/+15
|
* refactor: Add a type alias for the option_spec of directives; OptionSpecTakeshi KOMIYA2021-03-134-15/+18
|
* Close #8487: csv-table now considers abspath as relpath from srcdirTakeshi KOMIYA2021-03-091-12/+25
| | | | | | To make directives' behavior consistent, the :file: option for csv-table directive now recognizes an absolute path as a relative path from source directory.
* Fix wrong directive name in warning messagesTakeshi KOMIYA2021-03-071-2/+2
|
* Merge branch '3.x'Takeshi KOMIYA2021-01-301-0/+1
|\
| * Fix #8072: Directive hlist not implemented in LaTeXjfbu2021-01-281-0/+1
| | | | | | | | | | Adds ``multicol`` LaTeX package requirement, but it is a required part of any latex distribution.
* | Merge branch '3.x'Takeshi KOMIYA2021-01-161-3/+5
|\ \ | |/
| * Fix #2030: automatic dedent support in code-block directiveTakeshi KOMIYA2021-01-131-3/+5
| |
* | Merge branch '3.x'Takeshi KOMIYA2021-01-081-5/+7
|\ \ | |/
| * refactor: Update typehints for ObjectDescription using GenericTakeshi KOMIYA2021-01-031-5/+7
| |
* | Merge branch '3.x'Takeshi KOMIYA2021-01-014-4/+4
|\ \ | |/
| * A happy new year!Takeshi KOMIYA2021-01-014-4/+4
| | | | | | | | | | | | | | .. note:: $ find sphinx tests LICENSE doc/conf.py -type f -exec sed -i '' -e 's/2007\-20../2007-2021/' {} \; $ git co sphinx/locale/**/*.js sphinx/templates/epub3/mimetype
* | Do isortTakeshi KOMIYA2020-11-121-2/+1
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-11-124-10/+6
|\ \ | |/
| * Sort imports with isortFrançois Freitag2020-11-114-23/+12
| | | | | | | | | | | | | | | | | | | | | | | | Keep imports alphabetically sorted and their order homogeneous across Python source files. The isort project has more feature and is more active than the flake8-import-order plugin. Most issues caught were simply import ordering from the same module. Where imports were purposefully placed out of order, tag with isort:skip.
* | Close #8201: Emit a warning if toctree contains duplicated entriesTakeshi KOMIYA2020-09-131-1/+7
| |
* | Merge branch '3.x' into masterTakeshi KOMIYA2020-09-131-1/+1
|\ \ | |/
| * Fix #8163: Update warning message for :dedent: optionTakeshi KOMIYA2020-09-051-1/+1
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-07-241-1/+4
|\ \ | |/
| * Preserve backwards compatibilityPeter Bell2020-07-162-25/+47
| |
| * Require canonical name to be specified when calling deprecated_aliasPeter Bell2020-07-152-19/+22
| |
* | Merge commit '05c65163ecd0ce7bdb7c6807de683266b98e5b28'Takeshi KOMIYA2020-07-051-4/+5
|\ \ | |/
| * Fix exception causes in code.pyRam Rachum2020-06-121-4/+5
| |
* | Remove deprecated features marked as RemovedInSphinx40WarningTakeshi KOMIYA2020-04-293-60/+1
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-04-061-0/+10
|\ \ | |/
| * Add ObjectDescription.transform_content()Jakob Lykke Andersen2020-03-291-0/+10
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-03-211-4/+6
|\ \ | |/
| * Simplify backslash strippingJakob Lykke Andersen2020-03-201-22/+2
| |
| * Remove backslash stripping in domains.Jakob Lykke Andersen2020-03-201-2/+24
| | | | | | | | | | | | Adds several ways to reinstate the old behaviour. Fixes sphinx-doc/sphinx#6462