Commit Graph
22072 Commits
Author SHA1 Message Date
Adam Turner 40b0f80489 Use `config.verbosity` (#13650) 2025-06-11 15:58:53 +01:00
dependabot[bot] fa6f8c87b7 Bump types-requests to 2.32.4.20250611 (#13651) 2025-06-11 15:58:40 +01:00
Jean-François B. 118f4a13a7 LaTeX: make sure tabulary is used if colspec requires it (#13653) 2025-06-11 09:44:09 +00:00
Jean-François B. 4564486af4 LaTeX: clarify that latest docs addition refers to LaTeX 2025-06-11 10:05:28 +02:00
Jean-François B. 62198d83c3 LaTeX: test better if tabularcolumns colspec is tabulary-specific (#13648) 2025-06-10 20:41:55 +00:00
Jean-François B. d20d348fdb Fix and update CHANGES.rst 2025-06-10 18:04:02 +02:00
Jean-François B. f1316bb169 LaTeX: allow more cases of table nesting, fix #13646
Tables using longtable can now contain nested tables inclusive of those
rendered by tabulary, up to the suppression of the latter horizontal
lines due to an upstream LaTeX bug.  A longtable can never itself be
nested, and will fall-back to tabular.

Formerly longtable would raise (in principle) an error if it contained
any sort of nested table, but the detection of being a longtable was
faulty if not specified as class option.

Relates #6838.
2025-06-10 18:04:02 +02:00
Adam Turner a5366394ae Move build phase to the builder (#13645) 2025-06-10 02:23:51 +01:00
Adam Turner bb5e5454bc Deprecate `Parser.{config,env}` (#13644) 2025-06-10 01:50:48 +01:00
Adam Turner 58ebe2d3e9 Avoid passing `app to SphinxComponentRegistry._get_publisher()` (#13643) 2025-06-10 01:22:22 +01:00
Adam Turner 97f946a598 Refactor and simplify `sphinx.io._create_publisher()` (#13642) 2025-06-10 00:56:29 +01:00
Jean-François B. 9f5e80375e LaTeX: protect the fix of #13635 against a particular configuration (#13641) 2025-06-10 00:46:48 +02:00
Jean-François B. dfa7254cf4 Update CHANGES for fix of issues #13597 and #13635 2025-06-09 23:55:12 +02:00
Jean-François B. 82736e0cee LaTeX: fix #13635 (cell containing table turns row colors off) 2025-06-09 23:55:12 +02:00
Adam Turner 8eaa0ab60f Stop taking `app in create_source_parser()` (#13639) 2025-06-09 22:27:03 +01:00
Adam Turner b544cfca21 Rename `SphinxBaseReader.setup() to _setup_transforms()` (#13638) 2025-06-09 21:56:20 +01:00
Adam Turner 4d860475d7 Deprecate `Parser.set_application()` (#13637) 2025-06-09 21:39:39 +01:00
Adam Turner e4accf42fc Add private reference to the registry for builders 2025-06-08 23:09:43 +01:00
Victor Wheeler 1580f5f7fd Note that the `:doc:` role is case-sensitive (#13587) 2025-06-08 20:41:45 +01:00
Victor WheelerandAdam Turner 39c81254de Update `extending_build.rst to match tutorials/example/todo.py` (#13515)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-06-08 20:35:36 +01:00
Adam Turner 5392f0f2ed Extract `_read_conf_py() from Config.read()` (#13633) 2025-06-08 19:52:24 +01:00
Adam Turner 3044d67531 Avoid self.app in builder (#13632) 2025-06-07 18:58:06 +01:00
Adam Turner acdf4a8698 Use an explicit tags parameter for `global_toctree_for_doc()` (#13631) 2025-06-07 17:25:11 +01:00
Melissa Weber MendonçaandAdam Turner 25ab3d7390 Document the `autolink` role for autosummary (#13596)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-06-07 17:24:56 +01:00
Tim HoffmannandAdam Turner 74627b25b0 Use anonymous references for links with embedded URLs (#13615)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-06-07 17:07:52 +01:00
Marie Sacksick dc33f988f3 autosummary: add 'vs.' to the well-known abbreviations (#13591) 2025-06-07 16:38:30 +01:00
Adam TurnerandAdam Dangoor 3601161f0e Bump types-docutils to 0.21.0.20250525 (#13630)
Co-authored-by: Adam Dangoor <adamdangoor@gmail.com>
2025-06-07 16:36:42 +01:00
dependabot[bot] 0521d83514 Bump Ruff to 0.11.13 (#13622) 2025-06-07 16:16:14 +01:00
Adam Turner 21c8513e49 Avoid `self.app` in transforms (#13628) 2025-06-07 16:12:47 +01:00
Jean-François B. 8f18b573d6 Close #13597 (LaTeX table in merged cell of parent table) (#13629) 2025-06-07 16:29:41 +02:00
Adam Turner 0b0c039c02 Deprecate remaining public `app` attributes (#13627) 2025-06-07 01:34:48 +01:00
Adam Turner 50590b19ad Mark class attributes as `ClassVar` (#13626) 2025-06-06 23:20:03 +01:00
Adam Turner 77a0d6658b Extract nested function definitions (#13625) 2025-06-06 22:27:18 +01:00
Adam Turner 43c298b8e0 Add `_write_docname()` (#13624) 2025-06-06 20:40:05 +01:00
Jean-François B. 6a860c8c2e Fix #13619 about possibly duplicated footnotes from signatures in PDF (#13623) 2025-06-06 16:11:34 +02:00
Adam Turner 2b7e3adf27 Bump Ruff to 0.11.12 2025-06-03 00:56:19 +01:00
Adam Turner 987ccb2a97 Prefer `str.partition over str.split(..., maxsize=1)` 2025-06-03 00:37:45 +01:00
Adam Turner 03c2373c75 Extract `_is_typing()` to module level 2025-06-02 23:23:57 +01:00
James AddisonandAdam Turner 68d56109ff Tests: update LaTeX label test expectations from Docutils r10151 (#13610)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-06-02 23:02:48 +01:00
James Addison 55092e794f Tests: Undo patch for Python 3.14.0 alpha 7; no longer required for 3.14.0 beta 2 (#13606) 2025-06-02 22:17:35 +01:00
dependabot[bot] 31e63d786a Bump types-requests to 2.32.0.20250602 (#13605) 2025-06-02 16:49:24 +01:00
Jean-François B 546170754f LaTeX: render in PDF hyperlinks located inside titles
Fix #12821
2025-05-25 17:50:55 +02:00
Jean-François B. 036db81dcd CI/LaTeX: run pdflatex twice when building documents 2025-05-25 17:50:55 +02:00
Jean-François B. 0d7ba3b2f4 Add .auto/ to .gitignore (Emacs AUCTeX) 2025-05-25 17:50:55 +02:00
Jean-François B 1f2821e204 LaTeX: add support for fontawesome6 package 2025-05-25 17:02:27 +02:00
dependabot[bot] a1b944488c Bump Ruff to 0.11.11 (#13589) 2025-05-24 09:32:59 +01:00
Adam Turner 7957429f26 Add initial Pyrefly configuration file (#13579) 2025-05-24 08:45:05 +01:00
Adam Dangoor cffaf3d103 Remove unused fixture from `test_config_pickle_protocol` (#13590) 2025-05-24 08:44:36 +01:00
Adam Turner 2c2159fb9e Adopt Prettier for JavaScript formatting (#13581) 2025-05-24 02:15:04 +01:00
Adam Dangoor 1a69059295 Remove mypy overrides for `tests/test_util/test_util_display.py` (#13583) 2025-05-22 11:20:37 +01:00