Commit Graph

19643 Commits

Author SHA1 Message Date
Takeshi KOMIYA
eb5a441671
Merge pull request #10604 from sphinx-doc/fix_search
Fix HTML Search
2022-07-18 23:18:37 +09: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
Alexandre René
37267fe0de Fix punctuation in comments 2022-07-18 14:18:08 +02:00
Adam Turner
d4fc9f6bd0 Add GPG key for Adam Turner 2022-07-17 23:03:38 +01:00
Adam Turner
305fa5cfa8 Update and sort maintainers list 2022-07-17 22:12:32 +01:00
Adam Turner
0dd4ca5178 Update sorting note 2022-07-17 22:12:19 +01:00
Adam Turner
aa47f5d53a Add CHANGES note for #10518 2022-07-17 21:52:15 +01:00
Adam Turner
490a8a9162
Add include_patterns as the opposite of exclude_patterns (#10518) 2022-07-17 21:44:33 +01:00
Alexandre René
184c00e38c Explain non-standard encoding in LatinRules.xdy
In order to fulfill its function, LatinRules.xdy must use single,
non-standard byte characters (neither ASCII, nor multi-byte UTF-8).
To someone encountering the file without knowing its purpose (e.g.
due a post-processing raising a warning for the unrecognized encoding)
this is likely surprising, and may seem like a holdover from a time where
Unicode wasn't as universally supported.

The added comment should make clear that the file must stay as it is,
and in particular that it must not be "standardized" to UTF-8.
2022-07-17 20:49:07 +02: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
github-actions[bot]
8f893a625d
Update message catalogs (#10674) 2022-07-17 12:25:43 +01:00
Takeshi KOMIYA
93b703131b
Merge pull request #10671 from pradyunsg/sort-authors-listing
Alphabetically sort the list of contributors
2022-07-16 19:14:02 +09:00
Pradyun Gedam
00629456f5
Alphabetically sort the list of contributors
This matches the language used to describe the listing.
2022-07-16 11:01:02 +01:00
Jean-François B
7ecb551153 Mumble... Typo in a LaTeX code comment 2022-07-15 21:35:48 +02:00
Jean-François B
07bd330a6f LaTeX: clean-up some LaTeX code comments (follow-up to #10638) 2022-07-15 21:33:24 +02:00
Jean-François B
93226ca91a Update CHANGES for PR #10648 2022-07-14 11:34:12 +02:00
Jean-François B
d737608591
Merge pull request #10648 from jfbu/latex_enhancedboxes
LaTeX: box padding (t,r,b,l), borders (t,r,b,l), shadows (x,y) or radii
2022-07-14 11:19:48 +02:00
Jean-François B
64647ca55f LaTeX: enhanced boxes with padding, borders, shadows, rounded corners
- LaTeX: box padding (t,r,b,l), borders (t,r,b,l), shadows (x,y) or radii

- LaTeX: fix #10650 via usage of our own sophisticated \fcolorbox

- LaTeX: user interface via 'sphinxsetup' to enhanced code-blocks frames

- LaTeX: user interface via 'sphinxsetup' to enhanced topic boxes

- LaTeX: CSS-named-alikes 'sphinxsetup' options for code-blocks and
  topics

- LaTeX: CSS-named-alikes 'sphinxsetup' keys for warning type notices
  (fix #10651)

- LaTeX: documentation of the new CSS-like options

- LaTeX: remove #10619 documentation, as the #10619 added
  shadowBorderColor and shadowShadowColor now named respectively:

  aside.topic_border-TeXcolor and aside.topic_box-shadow-TeXcolor

- LaTeX: use div.topic option prefix and not aside.topic for CSS-like
  options

- LaTeX: keep the implicit legacy padding of warning type boxes as
  default behaviour
2022-07-14 11:08:28 +02:00
danieleades
25d379fb53
Lint with flake8-bugbear (#10602)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-07-12 22:55:57 +01:00
Adam Turner
69824f9265
Update CHANGES for #10548 2022-07-12 22:53:36 +01:00
shiftinv
ede71fd644
Fix minor HTML search summary issues (#10548) 2022-07-12 22:51:29 +01:00
Adam Turner
b3e03d9d07
Support Docutils 0.19 (#10656) 2022-07-12 22:47:02 +01:00
Adam Turner
9112cfeb8d
Refresh the Sphinx13 theme (#10652) 2022-07-10 22:48:15 +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
Takeshi KOMIYA
835b7369cf
Merge pull request #10647 from mitya57/latex-index-keys
LaTeX writer: add \label's for all index keys, not just first
2022-07-10 19:54:46 +09:00
Takeshi KOMIYA
9940da066f
Merge pull request #10654 from jfbu/css_remove_whitespace_in_basic_css_from_templating
Remove empty lines inside selectors in basic.css produced from template
2022-07-10 19:49:21 +09:00
Jean-François B
9d95e29678 Remove empty lines inside selectors in basic.css produced from template 2022-07-10 10:41:45 +02:00
Takeshi KOMIYA
a99def3f8c
Merge pull request #10653 from sphinx-doc/bot/pull-translations
Update message catalogs
2022-07-10 11:37:07 +09:00
tk0miya
eb183b2c6d Update message catalogs 2022-07-10 00:24:04 +00:00
Dmitry Shachnev
da8f7d9c4c LaTeX writer: add \label's for all index keys, not just first
This change was originally added in coq project, but I am forwarding
it here at request of the patch author.

See https://github.com/coq/coq/issues/12361 for the issue description.
2022-07-07 13:37:53 +03:00
Adam Turner
1f21e973d4 Use released Docutils 0.19 on CI 2022-07-06 19:18:10 +01:00
Jean-François B
667351c79c Update CHANGES for #10639 2022-07-06 12:17:38 +02:00
Jean-François B
9da25bea5c
Merge pull request #10639 from jfbu/latex_roundedboxes
LaTeX: optional rounded corners for framing of code-blocks
2022-07-06 12:12:04 +02:00
Jean-François B
c8f0112ed7 Update CHANGES for fix of #10638 2022-07-05 18:59:52 +02:00
Jean-François B
34fe9d0f84 LaTeX: fix (better) compatibility with "old" LaTeX
There was no need for pre-expansion via \expanded and the latter was not
available prior to TL2019
2022-07-05 16:51:22 +02:00
Jean-François B
afaf57d9db LaTeX: fix previous commit for "old" LaTeX compatibility 2022-07-05 10:09:59 +02:00
Jean-François B
4dbb62b9cd LaTeX: optional rounded corners for framing of code-blocks
Via a new configuration verbatimradius of 'sphinxsetup', which defaults
to 0pt.

If this dimension is non zero, the LaTeX package pict2e will be loaded
to help construct frames with rounded corners for code-blocks.  And if
the LaTeX package pict2e was not found, a LaTeX warning is issued during
PDF build.
2022-07-05 09:56:40 +02:00
Jean-François B
ae6b9a4d6a LaTeX: move a recently added code line near where it is now used 2022-07-05 09:13:08 +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
Jean-François B
d4c8e84228 Fix #10638: LaTeX code-blocks when highlighted token uses \fcolorbox
This commit also does some internal refactoring in order to ease up
projected PRs.
2022-07-04 19:11:07 +02:00
Jean-François B
7e76f2c307 CHANGES: improve mark-up for a few cross-referencing issues 2022-07-03 18:46:06 +02:00
Jean-François B
2ac802fbd4 Fix #10633 LaTeX: upstream framed.sty color leak bug 2022-07-03 14:42:26 +02:00
Jean-François B
5ffe1e879e Update CHANGES for PR #10619 2022-07-03 12:14:24 +02:00
Jean-François B
aae64baac0
Merge pull request #10619 from jfbu/latex_coloredshadows
LaTeX: refactor sphinxShadowBox to allow colors for frame and shadow
2022-07-03 12:10:42 +02:00
Takeshi KOMIYA
a9cd517c04
Merge pull request #10632 from sphinx-doc/update_lock-threads
CI: Update lock-threads to v3
2022-07-03 14:27:36 +09:00