Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use subprocess.run() instead of Popen() | Takeshi KOMIYA | 2019-01-13 | 1 | -24/+18 | |
| | | | | | | Since python3.5, subprocess.run() has been introduced. It works a wrapper of Popen, and it looks much simple and better. This uses it instead of Popen to make our code simple. | |||||
* | Merge branch '1.8' | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 | |
|\ | ||||||
| * | A happy new year! | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 | |
| | | ||||||
* | | Replace use of six.text_type with str | Jon Dufresne | 2018-12-18 | 1 | -3/+2 | |
| | | | | | | | | | | This removes the last use of the six package allowing Sphinx to remove it as a dependency. | |||||
* | | 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. | |||||
* | | Merge pull request #5803 from jdufresne/encoding-utf8 | Takeshi KOMIYA | 2018-12-16 | 1 | -1/+1 | |
|\ \ | | | | | | | Avoid respecifying default encoding for .encode()/.decode() calls | |||||
| * | | Avoid respecifying default encoding for .encode()/.decode() calls | Jon Dufresne | 2018-12-15 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python 3, both .encode() and .decode() default the encoding to 'utf-8'. See the docs: https://docs.python.org/3/library/stdtypes.html#str.encode https://docs.python.org/3/library/stdtypes.html#bytes.decode Simplify and shorten the code by using the default instead of respecifying it. | |||||
* | | | Merge pull request #5796 from jdufresne/super | Takeshi KOMIYA | 2018-12-16 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | Use Python 3 super() argument-less syntax | |||||
| * | | | Use Python 3 super() argument-less syntax | Jon Dufresne | 2018-12-15 | 1 | -1/+1 | |
| |/ / | | | | | | | | | | | | | | | | The form is less verbose and more idiomatic for Python 3 only code. https://docs.python.org/3/library/functions.html#super | |||||
* | | | Replace ENOENT errno checks with Python 3 FileNotFoundError | Jon Dufresne | 2018-12-15 | 1 | -7/+3 | |
|/ / | | | | | | | | | | | | | | | The error is more specific and self documenting. This removes the last use of sphinx.util.osutil.ENOENT, so it is now deprecated for removal. sphinx.util.osutil.EEXIST was already unused so that is deprecated as well. | |||||
* | | Replace all "unicode" type by "str" | Takeshi KOMIYA | 2018-12-15 | 1 | -11/+10 | |
| | | ||||||
* | | Move to py3 mode for mypy (and remove many "type: ignore" comments) | Takeshi KOMIYA | 2018-12-15 | 1 | -1/+1 | |
| | | ||||||
* | | Fix annotations | Takeshi KOMIYA | 2018-12-08 | 1 | -1/+1 | |
| | | ||||||
* | | Fix annotations (minor fixes) | Takeshi KOMIYA | 2018-12-03 | 1 | -1/+1 | |
| | | ||||||
* | | Fix annotaions for extensions | Takeshi KOMIYA | 2018-11-28 | 1 | -7/+8 | |
| | | ||||||
* | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 1 | -0/+1 | |
| | | ||||||
* | | Use super() to call parent class's method | Jon Dufresne | 2018-11-11 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch '1.8' | Takeshi KOMIYA | 2018-10-16 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Fix mypy violations | Takeshi KOMIYA | 2018-10-16 | 1 | -1/+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. | |||||
* | Merge branch '1.7' | Takeshi KOMIYA | 2018-08-17 | 1 | -2/+1 | |
|\ | ||||||
| * | Fix #5298: imgmath: math_number_all causes equations to have two numbers in html | Takeshi KOMIYA | 2018-08-15 | 1 | -2/+1 | |
| | | ||||||
* | | Deprecate whole of sphinx.ext.mathbase | Takeshi KOMIYA | 2018-07-29 | 1 | -4/+3 | |
| | | ||||||
* | | Implement math_renderer framework | Takeshi KOMIYA | 2018-07-28 | 1 | -6/+5 | |
| | | ||||||
* | | Enable math_block node rendering by default (without HTML builders) | Takeshi KOMIYA | 2018-05-17 | 1 | -9/+6 | |
| | | ||||||
* | | Enable math node rendering by default (without HTML builders) | Takeshi KOMIYA | 2018-05-15 | 1 | -8/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | 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. | |||||
* | | Make console and warning messages translatable | Takeshi KOMIYA | 2018-03-03 | 1 | -7/+7 | |
|/ | ||||||
* | Use typing.TYPE_CHECKING for typehints | Takeshi KOMIYA | 2018-02-14 | 1 | -2/+2 | |
| | ||||||
* | Use flake8-import-order | Takeshi KOMIYA | 2018-01-28 | 1 | -9/+8 | |
| | ||||||
* | 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 | |
| | | ||||||
* | | make math_numfig work with singlehtml writer | Oliver Jahn | 2017-12-16 | 1 | -1/+1 | |
| | | ||||||
* | | use numfig for numbering equations by section rather than page | Oliver Jahn | 2017-10-18 | 1 | -1/+3 | |
|/ | ||||||
* | Fix mypy violations | Takeshi KOMIYA | 2017-06-12 | 1 | -5/+7 | |
| | ||||||
* | Fix #3835: sphinx.ext.imgmath fails to convert SVG images if project ↵ | Takeshi KOMIYA | 2017-06-11 | 1 | -85/+146 | |
| | | | | directory name contains spaces | |||||
* | Merge branch 'stable' | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 | |
|\ | ||||||
| * | Year++ | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 | |
| | | ||||||
* | | Upgrade to mypy-0.5 | Takeshi KOMIYA | 2017-03-03 | 1 | -1/+1 | |
| | | ||||||
* | | Remove unused "type: ignore" | Takeshi KOMIYA | 2017-02-06 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch 'stable' | Takeshi KOMIYA | 2017-01-12 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Fix flake8 violations | Takeshi KOMIYA | 2017-01-12 | 1 | -1/+1 | |
| | | ||||||
* | | Update by review | Takeshi KOMIYA | 2017-01-04 | 1 | -2/+2 | |
| | | ||||||
* | | Use loggers | Takeshi KOMIYA | 2017-01-02 | 1 | -9/+12 | |
| | | ||||||
* | | Merge branch '1.5-release' | Takeshi KOMIYA | 2016-11-23 | 1 | -2/+3 | |
|\ \ | |/ | ||||||
| * | Merge branch 'stable' into 1.5-release | Takeshi KOMIYA | 2016-11-23 | 1 | -2/+3 | |
| |\ | ||||||
| | * | Fix imgmath: crashes on showing error messages if image generation failed | Takeshi KOMIYA | 2016-11-21 | 1 | -2/+3 | |
| | | | ||||||
* | | | Add type-check annotations to sphinx.ext | Takeshi KOMIYA | 2016-11-16 | 1 | -4/+17 | |
|/ / | ||||||
* | | sphinx.ext.math: Update the label of permalink | Takeshi KOMIYA | 2016-07-19 | 1 | -1/+1 | |
| | |