summaryrefslogtreecommitdiff
path: root/sphinx/directives/code.py
Commit message (Expand)AuthorAgeFilesLines
* Resolve ``flake8-return`` errorsAdam Turner2023-02-181-9/+7
* Fix COM812Adam Turner2023-02-181-10/+10
* Run pyupgrade (#11070)Adam Turner2023-01-021-1/+1
* Use PEP 604 typesAdam Turner2023-01-011-12/+12
* Use PEP 595 typesAdam Turner2023-01-011-26/+26
* Insert ``from __future__ import annotations``Adam Turner2023-01-011-0/+2
* remove blanket 'noqas'Daniel Eades2022-12-161-1/+3
* Fix more strict static typing errors (#10681)danieleades2022-08-281-1/+1
* Improve static typing strictness (#10569)danieleades2022-07-181-13/+31
* Fix #10318: literalinclude: :prepend: option working with :dedent:Takeshi KOMIYA2022-04-021-2/+2
* 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
* code-block: Pass list of strings ends with CR code to dedent_lines()Takeshi KOMIYA2022-01-151-3/+3
* Merge branch '4.x' into HEADTakeshi KOMIYA2022-01-151-1/+1
|\
| * A happy new year!Takeshi KOMIYA2022-01-011-1/+1
* | Fix: 9636: code-block: Do not remove newlines with :dedent:Latosha Maltba2021-09-211-1/+1
* | code-block: Handle ``0`` as numeric argument in :dedent:Latosha Maltba2021-09-211-1/+1
|/
* refactor: Use PEP-526 based variable annotation (sphinx.directives)Takeshi KOMIYA2021-03-231-2/+2
* refactor: Add a type alias for the option_spec of directives; OptionSpecTakeshi KOMIYA2021-03-131-3/+4
* 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-011-1/+1
|\ \ | |/
| * A happy new year!Takeshi KOMIYA2021-01-011-1/+1
* | Do isortTakeshi KOMIYA2020-11-121-2/+1
* | Merge branch '3.x'Takeshi KOMIYA2020-11-121-2/+1
|\ \ | |/
| * Sort imports with isortFrançois Freitag2020-11-111-2/+1
* | 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 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-291-13/+0
* | Hello TYPE_CHECKING!Takeshi KOMIYA2020-03-071-2/+2
|/
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
* Fix #6742: end-before option of literalinclude skips first lineTakeshi KOMIYA2019-10-281-1/+1
* Migrate to py3 style type annotation: sphinx.directives.codeTakeshi KOMIYA2019-06-081-43/+25
* Add :force: option to code directivesTakeshi KOMIYA2019-06-011-3/+9
* Add a helper method ``SphinxDirective.set_source_info()``Takeshi KOMIYA2019-03-031-3/+2
* directive-code: do not force linenos value on runJames Knight2019-02-161-5/+5
* Close #1851: Allow to omit an argument for code-block directiveTakeshi KOMIYA2019-02-041-5/+17
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
* | Replace EnvironmentError and IOError by OSErrorTakeshi KOMIYA2018-12-191-2/+2
* | Fix annotations of code directivesTakeshi KOMIYA2018-12-181-11/+11
* | Merge pull request #5819 from jdufresne/coding-commentTakeshi KOMIYA2018-12-171-1/+0
|\ \
| * | Remove unnecessary encoding cookie from Python source filesJon Dufresne2018-12-161-1/+0
* | | Pass exceptions directly to docutils reporterJon Dufresne2018-12-161-4/+3
|/ /
* | refactor: Remove u-prefix from stringsTakeshi KOMIYA2018-12-161-1/+1
* | Use Python 3 super() argument-less syntaxJon Dufresne2018-12-151-1/+1
* | Replace all "unicode" type by "str"Takeshi KOMIYA2018-12-151-16/+15