Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Consider duplicate names when using image post transforms (#11113) | aaron-cooper | 2023-04-03 | 1 | -1/+2 |
| | | | Closes: #11110 | ||||
* | Resolve Ruff SIM114 violations | Adam Turner | 2023-02-15 | 1 | -9/+7 |
| | |||||
* | Move HTTP-date formatting utils to `utils.http_date` | Adam Turner | 2023-01-03 | 1 | -1/+2 |
| | |||||
* | Address SIM103 lints (#11052) | danieleades | 2023-01-02 | 1 | -4/+1 |
| | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | ||||
* | Use PEP 604 types | Adam Turner | 2023-01-01 | 1 | -2/+2 |
| | |||||
* | Use PEP 595 types | Adam Turner | 2023-01-01 | 1 | -5/+5 |
| | |||||
* | Insert ``from __future__ import annotations`` | Adam Turner | 2023-01-01 | 1 | -0/+2 |
| | |||||
* | Merge pull request #10118 from mgeier/image-converter-ignore-questionmark | Takeshi KOMIYA | 2022-03-24 | 1 | -3/+2 |
|\ | | | | | ImageConverter: ignore '?' image URIs | ||||
| * | ImageConverter: ignore '?' image URIs | Matthias Geier | 2022-01-18 | 1 | -3/+2 |
| | | |||||
* | | 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 |
|/ | |||||
* | Skip "data:" URIs in ImageConverter | Matthias Geier | 2022-01-13 | 1 | -0/+3 |
| | |||||
* | Migrate to Node.findall() from Node.traverse() | Takeshi KOMIYA | 2022-01-03 | 1 | -1/+1 |
| | | | | | | | | Node.traverse() was marked as deprecated since docutils-0.18. Instead of it, Node.findall() has been added as successor of traverse(). This applies a patch to docutils-0.17 or older to be available Node.findall() and use it. | ||||
* | A happy new year! | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
| | |||||
* | Improve sphinx.transforms.post_transforms.images docstrings | Louis Maddox | 2021-07-18 | 1 | -7/+7 |
| | |||||
* | Fix #9103: LaTeX: imgconverter: conversion runs even if not needed | Takeshi KOMIYA | 2021-04-17 | 1 | -1/+1 |
| | | | | | | The imgconverter unexpectedly goes to convert even if the given image is supported by the target builder when the image globbing is not used. This enables format guess-ing on not globbed. | ||||
* | refactor: Use PEP-526 based variable annotation (sphinx.transforms) | Takeshi KOMIYA | 2021-03-24 | 1 | -3/+3 |
| | |||||
* | Skip imgconverter availability check if builder supports the image type | Stefan Wiehler | 2021-01-04 | 1 | -3/+3 |
| | | | | | Close #7973: ImgConverter runs is_available in HTML builder Close missinglinkelectronics/sphinxcontrib-svg2pdfconverter#8: Extension should only run on LaTeX builder | ||||
* | 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 | ||||
* | Deprecate sphinx.util.osutil.movefile() in favor of os.replace() | Jon Dufresne | 2020-12-13 | 1 | -2/+2 |
| | | | | | | | The utility function movefile() was added in 677d096393bca948eea8fad252bd859ed8142309 to handle existing files on Windows. Since Python 3.3, the stdlib function os.replace() fills this role. | ||||
* | Sort imports with isort | François Freitag | 2020-11-11 | 1 | -4/+2 |
| | | | | | | | | | | | | Keep imports alphabetically sorted and their order homogeneous across Python source files. The isort project has more feature and is more active than the flake8-import-order plugin. Most issues caught were simply import ordering from the same module. Where imports were purposefully placed out of order, tag with isort:skip. | ||||
* | Fix #7973: imgconverter: Check availability of imagemagick only once | Takeshi KOMIYA | 2020-10-04 | 1 | -5/+10 |
| | | | | | | | To prevent checking the availability of image converters times and times again, this stores the result to the class variable. It is not a good design to have a state globally. So this should be refactored in the future. | ||||
* | Fix #7628: imgconverter: runs imagemagick unnecessary | Takeshi KOMIYA | 2020-05-09 | 1 | -1/+3 |
| | |||||
* | Introduce fips safe sha1, see issue #7611 | Lars Hupfeldt | 2020-05-05 | 1 | -2/+1 |
| | |||||
* | Merge branch '2.3.2' into 2.0 | Takeshi KOMIYA | 2020-02-09 | 1 | -0/+4 |
|\ | |||||
| * | Also added sanitizing to 'ImageDownloader' | s-weigand | 2020-02-04 | 1 | -0/+1 |
| | | |||||
| * | Added code to replace problematic characters in filenames when using | s-weigand | 2020-02-04 | 1 | -0/+3 |
| | | | | | | ImageConverter | ||||
* | | Adds Adobe Illustrator (.ai) to sphinx.ext.imgconverter | Modelmat | 2020-01-08 | 1 | -1/+0 |
| | | |||||
* | | A happy new year! | Takeshi KOMIYA | 2020-01-01 | 1 | -1/+1 |
| | | |||||
* | | mypy: Enable disallow_incomplete_defs flag for type checking | Takeshi KOMIYA | 2019-12-30 | 1 | -1/+1 |
|/ | |||||
* | Merge branch '2.0' into 6655_data_URL_causes_crash | Takeshi KOMIYA | 2019-10-12 | 1 | -39/+19 |
|\ | |||||
| * | Migrate to py3 style type annotation: sphinx.transforms.post_transforms.images | Takeshi KOMIYA | 2019-08-21 | 1 | -39/+19 |
| | | |||||
* | | Fix #6655: image URLs containing data: causes gettext builder crashed | Takeshi KOMIYA | 2019-08-20 | 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 |
| | | |||||
* | | Replace use of six.text_type with str | Jon Dufresne | 2018-12-18 | 1 | -3/+1 |
| | | | | | | | | | | 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. | ||||
* | | refactor: Remove u-prefix from strings | Takeshi KOMIYA | 2018-12-16 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #5803 from jdufresne/encoding-utf8 | Takeshi KOMIYA | 2018-12-16 | 1 | -2/+2 |
|\ \ | | | | | | | Avoid respecifying default encoding for .encode()/.decode() calls | ||||
| * | | Avoid respecifying default encoding for .encode()/.decode() calls | Jon Dufresne | 2018-12-15 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | 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 all "unicode" type by "str" | Takeshi KOMIYA | 2018-12-15 | 1 | -8/+7 |
| | | |||||
* | | Fix annotations for transforms | Takeshi KOMIYA | 2018-11-29 | 1 | -10/+10 |
| | | |||||
* | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 1 | -0/+1 |
| | | |||||
* | | Adjust type annotations for transforms to docutils' | Takeshi KOMIYA | 2018-11-23 | 1 | -2/+2 |
| | | |||||
* | | Use super() to call parent class's method | Jon Dufresne | 2018-11-11 | 1 | -1/+1 |
|/ | |||||
* | doc: Remove meaningless spaces | Takeshi KOMIYA | 2018-04-22 | 1 | -1/+1 |
| |