summaryrefslogtreecommitdiff
path: root/sphinx/directives/other.py
Commit message (Collapse)AuthorAgeFilesLines
* Unescape quotation marks where possibleAdam Turner2023-02-181-1/+1
|
* Run pyupgrade (#11070)Adam Turner2023-01-021-1/+1
|
* Use PEP 595 typesAdam Turner2023-01-011-14/+14
|
* Insert ``from __future__ import annotations``Adam Turner2023-01-011-0/+2
|
* remove blanket 'noqas'Daniel Eades2022-12-161-1/+1
|
* Drop Python 3.7Adam Turner2022-09-271-1/+1
|
* Make toctree accept special docnames (#10673)Brecht Machiels2022-09-121-2/+6
| | | | | | The `.. toctree::` directive now supports the reserved special docnames 'genindex', 'modindex', and 'search'. Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
* Update include_patterns implementation (#10680)Adam Turner2022-07-231-1/+1
|
* Improve static typing strictness (#10569)danieleades2022-07-181-1/+1
|
* Add `include_patterns` as the opposite of `exclude_patterns` (#10518)Adam Turner2022-07-171-1/+1
|
* `rawsource` is deprecated in `docutils.nodes.Text`Adam Turner2022-04-221-1/+1
|
* Remove copyright and licence fieldsAdam Turner2022-02-201-5/+0
|
* Fix module docstring indentationAdam Turner2022-02-201-2/+2
|
* Remove module titles in docstringsAdam Turner2022-02-191-3/+0
|
* address some unused loop control variables (B007)Daniel Eades2022-01-121-1/+1
|
* A happy new year!Takeshi KOMIYA2022-01-011-1/+1
|
* 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
|
* refactor: Use PEP-526 based variable annotation (sphinx.directives)Takeshi KOMIYA2021-03-231-6/+6
|
* refactor: Add a type alias for the option_spec of directives; OptionSpecTakeshi KOMIYA2021-03-131-6/+7
|
* 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-011-1/+1
|\ \ | |/
| * A happy new year!Takeshi KOMIYA2021-01-011-1/+1
| | | | | | | | | | | | | | .. 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
* | Merge branch '3.x'Takeshi KOMIYA2020-11-121-3/+2
|\ \ | |/
| * Sort imports with isortFrançois Freitag2020-11-111-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Preserve backwards compatibilityPeter Bell2020-07-161-2/+5
| |
| * Require canonical name to be specified when calling deprecated_aliasPeter Bell2020-07-151-1/+1
| |
* | Close #8201: Emit a warning if toctree contains duplicated entriesTakeshi KOMIYA2020-09-131-1/+7
| |
* | Remove deprecated features marked as RemovedInSphinx40WarningTakeshi KOMIYA2020-04-291-11/+0
| |
* | Hello TYPE_CHECKING!Takeshi KOMIYA2020-03-071-3/+2
|/
* refactor: Update type annotations in sphinx.*Takeshi KOMIYA2020-02-231-2/+2
|
* Fix #6581: :reversed: for toctree does not effect to LaTeX buildTakeshi KOMIYA2020-02-061-0/+1
|
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* Move sphinx.directives.other:Index to sphinx.domains.indexTakeshi KOMIYA2019-12-291-26/+12
|
* Replace `a and b or c` by the more legible `b if a or c`.Antony Lee2019-12-211-1/+1
|
* Migrate to py3 style type annotation: sphinx.directives.otherTakeshi KOMIYA2019-06-081-28/+18
|
* Merge branch '2.0'Takeshi KOMIYA2019-03-071-1/+1
|\
| * Clean up import for annotationsTakeshi KOMIYA2019-03-061-1/+1
| |
* | Add a helper method ``SphinxDirective.set_source_info()``Takeshi KOMIYA2019-03-031-6/+5
|/
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | Remove unnecessary encoding cookie from Python source filesJon Dufresne2018-12-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python 3, the default encoding of source files is utf-8. The encoding cookie is now unnecessary and redundant so remove it. For more details, see the docs: https://docs.python.org/3/howto/unicode.html#the-string-type > The default encoding for Python source code is UTF-8, so you can > simply include a Unicode character in a string literal ... Includes a fix for the flake8 header checks to stop expecting an encoding cookie.
* | Use Python 3 super() argument-less syntaxJon Dufresne2018-12-151-2/+2
| | | | | | | | | | | | The form is less verbose and more idiomatic for Python 3 only code. https://docs.python.org/3/library/functions.html#super
* | Replace all "unicode" type by "str"Takeshi KOMIYA2018-12-151-3/+2
| |
* | Fix annotationsTakeshi KOMIYA2018-12-081-1/+2
| |
* | Fix annotations: Give Any type to state.memo to conceal errorsTakeshi KOMIYA2018-12-031-7/+8
| |
* | Fix annotations for Directives (Replace N_co with nodes.Node)Takeshi KOMIYA2018-12-011-25/+28
| |