22413 Commits
Author SHA1 Message Date
Günter MildeandBénédikt Tran e44a40eb2f Fix two test samples to avoid new Docutils warning. (#14540)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2026-08-07 22:14:54 +02:00
Adam Dangoor b06d92e80e Pin ty to 0.0.10 and clear remaining check failures (#14538) 2026-08-06 23:49:45 +02:00
Hugo van KemenadeandBénédikt Tran 9af5b469df Derive JS class name from stemmer filename to fix Chinese search (#14416)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2026-07-22 17:23:07 +02:00
Jonathan Dung c1b618c559 Fix grammatical mistakes in sphinx.ext.viewcode documentation (#14505) 2026-06-30 18:10:10 +02:00
Tim PillingerandBénédikt Tran 581c0860df Document graphviz requirement for sphinx.ext.graphviz (#14487)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2026-06-15 08:51:10 +02:00
Jared Dillard 15b45be903 Document incompatible changes for HTML builder render_partial method in 9.x (#14488) 2026-06-14 18:46:20 +02:00
Jean-François B. 748a569f47 LaTeX: fix PDF build crash with June 2026 LaTeX release (related to tables with 'colorrows') (#14484) 2026-06-09 15:54:57 +02:00
Jean-François B. 044c841f8b Bump version to 9.1.1 (in development) (#14483) 2026-06-09 12:05:49 +00:00
Jared DillardandBénédikt Tran bc5837b0a8 Add AI policy page (#14473)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2026-06-09 05:25:35 +00:00
Bénédikt Tran 31330f8b1a Strip ANSI escape sequences in test_build_linkcheck.py HTTP logs (#14475)
Original patch by Edgar Ramírez Mondragón <edgarrm358@gmail.com>.
2026-06-07 12:06:17 +02:00
Bénédikt Tran c01b0eb640 Fix test_search.py with long-word splitting (#14474) 2026-06-07 11:49:11 +02:00
MJSHANG c0711783d6 Fix typos in LaTeX files and v8.2 changelog (#14428) 2026-06-07 10:48:56 +02:00
James Addison 3920375160 Update LICENSE.rst copyright statement for 2026 (#14393) 2026-06-07 10:47:10 +02:00
Stephen Finucane f12e5ec419 Fix tox lint target (#14431)
Signed-off-by: Stephen Finucane <stephen@that.guru>
2026-06-07 10:42:56 +02:00
Adam Turner cc7c6f435a Bump to 9.1.0 final v9.1.0 2025-12-31 15:07:44 +00:00
Jared DillardandAdam Turner b127b9478a Add `app.add_static_dir()` for copying extension static files (#14219)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-12-31 14:58:12 +00:00
Tim Nordell 20f1c46790 LaTeX: Inhibit breaks for rows with merged vertical cells (#14227) 2025-12-30 23:46:12 +01:00
Jean-François B. 3c85411fd0 Polish CHANGES.rst (#14225) 2025-12-29 11:14:37 +01:00
Jean-François B. 9ee5446c6c LaTeX: restore 1.7 documentation of literalblockcappos (#14224) 2025-12-29 09:56:26 +00:00
Jean-François B. d75d602005 LaTeX: improve (again...) some code comments in time for 9.1.0 (#14222) 2025-12-28 10:56:38 +00:00
Jean-François B. 8dca61d69a Improve some LaTeX code comments (#14220) 2025-12-27 18:32:25 +00:00
Adam Turner 8ab960098a Bump to 9.1.0 candidate 2 v9.1.0rc2 2025-12-27 03:15:19 +00:00
Adam Turner d59b237594 autodoc: Improve support for non-weakreferencable objects 2025-12-27 03:03:14 +00:00
gerhardtgao 964424b3db Use the correct reference for using existing extensions (#14157) 2025-12-27 03:01:42 +00:00
Jean-François B. 4ba6322265 Slightly improve some #14213 latex.py code (#14217) 2025-12-26 20:12:57 +00:00
Jean-François B. 515fe33b9c LaTeX: let horizontal tabulations from a raw text files render correctly to PDF if using `literalinclude` (#14066)
They can not attow come from code-blocks, having been replaced during
Docutils/Sphinx processing with spaces before ending in the .tex file.
But they may originate from literalinclude directive.

Known limitation: only "top-level" TABs will obey tab stops.  Indeed,
TABs ending inside the Pygmentize highlighting macro \PYG would cause
breakage if the fancyvrb.sty method for them to obey tab stops was put
at work.  So Sphinx modifies \PYG to let TABs in such location get
converted to a fixed number (default 8) of spaces.

Close #14064
2025-12-26 20:12:08 +01:00
Jean-François B. 621f58d8e1 LaTeX: fix #3099 (#14213)
Formerly, PDF rendering crashed for inputs of more than about 1350
codelines either from a code-block, or from a literal include, when this
literal include used the sphinxVerbatim and not the sphinxalltt route.

The fix goes via novel mark-up which is applied in case the literally
included file or code-block contains more than 500 codelines. Then
chunks of 500 consecutive source codelines are rendered using:

sphinxLongVerbatimFirst, sphinxLongVerbatimMiddle, and
sphinxLongVerbatimLast.

Efforts have been devoted for line numbering and emphasizing to not be
modified, and (if so configured) for bottom captions to appear where
expected.

It was needed to (to cut into smaller pieces and) modify in a very
limited manner the legacy sphinxVerbatim which is still used for up to
500 codelines, which corresponds to about 10 a4-sized pages, if document
is with default pointsize and margins.

Hopefully no consequences will arise from these changes.

Known issue: in the unlikely event a pagebreak happens exactly after a
chunk of 500 code lines, the continuation hints usually printed at
bottom and top of pages are omitted.
2025-12-26 16:52:01 +01:00
Shengyu Zhang 37ceb97e72 Fix typo in "source-read" event parameter description (#14211) 2025-12-24 16:16:30 +00:00
gerhardtgaoandAdam Turner a20ca6371c Fix link to Docutils' `.. class::` directive (#14193)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-12-24 16:15:41 +00:00
Adam Turner d68d242305 Fix CHANGES 2025-12-23 09:08:50 +00:00
Adam Turner f297b9d4d0 Fix creating `HTMLThemeFactory` objects in third-party extensions 2025-12-23 08:58:55 +00:00
Günter Milde e5cacbc407 Let LaTeX writer support the standard role "acronym". (#14202) 2025-12-22 12:01:46 +01:00
Tim NordellandJean-François B. d9fc225904 latex tables: Fix rendering for grid filled merged vertical cells (#14024)
Co-authored-by: Jean-François B. <2589111+jfbu@users.noreply.github.com>
2025-12-21 12:46:14 +01:00
Adam Turner b062fa9287 Remove incorrect assertions (#14204) 2025-12-20 15:01:19 +00:00
Adam Turner 5c2ab212b4 Bump to 9.1.0 candidate 1 v9.1.0rc1 2025-12-19 23:29:18 +00:00
Adam Turner 85b7c7f034 autodoc: Fix default option parsing (#14198) 2025-12-19 23:27:28 +00:00
Adam Turner 93b20c442d Fix tests for Python 3.15 2025-12-19 23:18:58 +00:00
Adam Turner ce3fac94fe Move misplaced CHANGES entry 2025-12-19 23:16:19 +00:00
Adam Turner 5db3a1928c Fix compatibility with MyST-Parser (#14194) 2025-12-19 21:45:32 +00:00
Adam Turner 038fc40dd9 autodoc: Fix duplicate `:no-index-entry:` for modules (#14190) 2025-12-17 16:43:10 +00:00
dependabot[bot] cc604ad430 Bump mypy to 1.19.1 (#14185) 2025-12-16 17:09:37 +00:00
Adam Turner ce19a75e3c Ignore fewer Ty rules (#14184) 2025-12-15 21:31:10 +00:00
Adam Turner b9650d5d26 Remove some entries from the mypy whitelist (#14182) 2025-12-15 19:55:28 +00:00
9257a4f1bb Improve type annotations with an 'extract_node' test utility (#14151)
Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-12-15 18:40:34 +00:00
Maciej Olko eb4d0da2d0 Always ignore order in `_NodeUpdater.compare_references()` (#14172) 2025-12-15 16:19:50 +00:00
dependabot[bot] 917d24ef55 Bump actions/upload-artifact to v6 (#14181) 2025-12-15 16:18:23 +00:00
dependabot[bot] 206eed6cab Bump Ruff to 0.14.9 (#14169) 2025-12-14 20:54:57 +00:00
71cc5d8479 Bump types-docutils to 0.22.3.20251115 (#13634)
Co-authored-by: Adam Dangoor <adamdangoor@gmail.com>
Co-authored-by: danieleades <33452915+danieleades@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
2025-12-10 15:41:41 +00:00
dependabot[bot]andAdam Turner a672c54642 Bump Ruff to 0.14.8 (#14158)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-12-05 22:43:03 +00:00
Adam Turner a5e373ce51 Require Docutils 0.21 or greater (#14154) 2025-12-05 22:37:44 +00:00