summaryrefslogtreecommitdiff
path: root/sphinx/directives/patches.py
Commit message (Collapse)AuthorAgeFilesLines
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* refactor: Add data accessors to MathDomainTakeshi KOMIYA2019-06-151-12/+10
|
* Migrate to py3 style type annotation: sphinx.directives.patchesTakeshi KOMIYA2019-06-091-22/+13
|
* Add :force: option to code directivesTakeshi KOMIYA2019-06-011-2/+2
|
* ``math`` directive does not support ``:class:`` optionTakeshi KOMIYA2019-03-231-0/+2
| | | | | | ``:class:`` option is a common options for all directives. But our implementation does not support it so far. This adds support for the option.
* Merge branch '2.0'Takeshi KOMIYA2019-03-101-0/+48
|\
| * Merge branch '2.0' into 2155_code_directiveTakeshi KOMIYA2019-03-101-3/+6
| |\
| * | Close #2155: Support ``code`` directiveTakeshi KOMIYA2019-03-031-0/+48
| | |
* | | Merge branch '2.0'Takeshi KOMIYA2019-03-071-3/+6
|\ \ \ | | |/ | |/|
| * | Merge branch '1.8' into 2.0Takeshi KOMIYA2019-03-071-3/+6
| |\ \ | | |/ | |/|
| | * Fix #6136: ``:name:`` option for ``math`` directive causes a crashTakeshi KOMIYA2019-03-061-3/+6
| | |
* | | Add a helper method ``SphinxDirective.set_source_info()``Takeshi KOMIYA2019-03-031-1/+1
|/ /
* | Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\ \ | |/
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | Merge pull request #5819 from jdufresne/coding-commentTakeshi KOMIYA2018-12-171-1/+0
|\ \ | | | | | | Remove unnecessary encoding cookie from Python source files
| * | 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.
* | | Pass exceptions directly to docutils reporterJon Dufresne2018-12-161-1/+1
|/ / | | | | | | | | The docutils reporter supports an exception as an argument. It is converted to a string internally.
* | Use Python 3 super() argument-less syntaxJon Dufresne2018-12-151-5/+5
| | | | | | | | | | | | 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-1/+0
| |
* | Add docutils-stubs to test depsTakeshi KOMIYA2018-12-151-2/+2
| |
* | Fix annotations (minor fixes)Takeshi KOMIYA2018-12-031-1/+1
| |
* | Fix annotations for Directives (Replace N_co with nodes.Node)Takeshi KOMIYA2018-12-011-9/+9
| |
* | Fix annotations for directivesTakeshi KOMIYA2018-11-291-6/+6
| |
* | refactor: Use super() to call methods of superclassTakeshi KOMIYA2018-11-281-5/+5
| |
* | Fix annotations of directives.patchesTakeshi KOMIYA2018-11-271-9/+13
| |
* | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-241-0/+1
|/
* Remove unused codeTakeshi KOMIYA2018-05-191-2/+0
|
* Enable math_block node rendering by default (without HTML builders)Takeshi KOMIYA2018-05-171-0/+59
|
* Add SphinxDirective as a helperTakeshi KOMIYA2018-03-311-3/+3
|
* Merge branch '1.7'Takeshi KOMIYA2018-03-181-3/+2
|\
| * Revert "Use typing.TYPE_CHECKING for typehints"Takeshi KOMIYA2018-03-131-3/+2
| | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4.
* | Merge branch '1.7'Takeshi KOMIYA2018-02-181-2/+3
|\ \ | |/
| * Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA2018-02-141-2/+3
| |
* | Update type annotationsTakeshi KOMIYA2018-02-041-1/+4
|/
* A happy new year!Takeshi KOMIYA2018-01-011-1/+1
|
* Merge branch 'stable'Takeshi KOMIYA2017-03-261-1/+1
|\
| * Year++Takeshi KOMIYA2017-03-261-1/+1
| |
* | Upgrade to mypy-0.5Takeshi KOMIYA2017-03-031-0/+1
| |
* | Merge branch 'stable'Takeshi KOMIYA2017-03-011-3/+9
|\ \ | |/
| * Update docstring to patches for table directivesTakeshi KOMIYA2017-02-281-3/+9
| | | | | | | | | | | | | | table directives on docutils-0.13.1+ set source information to caption node. So these patch will be not necessary in feature version of docutils. https://sourceforge.net/p/docutils/patches/137/
| * Fix #3421: Could not translate a caption of tablesTakeshi KOMIYA2017-02-261-1/+38
| |
* | Merge branch 'master' into 3421_translate_table_captionTakeshi KOMIYA2017-02-261-0/+7
|\ \
| * | Fix mypy violationsTakeshi KOMIYA2017-02-081-0/+7
| |/
* | Fix #3421: Could not translate a caption of tablesTakeshi KOMIYA2017-02-151-1/+38
|/
* builtin extensions return metadata to allow parallel buildTakeshi KOMIYA2016-12-121-0/+6
|
* Fix could not translate the content of meta directive (ref: #1734)Takeshi KOMIYA2016-09-011-0/+1
|
* Preserve filename and line number for meta nodesTakeshi KOMIYA2016-09-011-1/+21
|
* Closes #2799: Sphinx installs roles and directives automatically on ↵Takeshi KOMIYA2016-07-281-1/+2
| | | | | | importing sphinx module. Now Sphinx installs them on running application.
* Fix figure nodes do not known lineno itselfTakeshi KOMIYA2016-05-011-0/+4
|
* Fix figure directive crashes if non paragraph item is given as captionTakeshi KOMIYA2016-04-061-3/+4
|