summaryrefslogtreecommitdiff
path: root/sphinx/directives/code.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix typo in 'emphasize-lines'Ray Lehtiniemi2017-04-121-1/+1
| | | | Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
* Fix #3108: Show warning if :start-at: and other literalinclude options does ↵Takeshi KOMIYA2017-03-261-0/+10
| | | | not match to the text
* Merge branch 'stable'Takeshi KOMIYA2017-03-261-1/+1
|\
| * Year++Takeshi KOMIYA2017-03-261-1/+1
| |
* | Upgrade to mypy-0.5Takeshi KOMIYA2017-03-031-1/+1
| |
* | Fix a loopTakeshi KOMIYA2017-02-251-1/+1
| |
* | literalinclude directive allows combination of :pyobject: and :lines:Takeshi KOMIYA2017-02-221-1/+0
| |
* | Show warning if :lines: and :emphasize-lines: get out of rangeTakeshi KOMIYA2017-02-211-18/+36
| |
* | Fix flake8 violationTakeshi KOMIYA2017-02-181-1/+1
| |
* | Emit warning if over dedent has detected on ``literalinclude`` directiveTakeshi KOMIYA2017-02-181-10/+18
| |
* | Fix flake8 violationTakeshi KOMIYA2017-02-181-1/+1
| |
* | Merge branch 'master' into refactor_literalincludeTakeshi KOMIYA2017-02-171-1/+1
|\ \
| * \ Merge branch 'master' into literalincludelinesJean-François B2017-02-131-5/+17
| |\ \
| * | | Fix an issue with lineno-start and a flake8 violationjfbu2017-02-101-4/+6
| | | |
| * | | If ``:start-after:`` is used, make ``:lines:`` relative (close: #3412)jfbu2017-02-101-27/+29
| | |/ | |/|
* | | Add testcase for :lineno-match: optionTakeshi KOMIYA2017-02-171-7/+7
| | |
* | | parselinenos() raises out of range errorTakeshi KOMIYA2017-02-131-5/+1
| | |
* | | Refactor literalinclude directiveTakeshi KOMIYA2017-02-121-192/+229
| |/ |/|
* | Merge branch 'stable'Takeshi KOMIYA2017-01-291-2/+2
|\ \ | |/
| * Fix #3370: the caption of code-block is not picked up for translationTakeshi KOMIYA2017-01-261-2/+2
| |
* | Merge branch 'stable'Takeshi KOMIYA2017-01-121-3/+3
|\ \ | |/
| * Fix flake8 violationsTakeshi KOMIYA2017-01-121-3/+3
| |
* | Update type annotationsTakeshi KOMIYA2016-12-151-1/+1
| |
* | Merge branch 'stable'Takeshi KOMIYA2016-12-141-0/+6
|\ \ | |/
| * builtin extensions return metadata to allow parallel buildTakeshi KOMIYA2016-12-121-0/+6
| |
* | Add type-check annotations to sphinx.*Takeshi KOMIYA2016-11-161-5/+17
|/
* Merge pull request #2843 from rthardin/issue_625_start_at_end_atTakeshi KOMIYA2016-10-121-6/+30
|\ | | | | Add :start-at: and :end-at: parameters for literalinclude
| * Added :start-at: and :end-at: parameters for literalincludeRyan Hardin2016-08-101-6/+30
| | | | | | | | This feature is discussed as part of issue #625.
* | Fix #2931: code-block directive with same :caption: causes warning of ↵Takeshi KOMIYA2016-09-171-2/+0
| | | | | | | | duplicate target
* | Merge branch 'stable'Takeshi KOMIYA2016-08-181-2/+15
|\ \ | |/ |/|
| * Fix parsing errors for caption of code-blocks are displayed in document ↵Takeshi KOMIYA2016-08-121-2/+15
| | | | | | | | (ref: #2845)
* | Closes #2799: Sphinx installs roles and directives automatically on ↵Takeshi KOMIYA2016-07-281-5/+6
| | | | | | | | | | | | importing sphinx module. Now Sphinx installs them on running application.
* | Refactor code using ``with`` syntaxTakeshi KOMIYA2016-05-261-9/+5
|/
* Merge branch 'stable'Georg Brandl2016-01-141-1/+1
|\
| * Obligatory copyright update.Georg Brandl2016-01-141-1/+1
| |
| * Fix #1790 literalinclude strips empty lines at the head and tailTakeshi KOMIYA2015-04-021-9/+0
| |
* | Fix #2113: Allow ``:class:`` option to code-block directiveTakeshi KOMIYA2015-12-201-0/+4
| |
* | Fix #1790 literalinclude strips empty lines at the head and tailTakeshi KOMIYA2015-03-311-9/+0
|/
* Fix #1770: regard empty file as an empty stringTakayuki Hirai2015-03-141-1/+1
|
* refs #1742: `:name:` option is provided for `toctree`, `code-block` and ↵shimizukawa2015-03-081-4/+15
| | | | `literalinclude` dirctives.
* Closes #1630: resolve CSS conflicts, ``div.container`` css target for ↵shimizukawa2015-02-231-1/+2
| | | | literal block wrapper now renamed to ``div.literal-block-wrapper``.
* Merge branch 'stable'Georg Brandl2015-01-031-1/+1
|\
| * all: update copyrightGeorg Brandl2015-01-031-1/+1
| |
* | fix line separator issueJeppe Pihl2014-10-061-3/+4
| |
* | fixed bugs, and extended unit test to catch them again if they reappearJeppe Pihl2014-10-061-3/+4
| |
* | mergeJeppe Pihl2014-10-061-4/+7
|\ \
| * | Fix. <caption> node should not include <paragraph> block element as a result ↵Takayuki Shimizukawa2014-10-061-4/+7
| | | | | | | | | | | | of nested_parse.
* | | fixed issues with line numbering not being showed correctly.Jeppe Pihl2014-10-021-17/+39
| | |
* | | fix pep8 warningsJeppe Pihl2014-10-011-8/+8
| | |
* | | #1583: Allow the line numbering of the directive `literalinclude` to match ↵Jeppe Pihl2014-09-301-11/+24
|/ / | | | | | | that of the included file, using a new ``lineno-match`` option.