Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | Fix mypy violations (for mypy-0.720) | Takeshi KOMIYA | 2019-07-13 | 1 | -8/+8 | |
| | | | ||||||
* | | | Merge branch '2.0' | Takeshi KOMIYA | 2019-06-15 | 1 | -10/+10 | |
|\ \ \ | |/ / | ||||||
| * | | Fix #6486: UnboundLocalError is raised if broken extension installed | Takeshi KOMIYA | 2019-06-15 | 1 | -1/+1 | |
| | | | ||||||
| * | | refactor: correct interface of directive() and role() to docutils' | Takeshi KOMIYA | 2019-06-09 | 1 | -9/+9 | |
| | | | ||||||
* | | | Merge branch '2.0' | Takeshi KOMIYA | 2019-06-09 | 1 | -92/+57 | |
|\ \ \ | |/ / | ||||||
| * | | Migrate to py3 style type annotation: sphinx.util.docutils | Takeshi KOMIYA | 2019-06-03 | 1 | -94/+58 | |
| |/ | ||||||
* | | Drop features and APIs deprecated in 1.8 | Takeshi KOMIYA | 2019-03-30 | 1 | -24/+2 | |
|/ | ||||||
* | Merge branch '2.0' | Takeshi KOMIYA | 2019-03-07 | 1 | -1/+0 | |
|\ | ||||||
| * | Clean up import for annotations | Takeshi KOMIYA | 2019-03-06 | 1 | -1/+0 | |
| | | ||||||
* | | Add a helper method ``SphinxDirective.set_source_info()`` | Takeshi KOMIYA | 2019-03-03 | 1 | -0/+5 | |
|/ | ||||||
* | docs: Add SphinxRole and ReferenceRole | Takeshi KOMIYA | 2019-02-16 | 1 | -1/+14 | |
| | ||||||
* | refactor: Rename the first argument of roles to `name` | Takeshi KOMIYA | 2019-02-16 | 1 | -9/+9 | |
| | | | | | In docutils' document, it is called as name. So our base class should call it as "name" also. | |||||
* | Replace :pep: and :rfc: roles by class based implementation | Takeshi KOMIYA | 2019-02-16 | 1 | -2/+11 | |
| | ||||||
* | Replace :index: role by class based implementation | Takeshi KOMIYA | 2019-02-16 | 1 | -0/+33 | |
| | ||||||
* | Add SphinxRole | Takeshi KOMIYA | 2019-02-06 | 1 | -2/+41 | |
| | ||||||
* | Merge branch '1.8' | Takeshi KOMIYA | 2019-01-13 | 1 | -1/+1 | |
|\ | ||||||
| * | Fix #5928: KeyError: 'DOCUTILSCONFIG' when running build | Takeshi KOMIYA | 2019-01-12 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch '1.8' | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | A happy new year! | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 | |
| | | ||||||
* | | Reorder the arguments for translators | Takeshi KOMIYA | 2018-12-17 | 1 | -2/+2 | |
| | | ||||||
* | | Merge pull request #5509 from stephenfin/remove-future-imports | Takeshi KOMIYA | 2018-12-17 | 1 | -1/+0 | |
|\ \ | | | | | | | Remove future imports | |||||
| * | | py3: Remove (most) __future__ imports | Stephen Finucane | 2018-12-17 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were two used: - print_function - absolute_import Both of these are mandatory in Python 3.0 onwards [1] and can therefore be removed...mostly. Unfortunately, mypy is still running in Python 2.7 mode, meaning we need the 'print_function' future wherever we're calling 'print' with the 'file' argument. There's also a single 'absolute_import' future that must be retained as its removal breaks a test for as-yet unknown reasons. TODOs are added to resolve both issues in the future. [1] https://docs.python.org/3/library/__future__.html Signed-off-by: Stephen Finucane <stephen@that.guru> | |||||
* | | | Remove unnecessary encoding cookie from Python source files | Jon Dufresne | 2018-12-16 | 1 | -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. | |||||
* | | Use Python 3 super() argument-less syntax | Jon Dufresne | 2018-12-15 | 1 | -6/+6 | |
| | | | | | | | | | | | | 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 KOMIYA | 2018-12-15 | 1 | -17/+17 | |
| | | ||||||
* | | Add docutils-stubs to test deps | Takeshi KOMIYA | 2018-12-15 | 1 | -14/+15 | |
| | | ||||||
* | | Move to py3 mode for mypy (and remove many "type: ignore" comments) | Takeshi KOMIYA | 2018-12-15 | 1 | -3/+3 | |
| | | ||||||
* | | Remove SphinxTranslator.get_settings() | Takeshi KOMIYA | 2018-12-12 | 1 | -10/+1 | |
| | | | | | | | | | | | | | | | | | | It was introduced to fake its type information and make mypy silent. But the warnings had came from wrong typing of docutils-stubs. (see https://github.com/tk0miya/docutils-stubs/pull/28) After the fix, the helper method is not needed for us. So this removes it right away. | |||||
* | | Merge branch 'master' into refactor_SphinxTranslator | Takeshi KOMIYA | 2018-12-03 | 1 | -2/+2 | |
|\ \ | ||||||
| * | | Use StringList for params to docutils because of expected | Takeshi KOMIYA | 2018-12-03 | 1 | -2/+2 | |
| | | | ||||||
* | | | Add SphinxTranslator as an abstract class | Takeshi KOMIYA | 2018-12-03 | 1 | -0/+27 | |
|/ / | ||||||
* | | Add role manipulator directives to sphinx.util.docutils | Takeshi KOMIYA | 2018-12-01 | 1 | -0/+16 | |
| | | ||||||
* | | Add role manipulator functions to sphinx.util.docutils | Takeshi KOMIYA | 2018-12-01 | 1 | -0/+22 | |
| | | ||||||
* | | Fix annotations (in some modules) | Takeshi KOMIYA | 2018-12-01 | 1 | -4/+4 | |
| | | ||||||
* | | Fix annotations for util | Takeshi KOMIYA | 2018-11-30 | 1 | -3/+4 | |
| | | ||||||
* | | refactor: Use super() to call methods of superclass | Takeshi KOMIYA | 2018-11-28 | 1 | -1/+1 | |
| | | ||||||
* | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 1 | -0/+1 | |
| | | ||||||
* | | Fix annotations for app.add_nodes() and related functions | Takeshi KOMIYA | 2018-11-24 | 1 | -4/+4 | |
| | | ||||||
* | | Use super() to call parent class's method | Jon Dufresne | 2018-11-11 | 1 | -4/+4 | |
| | | ||||||
* | | Merge branch '1.8' | Takeshi KOMIYA | 2018-10-16 | 1 | -3/+3 | |
|\ \ | |/ | ||||||
| * | Fix mypy violations | Takeshi KOMIYA | 2018-10-16 | 1 | -3/+3 | |
| | | ||||||
* | | Merge branch 'master' into HEAD | Takeshi KOMIYA | 2018-09-22 | 1 | -2/+1 | |
|\ \ | ||||||
| * | | Prefer builtin open() over io.open() and codecs.open() | Jon Dufresne | 2018-09-11 | 1 | -2/+1 | |
| |/ | | | | | | | | | | | | | | | | | | | | | | | In Python3, the functions io.open() is an alias of the builtin open() and codecs.open() is functionally equivalent. To reduce indirection, number of imports, and number of patterns, always prefer the builtin. https://docs.python.org/3/library/io.html#high-level-module-interface > io.open() > > This is an alias for the builtin open() function. | |||||
* | | Remove unnecessary object from class definitions | Jon Dufresne | 2018-09-11 | 1 | -2/+2 | |
|/ | | | | | In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary. | |||||
* | Fix #4362: latex: Don't overwrite .tex file if document not changed | Takeshi KOMIYA | 2018-06-14 | 1 | -0/+22 | |
| | ||||||
* | docs: Update docstring of SphinxDirective (add notice) | Takeshi KOMIYA | 2018-06-07 | 1 | -3/+5 | |
| | ||||||
* | Give better default settings for LoggingReporter | Takeshi KOMIYA | 2018-05-12 | 1 | -2/+3 | |
| | ||||||
* | Let docutils know the location of ``docutils.conf`` for Sphinx | Takeshi KOMIYA | 2018-04-22 | 1 | -13/+38 | |
| | ||||||
* | Add SphinxDirective as a helper | Takeshi KOMIYA | 2018-03-31 | 1 | -1/+22 | |
| | ||||||
* | Merge branch '1.7' | Takeshi KOMIYA | 2018-03-18 | 1 | -2/+2 | |
|\ |