summaryrefslogtreecommitdiff
path: root/sphinx/directives/code.py
Commit message (Expand)AuthorAgeFilesLines
* 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
* | Move to py3 mode for mypy (and remove many "type: ignore" comments)Takeshi KOMIYA2018-12-151-2/+1
* | Simplify open() call by removing default modeJon Dufresne2018-12-111-1/+1
* | Use StringList for params to docutils because of expectedTakeshi KOMIYA2018-12-031-2/+2
* | Fix annotations for Directives (Replace N_co with nodes.Node)Takeshi KOMIYA2018-12-011-5/+5
* | Fix annotations for directivesTakeshi KOMIYA2018-11-291-14/+17
* | refactor: Use super() to call methods of superclassTakeshi KOMIYA2018-11-281-1/+1
* | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-241-0/+1
* | Merge branch '1.8'Takeshi KOMIYA2018-11-011-1/+1
|\ \ | |/
| * Fix #5471: Show appropriate warning for deprecated APIsTakeshi KOMIYA2018-10-171-1/+1
* | Merge branch 'master' into HEADTakeshi KOMIYA2018-09-221-2/+2
|\ \
| * | Prefer builtin open() over io.open() and codecs.open()Jon Dufresne2018-09-111-2/+2
| |/
* | Remove unnecessary object from class definitionsJon Dufresne2018-09-111-1/+1
|/
* Merge branch '1.7'Takeshi KOMIYA2018-06-091-1/+1
|\