Commit Graph

19481 Commits

Author SHA1 Message Date
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
Takeshi KOMIYA
5c22bd86ef CI: Update lock-threads to v3 2022-07-03 14:05:46 +09:00
Takeshi KOMIYA
6de301eaff
Merge pull request #10630 from sphinx-doc/dependabot/github_actions/peter-evans/create-pull-request-4
Bump peter-evans/create-pull-request from 3 to 4
2022-07-03 13:44:04 +09:00
Takeshi KOMIYA
5c27d02868
Merge pull request #10629 from sphinx-doc/dependabot/github_actions/deadsnakes/action-2.1.1
Bump deadsnakes/action from 2.0.1 to 2.1.1
2022-07-03 13:43:49 +09:00
Takeshi KOMIYA
6c85a91e17
Merge pull request #10627 from sphinx-doc/bot/pull-translations
Update message catalogs
2022-07-03 13:33:24 +09:00
dependabot[bot]
0b9f96dfe1
Bump peter-evans/create-pull-request from 3 to 4
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3 to 4.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v3...v4)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-03 04:27:11 +00:00
dependabot[bot]
9e0841fd89
Bump deadsnakes/action from 2.0.1 to 2.1.1
Bumps [deadsnakes/action](https://github.com/deadsnakes/action) from 2.0.1 to 2.1.1.
- [Release notes](https://github.com/deadsnakes/action/releases)
- [Commits](https://github.com/deadsnakes/action/compare/v2.0.1...v2.1.1)

---
updated-dependencies:
- dependency-name: deadsnakes/action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-03 04:27:08 +00:00
Takeshi KOMIYA
d6bf2fdfb7
Merge pull request #10628 from turrisxyz/Dependabot-GitHub-Actions
chore: Included githubactions in the dependabot config
2022-07-03 13:26:43 +09:00
naveen
a1f4e972fd chore: Included githubactions in the dependabot config
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-07-03 01:29:18 +00:00
tk0miya
ca53b2eefc Update message catalogs 2022-07-03 00:22:59 +00:00
Jean-François B
9efb9e3137 Merge branch '5.0.x' into 5.x 2022-07-02 17:51:27 +02:00
Jean-François B
213c29b3aa Fix #10506 (again): replacements to Pygments escapes
Relates: pygments/pygments#2172
2022-07-02 17:32:12 +02:00
danieleades
13fb17468e
Remove redundant static typing casts (#10612) 2022-07-02 11:04:31 +01:00