Commit Graph

5848 Commits

Author SHA1 Message Date
Adam Turner
56aa3412ef Merge branch '5.x'
# Conflicts:
#	setup.py
#	sphinx/__init__.py
2022-09-23 17:27:00 +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
Adam Turner
8ae81839be Support searching for index entries (#10819) 2022-09-20 22:08:03 +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
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
14c9b40f15 Merge branch '5.x'
# Conflicts:
#	setup.py
#	sphinx/application.py
#	sphinx/environment/__init__.py
#	sphinx/ext/autodoc/directive.py
#	tests/test_build_html.py
2022-09-09 09:58:24 +01:00
Martin Liška
454ced9cc1 Save search resul score to HTML element for debugging (#10718)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2022-09-09 03:06:55 +01:00
Martin Liška
7da60f2353 search: support searching for (sub)titles (#10717)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2022-09-09 02:28:29 +01:00
Adam Turner
7473b05e0d Use asterisks for bullets 2022-09-07 21:06:41 +01:00
Jeremy Maitin-Shepard
4cd950e1ba Allow :ref: role to be used with definitions and fields (#10781) 2022-09-06 23:34:20 +01:00
Matthias Geier
f56e61d1a1 agogo theme: revert CSS changes related to sidebar (#10787) 2022-08-28 20:19:34 +01:00
François Freitag
e32301cbbb Merge pull request #10757 from n-peugnet/linkcheck-raw-source-url
linkcheck: Check the source URL of raw directives that use the `url` option
2022-08-23 14:26:16 +02:00
n-peugnet
1553cc3b36 linkcheck: Check the source URL of raw directives
Add raw directives' source URL to the list of links to check with linkcheck.
By the way, refactor HyperlinkCollector by adding `add_uri` function.
Add test for linkcheck raw directives source URL
2022-08-17 14:57:58 +02:00
Jean-François B
8c4865c30d Merge branch '5.1.x' into 5.x 2022-08-15 15:06:51 +02:00
Jean-François B
cb4f06b279 Closes #10760 2022-08-15 15:06:17 +02:00
Jean-François B
5c82449eca Merge branch '5.x' 2022-08-06 18:31:14 +02:00
ProGamerGov
b2fe07e1a1 Properly support of in docstring type specifiers (#10738)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-08-02 23:43:32 +01:00
Jakob Lykke Andersen
c2f1f89a87 Merge pull request #10729 from jakobandersen/cpp-template-args-non-specialized
[C++] Ensure consistent non-specialization template argument representation, rebased and updated
2022-07-29 18:29:40 +02:00
Jakob Lykke Andersen
aa43a37865 C++, fix parsing of certain non-type template parameters
Specifically 'template<int (X::*)(bool)...>'
2022-07-29 18:14:45 +02:00
Jakob Lykke Andersen
a95949aa13 C++, add changes entry PR 2022-07-29 18:14:45 +02:00
Jean-François B
dd77ed3968 Merge branch '5.1.x' into 5.x 2022-07-29 17:01:58 +02:00
Jean-François B
40203bd1a6 Fix #10723: LaTeX verbatimwithframe=false without effect since 5.1.0 2022-07-29 15:56:07 +02:00
Adam Turner
6f530ca3ea Merge branch '5.x' 2022-07-26 22:31:16 +01:00
Adam Turner
65f548e6ee Merge branch '5.1.x' into 5.x
# Conflicts:
#	CHANGES
#	sphinx/__init__.py
2022-07-26 22:30:40 +01:00
Adam Turner
cd17b277f4 Bump version 2022-07-26 22:19:36 +01:00
Adam Turner
e712eae382 Bump to 5.1.1 final 2022-07-26 22:16:02 +01:00
Jakob Lykke Andersen
feb4ac8a4e C++, update changelog 2022-07-24 21:41:51 +02:00
Adam Turner
19b54dce6a Merge branch '5.x'
# Conflicts:
#	CHANGES
#	sphinx/__init__.py
2022-07-24 14:15:26 +01:00
Adam Turner
3c469c4258 Bump version 2022-07-24 13:20:14 +01:00
Adam Turner
cc1f6cb9f4 Bump to 5.1.0 final 2022-07-24 13:03:30 +01:00
Adam Turner
94024e6efa Merge branch '5.x'
# Conflicts:
#	sphinx/ext/autodoc/__init__.py
#	sphinx/writers/html5.py
2022-07-18 22:49:56 +01:00
Jean-François B
a340427ba4 Update CHANGES for PR #10655 2022-07-18 18:47:49 +02:00
Takeshi KOMIYA
4dd09eba4d HTML Search: refactoring 2022-07-18 23:07:00 +09:00
Takeshi KOMIYA
6ed7405cd9 HTML Search: Minor errors are emitted on fetching search snipets 2022-07-18 23:05:57 +09:00
Takeshi KOMIYA
50897f0cc2 HTML Search: search snipets should not be folded 2022-07-18 23:01:57 +09:00
Takeshi KOMIYA
f280ebb000 HTML Search: HTML tags are displayed as a part of object name 2022-07-18 23:01:57 +09:00
Adam Turner
a4d41aa889 Merge branch '5.x' 2022-07-17 21:53:12 +01:00
Adam Turner
aa47f5d53a Add CHANGES note for #10518 2022-07-17 21:52:15 +01:00
Takeshi KOMIYA
e7fc03bce2 Allow specifying multiple CSS files in themes (#10465)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2022-07-17 12:27:43 +01:00
Jean-François B
93226ca91a Update CHANGES for PR #10648 2022-07-14 11:34:12 +02:00
Adam Turner
69824f9265 Update CHANGES for #10548 2022-07-12 22:53:36 +01:00
Adam Turner
b3e03d9d07 Support Docutils 0.19 (#10656) 2022-07-12 22:47:02 +01:00
Adam Turner
1e3ade55fe Merge branch '5.x' 2022-07-10 23:05:23 +01:00
Takeshi KOMIYA
3db1844d9a Merge pull request #10634 from jbms/fix-events-pdb
Make `-P` (pdb) work better with exceptions triggered from events
2022-07-10 19:58:52 +09:00
Takeshi KOMIYA
8f6ca411ed Update CHANGES for PR #10647 2022-07-10 19:58:14 +09:00
Jean-François B
667351c79c Update CHANGES for #10639 2022-07-06 12:17:38 +02:00
Jean-François B
c8f0112ed7 Update CHANGES for fix of #10638 2022-07-05 18:59:52 +02:00
Jeremy Maitin-Shepard
66f9ee4afd Make -P (pdb) work better with exceptions triggered from events
Previously, if an exception was raised from an event listener, and the
`-P` option was specified, the debugger would be started not for the
original error but for the `ExtensionError` wrapping it that was
raised by `EventManager.emit`.  That made it difficult to debug the
error.

With this change, when `-P` is specified, wrapping of errors in
`ExtensionError` is disabled, which allows pdb to debug the original
error.
2022-07-04 18:48:44 -07:00
Adam Turner
137e63065d Use Docutils 0.19 footnote styles (#10599) 2022-07-04 22:46:27 +01:00