summaryrefslogtreecommitdiff
path: root/sphinx/writers/text.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix mypy violations (for mypy-0.720)Takeshi KOMIYA2019-07-131-1/+1
| |
| * Fix mypy violations (for mypy-0.710)Takeshi KOMIYA2019-06-211-1/+1
| |
* | Drop features and APIs deprecated in 1.8Takeshi KOMIYA2019-03-301-12/+0
|/
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | Reorder the arguments for translatorsTakeshi KOMIYA2018-12-171-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.
* | | Remove redundant coerce to str in string formattingJon Dufresne2018-12-161-1/+1
|/ / | | | | | | | | | | When an object is passed to a string format placeholder '%s', Python will implicitly call str() on the object. This applies to print() and logging as well.
* | Use Python 3 super() argument-less syntaxJon Dufresne2018-12-151-2/+2
| | | | | | | | | | | | 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-21/+20
| |
* | Remove a hack for py2 from TextWrapperTakeshi KOMIYA2018-12-151-3/+2
| |
* | Move to py3 mode for mypy (and remove many "type: ignore" comments)Takeshi KOMIYA2018-12-151-2/+2
| |
* | Use nodes.Element for visitor/departure methodsTakeshi KOMIYA2018-12-151-181/+181
| | | | | | | | | | To follow docutils-stubs rule, we use nodes.Element for visitor/departure methods.
* | Fix annotations for footnotesTakeshi KOMIYA2018-12-101-1/+2
| |
* | refactor TextTranslator; Replace _make_depart_admonition()Takeshi KOMIYA2018-12-041-16/+26
| |
* | Add SphinxTranslator as an abstract classTakeshi KOMIYA2018-12-031-7/+8
| |
* | Fix annotations (minor fixes)Takeshi KOMIYA2018-12-031-5/+8
| |
* | refactor: Use super() to call methods of superclassTakeshi KOMIYA2018-11-281-1/+1
| |
* | Fix annotations for writersTakeshi KOMIYA2018-11-281-4/+4
| |
* | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-241-0/+1
| |
* | Update type hints to text writerTakeshi KOMIYA2018-11-211-183/+183
| |
* | Fix two nits with the TextBuilder classStephen Finucane2018-11-161-4/+0
| | | | | | | | | | | | | | | | - 'logger' was unused and can be removed - 'TextTranslator.sectionchars' was overridden in '__init__' and doesn't need to be defined Signed-off-by: Stephen Finucane <stephen@that.guru>
* | Use super() to call parent class's methodJon Dufresne2018-11-111-2/+2
| |
* | Use generator.Julien Palard2018-10-231-4/+1
| |
* | Looks like sphinx docstring uses rst, ok.Julien Palard2018-10-231-36/+39
| |
* | fix flake8Julien Palard2018-10-231-10/+7
| |
* | FIX: mypyJulien Palard2018-10-231-10/+8
| |
* | Comments, maybe.Julien Palard2018-10-231-2/+67
| |
* | Working on text colspan and rowspan.Julien Palard2018-10-221-62/+179
|/
* Refactor: Run highlightlang on resolving phaseTakeshi KOMIYA2018-07-211-4/+0
|
* Enable math_block node rendering by default (without HTML builders)Takeshi KOMIYA2018-05-171-6/+6
|
* Enable math node rendering by default (without HTML builders)Takeshi KOMIYA2018-05-151-2/+8
| | | | | | | | | | | Nowadays, math elements (inline and block level equations) are integrated into reST spec by default. But, in Sphinx, they are not enabled by default. For this reason, users have to enable one of math extensions even if target builder supports math elements directly. This change starts to enable them by default. As a first step, this replaces math node and its structure by docutils based one.
* Remove unused visitor methodsTakeshi KOMIYA2018-04-151-4/+0
|
* Merge branch '1.7'Takeshi KOMIYA2018-04-141-1/+1
|\
| * Fix #4817: wrong URLs on warning messagesTakeshi KOMIYA2018-04-081-1/+1
| |
* | Merge branch '1.7'Takeshi KOMIYA2018-03-181-2/+2
|\ \ | |/
| * Revert "Use typing.TYPE_CHECKING for typehints"Takeshi KOMIYA2018-03-131-2/+2
| | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4.
* | Make console and warning messages translatableTakeshi KOMIYA2018-03-031-4/+4
|/
* Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA2018-02-141-2/+2
|
* Use flake8-import-orderTakeshi KOMIYA2018-01-281-2/+1
|
* Merge branch 'master' into feature-text-secnumbersTakeshi KOMIYA2018-01-151-1/+1
|\
| * A happy new year!Takeshi KOMIYA2018-01-011-1/+1
| |
* | #3998: Toctree section numbering in plain text outputMatthew Woodcraft2017-11-071-1/+4
| |
* | #3998: Add optional section numbering in plain text outputMatthew Woodcraft2017-11-051-0/+15
|/ | | | | Controlled by new config values: text_add_secnumbers and text_secnumber_suffix.
* Update type annotations for new mypyTakeshi KOMIYA2017-05-071-1/+1
|
* Move translators to SphinxFactoryTakeshi KOMIYA2017-04-221-2/+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-1/+1
| |