summaryrefslogtreecommitdiff
path: root/sphinx/directives
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Hello TYPE_CHECKING!Takeshi KOMIYA2020-03-074-11/+8
| |
* | Deprecate codes for docutils-0.13 or 0.14Takeshi KOMIYA2020-03-071-3/+17
|/
* refactor: Set source_info to nodesTakeshi KOMIYA2020-02-291-0/+1
|
* refactor: Update type annotations in sphinx.*Takeshi KOMIYA2020-02-232-3/+3
|
* Merge branch '7144_styling_desc_by_domainname' into 3.xTakeshi KOMIYA2020-02-221-0/+2
|\
| * Close #7144: Add CSS class indicating its domain for each desc nodeTakeshi KOMIYA2020-02-161-0/+2
| |
* | Merge branch 'drop_desc_signature_first' into 3.xTakeshi KOMIYA2020-02-221-1/+0
|\ \
| * | Deprecate desc_signature['first']Takeshi KOMIYA2020-02-091-1/+0
| |/
* | Deprecate DescDirectiveTakeshi KOMIYA2020-02-221-4/+8
|/
* Fix #6581: :reversed: for toctree does not effect to LaTeX buildTakeshi KOMIYA2020-02-061-0/+1
|
* Add new event: :event:`object-description-transform`Takeshi KOMIYA2020-01-251-0/+4
|
* A happy new year!Takeshi KOMIYA2020-01-014-4/+4
|
* Move sphinx.directives.other:Index to sphinx.domains.indexTakeshi KOMIYA2019-12-292-28/+15
|
* Replace `a and b or c` by the more legible `b if a or c`.Antony Lee2019-12-211-1/+1
|
* Fix #6742: end-before option of literalinclude skips first lineTakeshi KOMIYA2019-10-281-1/+1
|
* Merge branch '2.1.3' into 2.0Takeshi KOMIYA2019-06-191-0/+1
|\
| * repair white spaceViktor Haag2019-06-181-0/+2
| |
| * Simplify to ensure we're lazily setting the instance field-type-map variableViktor Haag2019-06-181-17/+9
| | | | | | | | | | | | - We can more simply have ObjectDescription.get_field_type_map() make sure that it's going to lazily set the value of an instance variable, not the class variable, when it populates the field type map.
| * mypy type annotations for methods addedViktor Haag2019-06-141-1/+2
| | | | | | | | | | | | | | - type annotation for _process_type_map was incorrect; needed to document the positional argument for the method - __init__ method for ObjectDescription missing type annotation, so added
| * type declaration for new internal methodViktor Haag2019-06-131-0/+1
| |