Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Support and prefer ``.jinja`` to ``_t`` for static templates ↵ | James Addison | 2023-04-23 | 1 | -3/+2 |
| | | | | | (#11165)" (#11329) This reverts commit 5d13215b58f93c6be8255ef2e3e20836508c7d47. | ||||
* | Support and prefer ``.jinja`` to ``_t`` for static templates (#11165) | James Addison | 2023-04-07 | 1 | -2/+3 |
| | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | ||||
* | Ensure arguments to ``PIL.Image.resize()`` are integers (#11288) | James Reinders | 2023-04-06 | 1 | -1/+1 |
| | | | | | | | Update ``copy_image_files_pil`` so that the computation of ``nh`` is always an integer, as otherwise some calls to ``PIL.Image.resize()`` fail as floats are not allowed Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | ||||
* | Fix COM812 | Adam Turner | 2023-02-18 | 1 | -6/+6 |
| | |||||
* | Collapse ``.startswith`` and ``.endswith`` tests | Adam Turner | 2023-02-09 | 1 | -4/+2 |
| | |||||
* | Undo parallel image changes | Adam Turner | 2023-01-10 | 1 | -7/+4 |
| | |||||
* | Fix copying images under parallel execution (#11100) | Adam Turner | 2023-01-07 | 1 | -4/+7 |
| | |||||
* | Move console output utilities to ``sphinx.util.display`` | Adam Turner | 2023-01-03 | 1 | -1/+2 |
| | | | | | - Merge `old_status_iterator` into ``status_iterator``. ``old_status_iterator`` was deprecated in version 1.6. | ||||
* | Use PEP 604 types | Adam Turner | 2023-01-01 | 1 | -2/+2 |
| | |||||
* | Use PEP 595 types | Adam Turner | 2023-01-01 | 1 | -22/+22 |
| | |||||
* | Insert ``from __future__ import annotations`` | Adam Turner | 2023-01-01 | 1 | -0/+2 |
| | |||||
* | remove blanket 'noqas' | Daniel Eades | 2022-12-16 | 1 | -1/+3 |
| | |||||
* | URI-escape image filenames (#10268) | Eric Wieser | 2022-10-13 | 1 | -1/+2 |
| | | | | | | | | Without this change, local images with `#` in their name result in incorrect URLs There is already a similar call to `urllib.parse.quote` for file downloads, suggesting this is a sensible approach. Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Takeshi KOMIYA <i.tkomiya@gmail.com> | ||||
* | Remove unneeded `noqa` lint suppression comments (#10772) | danieleades | 2022-08-28 | 1 | -1/+1 |
| | |||||
* | Improve static typing strictness (#10569) | danieleades | 2022-07-18 | 1 | -2/+2 |
| | |||||
* | Epub: Add WebP mime type | Aaron Carlisle | 2022-05-10 | 1 | -0/+1 |
| | | | | | | | When building docs with WebP images using the EPUB builder results in this warning: `WARNING: unknown mimetype for _images/<image_name>.webp, ignoring` This commit fixes this by adding the mapping for webp-files to the correct mime type. | ||||
* | Address warnings in test_util_i18n.py | Adam Turner | 2022-04-22 | 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 |
| | |||||
* | address some unused loop control variables (B007) | Daniel Eades | 2022-01-12 | 1 | -3/+3 |
| | |||||
* | simplify some set comparisons (SIM109) | Daniel Eades | 2022-01-10 | 1 | -1/+1 |
| | |||||
* | Migrate to Node.findall() from Node.traverse() | Takeshi KOMIYA | 2022-01-03 | 1 | -8/+8 |
| | | | | | | | | 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 |
| | |||||
* | Support docutils-0.18: Consume iterator of Element.traverse() | Takeshi KOMIYA | 2021-10-27 | 1 | -4/+4 |
| | | | | | | | Since 0.18, Element.traverse() returns an iterator instead of intermediate object. As a result, the return value is always considered as truthy value. And it becomes fragile when the caller modifies the doctree on the loop. | ||||
* | Fix typos discovered by codespell | Christian Clauss | 2021-09-08 | 1 | -1/+1 |
| | |||||
* | refactor: Add Optional to type annotations | Takeshi KOMIYA | 2021-04-08 | 1 | -1/+1 |
| | |||||
* | refactor: Use PEP-526 based variable annotation (sphinx.builders) | Takeshi KOMIYA | 2021-03-13 | 1 | -8/+8 |
| | |||||
* | Close #8326: Rename master_doc to root_doc | Takeshi KOMIYA | 2021-02-28 | 1 | -7/+7 |
| | | | | | | To describe the purpose more accurately, the `master_doc` is now renamed to `root_doc`. The old name is still available. But it is recommeneded to use new one from now on. | ||||
* | 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 | ||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-11-12 | 1 | -3/+2 |
|\ \ | |/ | |||||
| * | Sort imports with isort | François Freitag | 2020-11-11 | 1 | -3/+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. | ||||
* | | Merge branch '3.x' into master | Takeshi KOMIYA | 2020-10-28 | 1 | -1/+6 |
|\ \ | |/ | |||||
| * | Fix #8289: Allow to suppress "duplicated ToC entry found" warnings from epub ↵ | Thomas Grainger | 2020-10-05 | 1 | -1/+6 |
| | | | | | | | | builder | ||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-07-24 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | fix typo | Tetsuo Koyama | 2020-07-19 | 1 | -1/+1 |
| | | |||||
| * | Add stacklevel parameter to warnings.warn() call | Takeshi KOMIYA | 2020-05-03 | 1 | -1/+1 |
| | | |||||
* | | Remove deprecated features marked as RemovedInSphinx40Warning | Takeshi KOMIYA | 2020-04-29 | 1 | -72/+24 |
| | | |||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-04-06 | 1 | -11/+12 |
|\ \ | |/ | |||||
| * | Fix #7301: epub: duplicated node_ids are generated | Takeshi KOMIYA | 2020-03-29 | 1 | -11/+12 |
| | | |||||
* | | Use typing.NamedTuple instead of collections.namedtuple as possible | Takeshi KOMIYA | 2020-03-07 | 1 | -7/+26 |
|/ | |||||
* | A happy new year! | Takeshi KOMIYA | 2020-01-01 | 1 | -1/+1 |
| | |||||
* | Fix #5070: epub: Wrong internal href fragment links | Takeshi KOMIYA | 2019-10-20 | 1 | -1/+1 |
| | |||||
* | Migrate to py3 style type annotation: sphinx.builders._epub_base | Takeshi KOMIYA | 2019-06-10 | 1 | -70/+36 |
| | |||||
* | Deprecate EpubBuilder.esc() in favor of stdlib html.escape() | Jon Dufresne | 2019-04-23 | 1 | -37/+40 |
| | | | | | | Available since Python 3.2. https://docs.python.org/3/library/html.html#html.escape | ||||
* | Clean up import for annotations | Takeshi KOMIYA | 2019-03-06 | 1 | -1/+0 |
| | |||||
* | HTML builder outputs HTML5 by default | Takeshi KOMIYA | 2019-02-11 | 1 | -2/+0 |
| |