Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix COM812 | Adam Turner | 2023-02-18 | 1 | -1/+1 |
| | |||||
* | Refactor ``sphinx.util.images.guess_mimetype`` | Adam Turner | 2023-02-15 | 1 | -42/+64 |
| | |||||
* | Use PEP 604 types | Adam Turner | 2023-01-01 | 1 | -7/+7 |
| | |||||
* | Use PEP 595 types | Adam Turner | 2023-01-01 | 1 | -2/+2 |
| | |||||
* | Insert ``from __future__ import annotations`` | Adam Turner | 2023-01-01 | 1 | -0/+2 |
| | |||||
* | Clean up after dropping Python 3.6 | Adam Turner | 2022-09-27 | 1 | -1/+1 |
| | |||||
* | Collapse single line docstrings | Adam Turner | 2022-02-20 | 1 | -2/+1 |
| | |||||
* | Remove copyright and licence fields | Adam Turner | 2022-02-20 | 1 | -3/+0 |
| | |||||
* | Fix module docstring indentation | Adam Turner | 2022-02-20 | 1 | -2/+2 |
| | |||||
* | Fix module docstring first line | Adam Turner | 2022-02-20 | 1 | -2/+1 |
| | |||||
* | Remove module titles in docstrings | Adam Turner | 2022-02-19 | 1 | -3/+0 |
| | |||||
* | A happy new year! | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
| | |||||
* | Update type annotations | Takeshi KOMIYA | 2021-02-09 | 1 | -2/+2 |
| | |||||
* | Merge branch '3.x' | Takeshi KOMIYA | 2021-01-01 | 1 | -1/+1 |
|\ | |||||
| * | A happy new year! | Takeshi KOMIYA | 2021-01-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | | .. note:: $ find sphinx tests LICENSE doc/conf.py -type f -exec sed -i '' -e 's/2007\-20../2007-2021/' {} \; $ git co sphinx/locale/**/*.js sphinx/templates/epub3/mimetype | ||||
* | | refactor: namedtuples with PEP 526 | Takeshi KOMIYA | 2020-07-16 | 1 | -3/+5 |
|/ | | | | | Apply PEP 526 based variable annotation style to namedtuples. It is available since python 3.6. | ||||
* | Merge branch '3.0.x' into 3.x | Takeshi KOMIYA | 2020-06-03 | 1 | -1/+1 |
|\ | |||||
| * | Fix mypy violations (with mypy-0.780) | Takeshi KOMIYA | 2020-06-03 | 1 | -1/+1 |
| | | |||||
* | | refactor: Add Optional to type annotations | Takeshi KOMIYA | 2020-04-19 | 1 | -7/+7 |
|/ | |||||
* | Merge branch '2.0' | Takeshi KOMIYA | 2020-02-11 | 1 | -0/+2 |
|\ | |||||
| * | Fix #7120: html: crashed when on scaling SVG images which have float dimentions | Takeshi KOMIYA | 2020-02-09 | 1 | -0/+2 |
| | | |||||
* | | Merge branch '2.0' | Takeshi KOMIYA | 2020-01-11 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Adds Adobe Illustrator (.ai) to sphinx.ext.imgconverter | Modelmat | 2020-01-08 | 1 | -0/+1 |
| | | |||||
* | | Merge branch '2.0' | Takeshi KOMIYA | 2020-01-01 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | A happy new year! | Takeshi KOMIYA | 2020-01-01 | 1 | -1/+1 |
| | | |||||
* | | Use Pillow's Image context manager to close image file | Jon Dufresne | 2019-08-15 | 1 | -6/+2 |
| | | |||||
* | | Merge branch '2.0' | Takeshi KOMIYA | 2019-06-09 | 1 | -17/+7 |
|\ \ | |/ | |||||
| * | Migrate to py3 style type annotation: sphinx.util.images | Takeshi KOMIYA | 2019-06-02 | 1 | -17/+7 |
| | | |||||
* | | Drop features and APIs deprecated in 1.8 | Takeshi KOMIYA | 2019-03-30 | 1 | -12/+2 |
|/ | |||||
* | Clean up import for annotations | Takeshi KOMIYA | 2019-03-06 | 1 | -1/+1 |
| | |||||
* | Merge pull request #5899 from jdufresne/image-import | Takeshi KOMIYA | 2019-01-08 | 1 | -6/+3 |
|\ | | | | | Remove outdated fallback to 'import Image' | ||||
| * | Remove outdated fallback to 'import Image' | Jon Dufresne | 2019-01-07 | 1 | -6/+3 |
| | | | | | | | | | | | | | | | | | | | | | | The fallback 'import Image' was added in commit 99621d7a01638872a5af727aaa8714b269c0f769 for the PIL package. However, the PIL package is no longer maintained and does not support Python 3. Development has moved to the Pillow package which always installs to the PIL namespace. Pillow repo: https://github.com/python-pillow/Pillow Old PIL website: http://www.pythonware.com/products/pil/ | ||||
* | | Add TODO comment to help future developer to refactor guess_mimetype | Jon Dufresne | 2019-01-07 | 1 | -0/+2 |
|/ | |||||
* | 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. | ||||
* | | 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. | ||||
* | | refactor: Remove u-prefix from strings | Takeshi KOMIYA | 2018-12-16 | 1 | -2/+2 |
| | | |||||
* | | 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. | ||||
* | | Replace all "unicode" type by "str" | Takeshi KOMIYA | 2018-12-15 | 1 | -8/+7 |
| | | |||||
* | | Move to py3 mode for mypy (and remove many "type: ignore" comments) | Takeshi KOMIYA | 2018-12-15 | 1 | -1/+1 |
| | | |||||
* | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 1 | -0/+1 |
| | | |||||
* | | 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 |
| | | |||||
* | | Replace all six.BytesIO with io.BytesIO | Jon Dufresne | 2018-09-23 | 1 | -1/+2 |
| | | |||||
* | | Merge branch 'master' into drop-iteritems | Takeshi KOMIYA | 2018-09-22 | 1 | -8/+10 |
|\ \ | |||||
| * | | refactoring: Drop PY2 and PY3 flags | Takeshi KOMIYA | 2018-09-22 | 1 | -6/+3 |
| | | | |||||
| * | | Merge branch '1.8' | Takeshi KOMIYA | 2018-09-20 | 1 | -2/+2 |
| |\ \ | | |/ |