summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* [bot]: Update message catalogues (#10889)github-actions[bot]2023-03-17128-39065/+37760
| | | Co-authored-by: AA-Turner <AA-Turner@users.noreply.github.com>
* Display examples of roles in the documentation (#11226)Hugo van Kemenade2023-03-171-9/+38
| | | | Show examples of roles in the docs so we can see how they look. Seeing how roles are displayed helps us decide whether to use them.
* Split up logic in ``sphinx.transforms.i18n.Locale.apply`` (#11166)Jean Abou-Samra2023-03-151-242/+261
| | | | | | | Before, the apply method was one big 400-line chunk. This just splits it up into more manageable chunks by introducing a ``_NodeUpdater`` auxiliary class holding logic for updating various types of references. Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Update CHANGES for PR #11243Jean-François B2023-03-151-0/+1
|
* LaTeX: let rounded boxes support up to 4 distinct border-widthsJean-François B2023-03-153-137/+137
| | | | | | | Internally replace "strokepath" operation for drawing the border (which mandated constant border-width) by only "fillpath" operations. This also allowed to significantly simplify some other aspects of the code related to box-decoration-break=slice.
* LaTeX: fix a ad3235421 regression with pre_box-shadow-TeXcolorJean-François B2023-03-153-3/+4
| | | | | | | The internally used color name for the (optional) shadow of code-blocks had changed at one place but not another, so using pre_box-shadow-TeXcolor option of 'sphinxsetup' with latex_elements was broken since.
* Properly quote a string value in ``transifex.yml``Adam Turner2023-03-151-1/+1
|
* Update translations workflow for new ``tx`` clientAdam Turner2023-03-153-26/+39
|
* Refactor ``utils/babel_runner.py``Adam Turner2023-03-152-149/+186
|
* Ignore ``PLC1901`` in RuffAdam Turner2023-03-151-0/+1
|
* Dummy commit to re-launch Windows CI (instance of #11232)Jean-François B2023-03-151-1/+0
|
* LaTeX: fix rounded boxes stroke twice their bordersJean-François B2023-03-151-1/+1
|
* LaTeX: add boolean option addstrut to \sphinxbox/\sphinxboxsetupJean-François B2023-03-143-4/+22
|
* LaTeX: also admonition directives support box-decoration-break=sliceJean-François B2023-03-135-13/+34
|
* LaTeX: add support for div.topic_box-decoration-break=sliceJean-François B2023-03-132-11/+23
| | | | | | | | | It is however undecided if the slice style should suppress the horizontal shadow forcefully. It does not so far. This commit has removed the \spx@ShadowFBox macro which got so simple that its meaning could be put directly into \FrameCommand definition.
* LaTeX: refactoring of some internals from box-decoration-break supportJean-François B2023-03-132-47/+87
|
* LaTeX: comments following up on regression fix commit in sphinxShadowBoxJean-François B2023-03-133-14/+27
|
* LaTeX: fix a regression revealed by test_includegraphics_oversizedJean-François B2023-03-131-3/+5
|
* LaTeX: encapsulate dimension options in \dimexprJean-François B2023-03-134-52/+56
|
* LaTeX: guard against non-available xcolor in setting \sphinxbox defaultsJean-François B2023-03-131-3/+5
|
* LaTeX: polish code commentsJean-François B2023-03-133-129/+122
|
* LaTeX: mumble with trailing whitespaces in latex.rstJean-François B2023-03-121-2/+2
|
* LaTeX: documentation and a mark-up fix in latex.rstJean-François B2023-03-121-34/+41
|
* Fix #11235: LaTeX: ``\color`` may cause color leaks in topic or noticesJean-François B2023-03-123-10/+43
|
* LaTeX: fix breakage at 4de9d4604 from misuse of \pagecolorJean-François B2023-03-121-1/+1
| | | | | This is a one-argument command to set the page colour, not a toggle to use the page colour!
* LaTeX: use older syntax and not the ``\expanded`` added at #11234Jean-François B2023-03-121-5/+5
| | | | | | Sorry about this, the \expanded was added to pdflatex in 2019 only (but was available earlier to lualatex). This is in contrast with \unexpanded which has been available for more than 15 years.
* LaTeX: add support for styling ``note`` (``hint``, ...) similarly as ↵Jean-François B2023-03-124-349/+501
| | | | ``warning`` ( ``danger``, ...) (#11234)
* Dummy commit to span CI as Windows failed test_gettext_dont_rebuild_moJean-François B2023-03-101-0/+1
|
* LaTeX: comment for future maintenance of \sphinxboxJean-François B2023-03-101-0/+21
|
* LaTeX: guard against \renewsphinxbox[...]{\sphinxbox}Jean-François B2023-03-101-1/+11
|
* LaTeX: \sphinxbox must issue \leavevmode to let TeX enter paragraph modeJean-François B2023-03-101-0/+5
|
* LaTeX: refactoring to avoid code duplicationJean-François B2023-03-094-52/+33
|
* LaTeX: fix some documentation from #11224Jean-François B2023-03-072-10/+25
|
* LaTeX: streamline matters related to pict2e availabilityJean-François B2023-03-072-28/+64
|
* LaTeX: fix a glitch from recent internal renamingsJean-François B2023-03-073-3/+4
| | | | | | On a system with LaTeX package pict2e unavailable it would lead to an infinite loop. Caused by forgotten update of a macro name which has changed meaning.
* Update some LaTeX comments and documentation after #11224Jean-François B2023-03-072-2/+7
|
* Merge pull request #11224 from jfbu/latex_sphinxboxJean-François B2023-03-074-13/+138
|\ | | | | LaTeX: add ``\sphinxbox`` command
| * LaTeX: ``\sphinxbox`` for boxing inline text elementsJean-François B2023-03-074-13/+138
|/
* Use narrower [method-assign] instead of [assignment] (mypy 1.1.1)Jean-François B2023-03-071-4/+4
|
* LaTeX: refactor how display environments use sphinxpackageboxesJean-François B2023-03-075-236/+170
| | | | | This is to share code as much as possible and facilitate future extensions.
* LaTeX: clean-up of comments for refactoring of CSS-like options supportJean-François B2023-03-071-38/+79
|
* LaTeX: fix unintended 1pt upwards vertical shift of rounded box framesJean-François B2023-03-072-0/+4
| | | | | | | This issue was not clearly visible on code-blocks whose contents always occupy at least one full height line and 1pt is small compared to it and the default padding. It became more obvious when experimenting (work in progress) with applying the macro to inline contents with zero padding.
* Update CHANGESJean-François B2023-03-061-0/+2
|
* LaTeX: refactor support macros for CSS-like sphinxsetup optionsJean-François B2023-03-064-401/+246
| | | | | Use batch definitions to handle in a unified way options for code-blocks, topics and admonitions.
* LaTeX: guard usage of shadow color via associated booleanJean-François B2023-03-061-2/+5
| | | | modified: sphinxpackageboxes.sty
* LaTeX: Fix shadow color leaks to border (rounded box) if no border colorJean-François B2023-03-061-2/+5
|
* Get docname from env in ``sphinx.transforms.i18n`` (#11160)Jean Abou-Samra2023-03-051-6/+1
|
* Drop OrderedDictAdam Turner2023-03-057-33/+22
| | | | Since Python 3.7, dicts maintain insertion order.
* Remove tests that rely on setuptoolsAdam Turner2023-03-057-178/+0
|
* Remove ``.egg`` support from pycode ``ModuleAnalyser``Adam Turner2023-03-058-87/+1
| | | | Python eggs are a now-obsolete binary distribution format.