Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Use Python 3 super() argument-less syntax | Jon Dufresne | 2018-12-15 | 3 | -8/+8 | |
| | | | | | | | | | | | | 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 | 4 | -28/+25 | |
| | | ||||||
* | | Add docutils-stubs to test deps | Takeshi KOMIYA | 2018-12-15 | 1 | -2/+2 | |
| | | ||||||
* | | Move to py3 mode for mypy (and remove many "type: ignore" comments) | Takeshi KOMIYA | 2018-12-15 | 1 | -2/+1 | |
| | | ||||||
* | | Simplify open() call by removing default mode | Jon Dufresne | 2018-12-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | The open() function opens files in read-only text mode by default. Drop the mode argument to be slightly simpler and more idiomatic. https://docs.python.org/3/library/functions.html#open > The default mode is 'r' (open for reading text, synonym of 'rt'). | |||||
* | | Fix annotations | Takeshi KOMIYA | 2018-12-08 | 1 | -1/+2 | |
| | | ||||||
* | | Add DirectiveOption type to an entry of Directive.option_spec | Takeshi KOMIYA | 2018-12-07 | 1 | -2/+2 | |
| | | ||||||
* | | Use StringList for params to docutils because of expected | Takeshi KOMIYA | 2018-12-03 | 1 | -2/+2 | |
| | | ||||||
* | | Fix annotations: Give Any type to state.memo to conceal errors | Takeshi KOMIYA | 2018-12-03 | 1 | -7/+8 | |
| | | ||||||
* | | Fix annotations (minor fixes) | Takeshi KOMIYA | 2018-12-03 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch 'master' into refactor_docutils_manipulation | Takeshi KOMIYA | 2018-12-02 | 4 | -53/+58 | |
|\ \ | ||||||
| * | | Fix annotations for Directives (Replace N_co with nodes.Node) | Takeshi KOMIYA | 2018-12-01 | 4 | -53/+59 | |
| | | | ||||||
* | | | Add role manipulator functions to sphinx.util.docutils | Takeshi KOMIYA | 2018-12-01 | 1 | -4/+4 | |
|/ / | ||||||
* | | Fix annotations for util | Takeshi KOMIYA | 2018-11-30 | 1 | -1/+2 | |
| | | ||||||
* | | Fix annotations for directives | Takeshi KOMIYA | 2018-11-29 | 4 | -36/+39 | |
| | | ||||||
* | | refactor: Use super() to call methods of superclass | Takeshi KOMIYA | 2018-11-28 | 3 | -8/+8 | |
| | | ||||||
* | | Fix annotations of directives.patches | Takeshi KOMIYA | 2018-11-27 | 1 | -9/+13 | |
| | | ||||||
* | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 4 | -0/+4 | |
| | | ||||||
* | | Fix typehints: sphinx.directives | Takeshi KOMIYA | 2018-11-06 | 1 | -2/+2 | |
| | | ||||||
* | | Merge branch '1.8' | Takeshi KOMIYA | 2018-11-01 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Fix #5471: Show appropriate warning for deprecated APIs | Takeshi KOMIYA | 2018-10-17 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch '1.8' | Takeshi KOMIYA | 2018-10-16 | 1 | -23/+1 | |
|\ \ | |/ | ||||||
| * | Revert "Improve warning messages during including (refs: #4818)" | Takeshi KOMIYA | 2018-10-14 | 1 | -23/+1 | |
| | | | | | | | | This reverts commit a4dbb6e657bf86e5940e352a2935d1b3264d74e2. | |||||
* | | Replace all six.itervalues()/.iteritems() with .values()/.items() | Jon Dufresne | 2018-09-23 | 1 | -1/+1 | |
| | | ||||||
* | | Remove uses of six.moves that did not cause any type errors | Jon Dufresne | 2018-09-23 | 1 | -1/+0 | |
| | | | | | | | | | | Removal of the remaining imports may require passing "--python-version 3.5" to the mypy command. | |||||
* | | Merge branch 'master' into HEAD | Takeshi KOMIYA | 2018-09-22 | 1 | -2/+2 | |
|\ \ | ||||||
| * | | Prefer builtin open() over io.open() and codecs.open() | Jon Dufresne | 2018-09-11 | 1 | -2/+2 | |
| |/ | | | | | | | | | | | | | | | | | | | | | | | 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 | -1/+1 | |
|/ | | | | | In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary. | |||||
* | Fix #4379: toctree shows confusible warning when document is excluded | Takeshi KOMIYA | 2018-09-02 | 1 | -4/+9 | |
| | ||||||
* | Move VersionChanges directive to sphinx.domains.changeset | Takeshi KOMIYA | 2018-08-02 | 1 | -66/+2 | |
| | ||||||
* | refactor: Move repository of changesets to domain from env | Takeshi KOMIYA | 2018-08-02 | 1 | -2/+2 | |
| | ||||||
* | Escape raw strings | Stephen Finucane | 2018-06-20 | 1 | -1/+1 | |
| | | | | | | | | | | | These were resulting in the below warning messages when running flake8 under Python 3.6. :48: DeprecationWarning: invalid escape sequence \[ :143: DeprecationWarning: invalid escape sequence \- :250: DeprecationWarning: invalid escape sequence \s Signed-off-by: Stephen Finucane <stephen@that.guru> | |||||
* | Merge branch '1.7' | Takeshi KOMIYA | 2018-06-09 | 1 | -1/+1 | |
|\ | ||||||
| * | Fix mypy violation | Takeshi KOMIYA | 2018-06-09 | 1 | -1/+1 | |
| | | ||||||
* | | Fix #4927: Display a warning when invalid values are passed to ↵ | Takeshi KOMIYA | 2018-05-22 | 1 | -8/+2 | |
| | | | | | | | | linenothreshold option of highlight directive | |||||
* | | Remove unused code | Takeshi KOMIYA | 2018-05-19 | 1 | -2/+0 | |
| | | ||||||
* | | Enable math_block node rendering by default (without HTML builders) | Takeshi KOMIYA | 2018-05-17 | 1 | -0/+59 | |
| | | ||||||
* | | refactor: Replace Directive by SphinxDirective | Takeshi KOMIYA | 2018-05-11 | 1 | -2/+2 | |
| | | ||||||
* | | Merge branch 'master' into deprecate_highlightlang_directive | Takeshi KOMIYA | 2018-04-29 | 1 | -33/+65 | |
|\ \ | ||||||
| * | | Improve warning messages during including (refs: #4818) | Takeshi KOMIYA | 2018-04-22 | 1 | -1/+23 | |
| | | | ||||||
| * | | Merge branch '1.7' | Takeshi KOMIYA | 2018-04-22 | 1 | -32/+42 | |
| |\ \ | | |/ | ||||||
| | * | Fix toctree directive tries to glob for URL having query_string | Takeshi KOMIYA | 2018-04-16 | 1 | -2/+3 | |
| | | | ||||||
| | * | Refactor toctree directive | Takeshi KOMIYA | 2018-04-15 | 1 | -32/+42 | |
| | | | ||||||
* | | | Deprecate highlightlang directive | Takeshi KOMIYA | 2018-04-15 | 1 | -1/+14 | |
|/ / | | | | | | | highlightlang directive is not documented, and marked as old in v0.2. | |||||
* | | Merge branch '1.7' | Takeshi KOMIYA | 2018-04-14 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Fix #4812: autodoc ignores type annotated variables | Takeshi KOMIYA | 2018-04-08 | 1 | -1/+1 | |
| | | ||||||
* | | Add SphinxDirective as a helper | Takeshi KOMIYA | 2018-03-31 | 4 | -50/+45 | |
| | | ||||||
* | | Merge branch '1.7' | Takeshi KOMIYA | 2018-03-18 | 4 | -10/+8 | |
|\ \ | |/ | ||||||
| * | Revert "Use typing.TYPE_CHECKING for typehints" | Takeshi KOMIYA | 2018-03-13 | 4 | -10/+8 | |
| | | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4. | |||||
* | | Merge branch 'master' into dont_stringify_exceptions | Takeshi KOMIYA | 2018-03-04 | 1 | -3/+3 | |
|\ \ |