summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Fix mypy violations for v0.981 (#10875)Adam Turner2022-09-274-12/+13
| | |
| * | Declare support for Python 3.11 (#10871)Hugo van Kemenade2022-09-272-2/+3
| | |
| * | Merge pull request #10783 from sphinx-doc/bot/pull-translationsJean-François B2022-09-26125-27915/+28671
| |\ \ | | | | | | | | Update message catalogs
| | * | Update message catalogstk0miya2022-09-25125-27915/+28671
| | | |
| * | | Validate filenames in builderStephen Finucane2022-09-262-16/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This moves the logic for checking filenames closer to where it's actually used. Signed-off-by: Stephen Finucane <stephen@that.guru>
| * | | Combine 'compile_xxx' and 'build_xxx' functionsStephen Finucane2022-09-262-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are only called from the one location and we already use 'build' to do both building and writing. Given that we intend to simplify the handling of the 'filenames' argument, this makes our lives there much easier. Signed-off-by: Stephen Finucane <stephen@that.guru>
| * | | Use path2doc rather than reinventing the wheelStephen Finucane2022-09-262-16/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We already have a helper function that allows us to convert a filename to a "docname". Don't reinvent the wheel and simply use this when building specific files with Sphinx. Note that this does change behavior slightly, insofar as filenames that don't resolve to valid docnames will now be ignored rather than being passed with their suffix and silently ignored later, but that seems sane. Signed-off-by: Stephen Finucane <stephen@that.guru>
* | | | Merge branch '5.x'Adam Turner2022-09-2536-267/+436
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # CHANGES # doc/conf.py # sphinx/__init__.py # sphinx/builders/html/__init__.py # sphinx/domains/python.py # tests/test_build_html.py
| * | | Merge branch '5.2.x' into 5.xAdam Turner2022-09-259-23/+47
| |\ \ \ | | |/ / | |/| / | | |/ | | | | | | # Conflicts: # CHANGES # sphinx/__init__.py
| | * Bump to 5.2.1 finalv5.2.1Adam Turner2022-09-252-2/+12
| | |
| | * Fix error in changelog for Sphinx 5.2.0Adam Turner2022-09-251-1/+1
| | |
| | * Define extra indent as a class attributeAdam Turner2022-09-252-1/+5
| | |
| | * Fix highlighting lexersAdam Turner2022-09-256-21/+26
| | | | | | | | | | | | - Ensure `pycon3` is always normalised to `pycon`
| | * Bump to 5.2.0.post0 finalAdam Turner2022-09-242-2/+7
| | |
| * | Mumble (line too long but this is raw LaTeX, and we should be exempted)Jean-François B2022-09-241-2/+4
| | |
| * | [DOC] Avoid collisions in TOC of sphinx.pdf in Changelog chapterJean-François B2022-09-241-0/+5
| | | | | | | | | | | | Relates #10858
| * | Update release-checklist tagging guidanceAdam Turner2022-09-241-5/+5
| | |
| * | Bump versionAdam Turner2022-09-242-3/+24
| |/
| * Bump to 5.2.0 finalv5.2.0Adam Turner2022-09-242-10/+4
| |
| * Merge 5.1.2 CHANGES into 5.2.0Adam Turner2022-09-241-27/+4
| |
| * Merge pull request #10859 from jfbu/latex_doc_tableofcontentshookJean-François B2022-09-241-0/+6
| |\ | | | | | | LaTeX: improve doc of \sphinxtableofcontents (closes #10858)
| | * LaTeX: improved doc of \sphinxtableofcontents (closes #10858)Jean-François B2022-09-241-0/+6
| |/
| * Docstring clarifications (#9877)Arthur Milchior2022-09-245-65/+85
| | | | | | | | | | Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com> Co-authored-by: Takeshi KOMIYA <i.tkomiya@gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
| * Add a new mypy whitelist for '`Any` generics' (#10845)danieleades2022-09-241-0/+25
| |
| * Move to localStorage for search highlightingAdam Turner2022-09-243-45/+41
| |
| * Split out `sphinx_highlight.js`Adam Turner2022-09-248-122/+163
| |
| * Clear `record_dependencies` for each document (#10855)Adam Turner2022-09-246-0/+28
| |
| * search: use both title and subtitle only if different (#10848)Martin Liška2022-09-231-1/+1
| |
| * Fix `IndexLoader.load()` for _all_titles (#10851)Martin Liška2022-09-231-3/+5
| | | | | | | | When there is a document with no entry in _all_titles, we must add empty array when loading from frozenset.
| * Warn on using the `:property:` flag with `.. py:method::` (#10852)Adam Turner2022-09-231-0/+2
| |
| * Deprecate HTML 4 support (#10843)Adam Turner2022-09-235-1/+30
| |
* | Drop Python 3.6 support (pyproject.toml)Adam Turner2022-09-231-3/+2
| |
* | Merge branch '5.x'Adam Turner2022-09-2353-528/+1039
|\ \ | |/ | | | | | | | | # Conflicts: # setup.py # sphinx/__init__.py
| * imgmath: Allow embedding images in HTML as base64 (#10816)Julien Schueller2022-09-234-16/+73
| | | | | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
| * Migrate configs for isort, mypy, and pytest into pyproject.toml (#10844)Christian Clauss2022-09-212-103/+60
| |
| * Use both title and subtitle name in search results (#10824)Martin Liška2022-09-211-1/+1
| |
| * Shrink strict optional whitelist (HTML writers) (#10838)danieleades2022-09-204-11/+5
| |
| * Support searching for index entries (#10819)Adam Turner2022-09-204-3/+64
| |
| * Fix `get_terminal_width` on Windows (#10842)Steffen Rehberg2022-09-201-15/+3
| | | | | | | | `shutil.get_terminal_size` works as a drop-in replacement for `get_terminal_width`, enabling accurate widths on Windows.
| * Begin addding `flake8-simplify` checks (#10820)danieleades2022-09-203-3/+3
| | | | | | | | Start with SIM104 and ignore all other flake8-simplify warnings
| * Fix section numbering in domain object contents entries (#10830)Adam Turner2022-09-201-1/+4
| |
| * Fix nesting in domain object contents entries (#10828)Adam Turner2022-09-201-2/+1
| |
| * Add contents entries for domain objects (#10807)Adam Turner2022-09-1318-78/+428
| | | | | | | | | | | | | | | | | | - Add entries in the table of contents for domain objects (e.g. `py:function`, `rst:role`, etc). Supported domains are Javascript, Python, and reStructuredText. - Support content in `py:module` and `js:module` directives. - Add the `noindexentry` and `noindex` flags to more domains. - Add `toc_object_entries_show_parents` configuration setting - Update documentation and tests
| * Use declarative metadataAdam Turner2022-09-1311-207/+185
| | | | | | | | | | | | | | - Move to pyproject.toml metadata - Update references to `setup.py` - Use pypa/build - Update workflows and tooling
| * git mv setup.py pyproject.tomlAdam Turner2022-09-131-0/+0
| |
| * Use subtitle name in search results (#10814)Martin Liška2022-09-132-3/+3
| |
| * Fix mypy errorAdam Turner2022-09-121-1/+6
| |
| * Make toctree accept special docnames (#10673)Brecht Machiels2022-09-128-4/+62
| | | | | | | | | | | | The `.. toctree::` directive now supports the reserved special docnames 'genindex', 'modindex', and 'search'. Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
| * Privatise type (`DomainsType` -> `_DomainsType`)Adam Turner2022-09-121-5/+5
| |
| * Do not apply epigraph style to all block quotesAdam Turner2022-09-128-79/+84
| | | | | | | | | | | | | | Correct indentation where appropriate for stanzas that should not be rendered as `<blockquote>` HTML elements. Closes GH-10686