Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Reorder the arguments for translators | Takeshi KOMIYA | 2018-12-17 | 1 | -5/+14 | |
| | | ||||||
* | | 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. | |||||
* | | refactor: Remove u-prefix from strings | Takeshi KOMIYA | 2018-12-16 | 1 | -5/+5 | |
| | | ||||||
* | | Use Python 3 super() argument-less syntax | Jon Dufresne | 2018-12-15 | 1 | -17/+17 | |
| | | | | | | | | | | | | 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 | -11/+10 | |
| | | ||||||
* | | Add docutils-stubs to test deps | Takeshi KOMIYA | 2018-12-15 | 1 | -2/+2 | |
| | | ||||||
* | | Use nodes.Element for visitor/departure methods | Takeshi KOMIYA | 2018-12-15 | 1 | -106/+106 | |
| | | | | | | | | | | To follow docutils-stubs rule, we use nodes.Element for visitor/departure methods. | |||||
* | | Remove SphinxTranslator.get_settings() | Takeshi KOMIYA | 2018-12-12 | 1 | -3/+2 | |
| | | | | | | | | | | | | | | | | | | 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. | |||||
* | | Add SphinxTranslator as an abstract class | Takeshi KOMIYA | 2018-12-03 | 1 | -13/+15 | |
| | | ||||||
* | | Fix annotations (minor fixes) | Takeshi KOMIYA | 2018-12-03 | 1 | -7/+9 | |
| | | ||||||
* | | Fix annotations for writers | Takeshi KOMIYA | 2018-11-30 | 1 | -2/+2 | |
| | | ||||||
* | | refactor: Use super() to call methods of superclass | Takeshi KOMIYA | 2018-11-28 | 1 | -15/+15 | |
| | | ||||||
* | | Fix annotations for writers | Takeshi KOMIYA | 2018-11-28 | 1 | -4/+4 | |
| | | ||||||
* | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 1 | -0/+1 | |
| | | ||||||
* | | Replace six.string_types with native str | Jon Dufresne | 2018-11-21 | 1 | -2/+1 | |
| | | ||||||
* | | Update type hints to HTML4 writer | Takeshi KOMIYA | 2018-11-21 | 1 | -108/+108 | |
| | | ||||||
* | | Use super() to call parent class's method | Jon Dufresne | 2018-11-11 | 1 | -2/+2 | |
|/ | ||||||
* | Fix #5471: Show appropriate warning for deprecated APIs | Takeshi KOMIYA | 2018-10-17 | 1 | -3/+3 | |
| | ||||||
* | Fix #5348: download reference to remote file is not displayed | Takeshi KOMIYA | 2018-08-26 | 1 | -4/+14 | |
| | ||||||
* | Merge branch 'master' into refactor_highlighter | Takeshi KOMIYA | 2018-07-29 | 1 | -5/+23 | |
|\ | ||||||
| * | Implement math_renderer framework | Takeshi KOMIYA | 2018-07-28 | 1 | -5/+23 | |
| | | ||||||
* | | Refactor: Run highlightlang on resolving phase | Takeshi KOMIYA | 2018-07-21 | 1 | -24/+38 | |
|/ | ||||||
* | Merge branch '1.7' | Takeshi KOMIYA | 2018-04-14 | 1 | -1/+1 | |
|\ | ||||||
| * | Fix #4817: wrong URLs on warning messages | Takeshi KOMIYA | 2018-04-08 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch 'master' into refactor_enumerable_nodes | Takeshi KOMIYA | 2018-03-21 | 1 | -2/+2 | |
|\ \ | ||||||
| * \ | Merge branch '1.7' | Takeshi KOMIYA | 2018-03-18 | 1 | -2/+2 | |
| |\ \ | | |/ | ||||||
| | * | Revert "Use typing.TYPE_CHECKING for typehints" | Takeshi KOMIYA | 2018-03-13 | 1 | -2/+2 | |
| | | | | | | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4. | |||||
* | | | Add Domain#get_enumerable_node_type() | Takeshi KOMIYA | 2018-03-17 | 1 | -1/+1 | |
|/ / | ||||||
* | | Make console and warning messages translatable | Takeshi KOMIYA | 2018-03-03 | 1 | -7/+7 | |
| | | ||||||
* | | Merge branch '1.7' | Takeshi KOMIYA | 2018-02-18 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Use typing.TYPE_CHECKING for typehints | Takeshi KOMIYA | 2018-02-14 | 1 | -2/+2 | |
| | | ||||||
* | | Update type annotations | Takeshi KOMIYA | 2018-02-04 | 1 | -0/+3 | |
|/ | ||||||
* | Use flake8-import-order | Takeshi KOMIYA | 2018-01-28 | 1 | -4/+4 | |
| | ||||||
* | Fix #4079: Add notranslate class to let Google Translate know they are not ↵ | Takeshi KOMIYA | 2018-01-13 | 1 | -3/+3 | |
| | | | | translatable | |||||
* | add link to manpages in HTML builder | Antoine Beaupré | 2018-01-11 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | It is useful to have the HTML documentation builder actually link to real rendered versions of HTML manpages in its output. That way people can click on manpages to get the full documentation. There are a few services offering this online, so we do not explicitly enable one by default, but the Debian manpages repository has a lot of the manpages pre-rendered, so it is used as an example in the documentation. The parsing work is done by a transformer class that parses manpage objects and extract name/section elements. Those then can be used by writers to cross-reference to actual sites. An implementation is done in the two HTML writers, but could also apply to ePUB/PDF writers as well in the future. This is not enabled by default: the `manpages_url` configuration item needs to be enabled to point to the chosen site. The `page`, `section` and `path` parameters are expanded through Python string formatting in the URL on output. Unit tests are fairly limited, but should cover most common use-cases. | |||||
* | Merge branch 'happy_new_year' into master | Takeshi KOMIYA | 2018-01-01 | 1 | -1/+1 | |
|\ | ||||||
| * | A happy new year! | Takeshi KOMIYA | 2018-01-01 | 1 | -1/+1 | |
| | | ||||||
* | | Closes #3160: Use <kbd> tag for :kbd: role in html writers | David Lechner | 2017-10-30 | 1 | -5/+12 | |
|/ | ||||||
* | Initialize _fieldlist_row_index just like _table_row_index | Lennart Regebro | 2017-10-15 | 1 | -0/+1 | |
| | | | | | | | visit_field can be called before visit_field_list if the field list is at the beginning of the document. By initializing _fieldlist_row_index in __init__ this is supported. Closes #4145 | |||||
* | Remove bulk_text_processors methods, they are no longer needed | Dmitry Shachnev | 2017-04-25 | 1 | -6/+0 | |
| | ||||||
* | Remove the custom smartypants code | Dmitry Shachnev | 2017-04-25 | 1 | -94/+0 | |
| | | | | | | | | | | Instead rely on docutils’ ‘smart_quotes’ option which is available since docutils 0.10. This adds support for internationalization: our code supported only English quotes, while docutils code supports 27 different languages. Closes #498, #580, #3345, #3472. | |||||
* | Move translators to SphinxFactory | Takeshi KOMIYA | 2017-04-22 | 1 | -2/+2 | |
| | ||||||
* | Merge branch 'stable' | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 | |
|\ | ||||||
| * | Year++ | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 | |
| | | ||||||
* | | Fix #3506: consistently pass node to depart_admonition in HTML writer | Travis A. Everett | 2017-03-04 | 1 | -7/+7 | |
| | | ||||||
* | | Merge branch 'stable' | Takeshi KOMIYA | 2017-02-26 | 1 | -4/+4 | |
|\ \ | |/ | ||||||
| * | Fix   is appeared in EPUB docs #3450 again | Yoshiki Shibukawa | 2017-02-26 | 1 | -4/+4 | |
| | | ||||||
* | | Merge branch 'stable' | Takeshi KOMIYA | 2017-02-25 | 1 | -1/+16 | |
|\ \ | |/ | ||||||
| * | fix #3450:   is appeared in EPUB docs | Yoshiki Shibukawa | 2017-02-24 | 1 | -1/+16 | |
| | | ||||||
* | | Fix mypy violations | Takeshi KOMIYA | 2017-02-21 | 1 | -1/+1 | |
| | |