Adam Turner
cbb19d6947
Bump to 5.2.3 final
2022-09-30 16:08:16 +01:00
Adam Turner
650f63b9f7
Finer grained control over domain ToC entries ( #10886 )
...
- Implement `:nocontentsentry:` flag
- Use `:nocontentsentry:` in docs
- Add domain object table of contents configuration option
2022-09-30 10:31:58 +01:00
Julien Schueller
66276185ef
imgmath: Fix embed mode ( #10878 )
2022-09-29 15:37:24 +01:00
Adam Turner
a651e6bf4a
Bump to 5.2.2 final
2022-09-27 15:54:01 +01:00
Adam Turner
335f335a58
Restore anchor links to top of module docstring
2022-09-27 15:53:38 +01:00
Adam Turner
19c278313b
Correct error in release date for Sphinx 5.2.1
2022-09-27 15:51:46 +01:00
Adam Turner
635540c180
Restore anchor links to top of module docstring
2022-09-27 15:48:54 +01:00
Adam Turner
89b4f14b44
Fix mypy violations for v0.981 ( #10875 )
2022-09-27 15:18:20 +01:00
Adam Turner
e0dbbc510a
Bump to 5.2.1 final
2022-09-25 20:39:57 +01:00
Adam Turner
15c1cba28e
Fix error in changelog for Sphinx 5.2.0
2022-09-25 20:39:57 +01:00
Adam Turner
77cee67f11
Define extra indent as a class attribute
2022-09-25 20:23:53 +01:00
Adam Turner
9ced736316
Fix highlighting lexers
...
- Ensure `pycon3` is always normalised to `pycon`
2022-09-25 00:10:59 +01:00
Adam Turner
cd24c54144
Bump to 5.2.0.post0 final
2022-09-24 22:26:39 +01:00
Adam Turner
911a5fe8bb
Bump to 5.2.0 final
2022-09-24 21:55:52 +01:00
Adam Turner
bc59a1d1de
Merge 5.1.2 CHANGES into 5.2.0
2022-09-24 21:55:52 +01:00
Jean-François B
2f2bd551c4
Merge pull request #10859 from jfbu/latex_doc_tableofcontentshook
...
LaTeX: improve doc of \sphinxtableofcontents (closes #10858 )
2022-09-24 22:42:44 +02:00
Jean-François B
89a656dec4
LaTeX: improved doc of \sphinxtableofcontents ( closes #10858 )
2022-09-24 22:32:07 +02:00
Arthur Milchior
65081218ce
Docstring clarifications ( #9877 )
...
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>
2022-09-24 15:30:57 +01:00
danieleades
b842cabd4f
Add a new mypy whitelist for 'Any
generics' ( #10845 )
2022-09-24 15:12:01 +01:00
Adam Turner
e2b3b3f060
Move to localStorage for search highlighting
2022-09-24 15:10:57 +01:00
Adam Turner
c7c0e4048d
Split out sphinx_highlight.js
2022-09-24 15:10:57 +01:00
Adam Turner
8db24515ea
Clear record_dependencies
for each document ( #10855 )
2022-09-24 00:31:26 +01:00
Martin Liška
73a1ee4560
search: use both title and subtitle only if different ( #10848 )
2022-09-23 18:57:14 +01:00
Martin Liška
25cbe68c11
Fix IndexLoader.load()
for _all_titles ( #10851 )
...
When there is a document with no entry in _all_titles, we must add empty array
when loading from frozenset.
2022-09-23 18:49:25 +01:00
Adam Turner
5ce15606dd
Warn on using the :property:
flag with .. py:method::
( #10852 )
2022-09-23 18:47:28 +01:00
Adam Turner
58a4449707
Deprecate HTML 4 support ( #10843 )
2022-09-23 18:12:54 +01:00
Julien Schueller
ef01c5b6bd
imgmath: Allow embedding images in HTML as base64 ( #10816 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2022-09-23 17:11:21 +01:00
Christian Clauss
cb77162144
Migrate configs for isort, mypy, and pytest into pyproject.toml ( #10844 )
2022-09-21 18:46:30 +01:00
Martin Liška
ac8cb6b4ca
Use both title and subtitle name in search results ( #10824 )
2022-09-21 16:02:40 +01:00
danieleades
9b65adc50c
Shrink strict optional whitelist (HTML writers) ( #10838 )
2022-09-20 22:26:39 +01:00
Adam Turner
8ae81839be
Support searching for index entries ( #10819 )
2022-09-20 22:08:03 +01:00
Steffen Rehberg
56fd7fb8ae
Fix get_terminal_width
on Windows ( #10842 )
...
`shutil.get_terminal_size` works as a drop-in replacement for
`get_terminal_width`, enabling accurate widths on Windows.
2022-09-20 22:06:25 +01:00
danieleades
276f430b57
Begin addding flake8-simplify
checks ( #10820 )
...
Start with SIM104 and ignore all other flake8-simplify warnings
2022-09-20 21:30:31 +01:00
Adam Turner
d043d96b09
Fix section numbering in domain object contents entries ( #10830 )
2022-09-20 21:10:55 +01:00
Adam Turner
c0efd347cb
Fix nesting in domain object contents entries ( #10828 )
2022-09-20 21:10:20 +01:00
Adam Turner
f57177de89
Add contents entries for domain objects ( #10807 )
...
- 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
2022-09-13 20:20:02 +01:00
Adam Turner
b347657809
Use declarative metadata
...
- Move to pyproject.toml metadata
- Update references to `setup.py`
- Use pypa/build
- Update workflows and tooling
2022-09-13 10:31:27 +01:00
Adam Turner
5477ef6675
git mv setup.py pyproject.toml
2022-09-13 10:31:27 +01:00
Martin Liška
c4964edc73
Use subtitle name in search results ( #10814 )
2022-09-13 09:26:49 +01:00
Adam Turner
ded734d5f9
Fix mypy error
2022-09-12 23:30:58 +01:00
Brecht Machiels
d924acfdb9
Make toctree accept special docnames ( #10673 )
...
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>
2022-09-12 20:13:14 +01:00
Adam Turner
c8e5199cc9
Privatise type (DomainsType
-> _DomainsType
)
2022-09-12 19:56:04 +01:00
Adam Turner
ee005caf22
Do not apply epigraph style to all block quotes
...
Correct indentation where appropriate for stanzas that should not be
rendered as `<blockquote>` HTML elements.
Closes GH-10686
2022-09-12 19:54:36 +01:00
Adam Turner
efdd32cee2
More precise typing for BuildEnvironment.domains
( #10813 )
2022-09-09 10:16:30 +01:00
danieleades
fe2f96ac99
Shink the strict optional whitelist ( #10800 )
...
Removes `sphinx.search`
2022-09-09 07:29:54 +01:00
Adam Turner
f35d2a6cc7
Remove Pygments compatability code ( #10812 )
2022-09-09 05:08:48 +01:00
Adam Turner
ff01427a0e
Bump dependency versions
2022-09-09 04:19:23 +01:00
Adam Turner
62dd6852cf
Specify colorama
dependency with an environment marker
2022-09-09 04:19:18 +01:00
Adam Turner
4af52b4b88
Refactor setup.py
2022-09-09 04:19:15 +01:00
Adam Turner
75f25bab49
Clean setup.py
2022-09-09 04:19:11 +01:00