summaryrefslogtreecommitdiff
path: root/sphinx/roles.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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.
* | refactor: Remove u-prefix from stringsTakeshi KOMIYA2018-12-161-1/+1
| |
* | Use Python 3 super() argument-less syntaxJon Dufresne2018-12-151-2/+1
| | | | | | | | | | | | 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-13/+13
| |
* | Deprecate abbreviation node (refs: #5720)Takeshi KOMIYA2018-12-151-2/+2
| |
* | Correct type signature of set_role_source_info()Jon Dufresne2018-12-091-2/+2
| |
* | Fix annotations of resolve_nodesTakeshi KOMIYA2018-12-031-3/+2
| |
* | Fix annotations of process_link()Takeshi KOMIYA2018-12-031-4/+3
| |
* | Fix annotations for minor methods and functionsTakeshi KOMIYA2018-11-301-1/+1
| |
* | refactor: Use super() to call methods of superclassTakeshi KOMIYA2018-11-281-2/+2
| |
* | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-241-1/+1
| |
* | Fix annotations for rolesTakeshi KOMIYA2018-11-231-3/+4
| |
* | Adjust type annotations for roles to docutils'Takeshi KOMIYA2018-11-231-7/+7
| |
* | Partially revert "Simplify XRefRole constructor"cocoatomo2018-11-161-2/+7
| |
* | Fix type hintingcocoatomo2018-11-081-1/+1
| |
* | Revert "More simplified"cocoatomo2018-11-081-4/+3
| | | | | | | | This reverts commit d58eb355156f8fa6c4b7b6a82f9e895a30e7b8f4.
* | More simplifiedcocoatomo2018-11-071-3/+4
| |
* | Simplify XRefRole constructorcocoatomo2018-11-071-8/+3
| |
* | Merge branch '1.8'Takeshi KOMIYA2018-10-161-2/+2
|\ \ | |/
| * Fix mypy violationsTakeshi KOMIYA2018-10-161-2/+2
| |
* | Merge branch 'master' into HEADTakeshi KOMIYA2018-09-221-3/+2
|\ \
| * | Remove use of six.iteritems()Jon Dufresne2018-09-111-3/+2
| |/ | | | | | | In Python 3, dict.items() is always an iterator.
* | Remove unnecessary object from class definitionsJon Dufresne2018-09-111-1/+1
|/ | | | | In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary.
* Fix #789: ``:samp:`` role supports to escape curly braces with backslashTakeshi KOMIYA2018-04-281-10/+37
|
* Revert "Use typing.TYPE_CHECKING for typehints"Takeshi KOMIYA2018-03-131-2/+2
| | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4.
* Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA2018-02-141-2/+2
|
* Use flake8-import-orderTakeshi KOMIYA2018-01-281-2/+2
|
* A happy new year!Takeshi KOMIYA2018-01-011-1/+1
|
* Fix #3960: default_role = guilabel not functioningTakeshi KOMIYA2017-07-301-0/+15
|
* Fix :pep: and :rfc: does not supports ``default-role`` directive (refs: #3960)Takeshi KOMIYA2017-07-291-1/+2
|
* Fix mypy violations (for mypy-0.520)Takeshi KOMIYA2017-07-151-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-3/+4
| |
* | Reduce DeprecationWarnings for regexpTakeshi KOMIYA2017-02-171-1/+1
| |
* | Add mypy annotationsTakeshi KOMIYA2017-02-101-7/+26
| |
* | Move doc reference to under standard domainTakeshi KOMIYA2017-01-291-2/+0
| |
* | Merge branch 'stable'Takeshi KOMIYA2017-01-121-2/+2
|\ \ | |/
| * Fix flake8 violationsTakeshi KOMIYA2017-01-121-2/+2
| |
* | 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-2/+2
|/
* Closes #2799: Sphinx installs roles and directives automatically on ↵Takeshi KOMIYA2016-07-281-8/+11
| | | | | | importing sphinx module. Now Sphinx installs them on running application.
* classifier of glossary terms can be used for index entries grouping key. The ↵shimizukawa2016-02-141-3/+4
| | | | classifier also be used for translation. See also :ref:`glossary-directive`.
* Fix #2060: ``:manpage:`` role uses incorrect style (node)Takeshi KOMIYA2016-01-171-1/+1
| | | | | It should be use bold style to reference man pages in man format. On other formats, it is still represented as emphasis.
* Merge branch 'stable'Georg Brandl2016-01-141-1/+1
|\
| * Obligatory copyright update.Georg Brandl2016-01-141-1/+1
| |
* | Fixes #1909: Add "doc" references to Intersphinx inventories.Georg Brandl2015-07-251-1/+1
|/
* Fix generating emphasis nodes without semantic reasonGeorg Brandl2015-02-251-1/+1
| | | | | Roles ``ref``, ``term`` and ``menusel`` now don't generate :durole:`emphasis` nodes anymore. If you want to keep italic style, adapt your stylesheet.
* Merge branch 'stable'Georg Brandl2015-01-031-1/+1
|\