summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Simplify bug report templateAdam Turner2022-10-141-46/+34
| |
| * Update all GitHub actions workflows to Ubuntu latestAdam Turner2022-10-142-2/+2
| |
| * Add ``sphinx-build --bug-report``Adam Turner2022-10-141-6/+37
| |
| * URI-escape image filenames (#10268)Eric Wieser2022-10-1310-9/+28
| | | | | | | | | | | | | | | | Without this change, local images with `#` in their name result in incorrect URLs There is already a similar call to `urllib.parse.quote` for file downloads, suggesting this is a sensible approach. Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Takeshi KOMIYA <i.tkomiya@gmail.com>
| * Revert "Fix detection for out of date files (#9360)" (#10908)Martin Liška2022-10-136-6/+6
| | | | | | | | | | | | | | This reverts commit b1390c4191319e75d14ce3e6e73ef43c31d981b4. The change is reverted because some builders don't have fine-grained support for outdated docs: https://github.com/sphinx-doc/sphinx/issues/10903#issuecomment-1273199352
| * Update image for LaTeX job (#10916)Adam Turner2022-10-122-4/+6
| |
| * s/5.2.0/5.3.0 in various code comments as #10759 got merged in 5.3.0Jean-François B2022-10-126-19/+19
| |
| * Update CHANGES for PR #10759Jean-François B2022-10-121-0/+1
| |
| * LaTeX: support for booktabs-style and zebra-striped tables (#10759)Jean-François B2022-10-1245-417/+1815
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a combination of 2 + 28 + 7 + and some more commits... * Cherry-pick: Add support for booktabs-style tables to LaTeX builder * Cherry-pick: Add support for zebra-striped tables to LaTeX builder Co-authored-by: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com> Above work originally initiated by @sephalon (thanks!) Development refactored and continued by @jfbu * latex_table_style configuration, support booktabs, colorrows, borderless Some details: - Simplify a bit a conditional in the longtable template This also puts the target for a longtable with a label but no caption above the toprule for better hyperlinking (testing shows hyperlink target can not end up alone at bottom of previous page). - Extend allowed syntax for colour assignments via 'sphinxsetup' - latex_table_style new configuration value and coloured rows For the user interface I tried to look for inspiration in https://docutils.sourceforge.io/docs/user/config.html#table-style which mentions booktabs and borderless. They also mention captionbelow which we can implement later, now that architecture is here. They don't mention coloured rows. - Test on our own document... looks fine! - Work-around an incompatibility of \cline with row colours - Reverse priority of classes to allow overruling booktabs by standard after parsing source but before letting LaTeX writer act - Closes #8220 Commit https://github.com/sphinx-doc/sphinx/commit/bb859c669679baebd8cc8d10c99382478c0d1647 already improved a bit, this finishes it (as :rst:dir:`rst-class` was actually not linking to anywhere). - Let booktabs style defaults to *not* using \cmidrule. They actually don't make much sense there, as all \hline's are removed. - Add \sphinxnorowcolor which allows construct such as this one in a tabularcolumns directive: >{\columncolor{blue}\sphinxnorowcolor} else LaTeX always overrides column colour by row colour - Add TableMergeColorHeader, TableMergeColorOdd, TableMergeColorEven so single-row merged cells can be styled especially - Extend row colours to all header rows not only the first one (all header rows will share same colour settings) - Auto-adjust to a no '|'-colspec for optimal handling of merged cell - Add \sphinxcolorblend - Workaround LaTeX's \cline features and other grid tables matters - Add \sphinxbuildwarning for important warnings - Fix some white gaps in merged cells of tables with vlines and colorrows - Work around LaTeX's \cline serious deficiencies for complex grid tables This commit corrects \cline badly impacting vertical spacing and making tables look even more cramped as they usually are in LaTeX (although one sees it clearly only with \arrarrulewidth a bit more than the LaTeX default of 0.4pt). Most importantly this commit solves the problem that \cline's got masked by colour panels from the row below. - Update CHANGES for PR #10759 - Improve documentation of new latex_table_style regarding colours
| * Fix performance regression for ``imgmath`` embedding (#10888)Julien Schueller2022-10-091-61/+58
| | | | | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
| * Don't display 'replaceable hardcoded link' when link has a slash (#10137)Anthony Sottile2022-10-053-1/+8
| |
| * Fix detection for out of date files (#9360)Martin Liška2022-10-056-6/+6
| | | | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
| * Update CHANGES for `:option:` reference format changes (#10892)Martin Liška2022-10-051-1/+2
| |
| * Fix disabling cross-references in pre-v3 C domain (#10890)Adam Turner2022-10-051-1/+2
| |
| * Fix `cleanup_tempdir` in imgmath (#10895)Julien Schueller2022-10-051-1/+1
| |
| * Add debug logging to `autosectionlabel` (#10881)Martin Patz2022-10-043-0/+13
| | | | | | Co-authored-by: Martin Patz <martin@recogni.com>
| * Extend cross referencing options with values (#10883)Martin Liška2022-10-024-6/+18
| | | | | | | | | | | | | | | | This change means that text following `=`, `[=`, or ` ` is ignored when searching for a corresponding option directive to an option cross reference role. These are commonly used options, for example `--profile=path`, `--profile[=path]` or `--profile path`. Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
| * Ensure non-builtin extensions use the proper versionAdam Turner2022-09-306-8/+13
| |
* | Remove support for parsing pre-v3 syntax in the C domain (#10901)Adam Turner2022-10-092-78/+5
| |
* | Note removal of deprecated APIsAdam Turner2022-10-051-0/+2
| |
* | Note removal of JavaScript frameworksAdam Turner2022-10-051-0/+21
| |
* | Merge branch '5.x'Adam Turner2022-09-3027-73/+184
|\ \ | |/ | | | | | | # Conflicts: # sphinx/locale/__init__.py
| * Merge branch '5.2.x' into 5.xAdam Turner2022-09-3013-16/+76
| |\ | | | | | | | | | | | | | | | # Conflicts: # CHANGES # sphinx/__init__.py
| | * Bump to 5.2.3 finalv5.2.3Adam Turner2022-09-302-2/+9
| | |
| | * Finer grained control over domain ToC entries (#10886)Adam Turner2022-09-3010-14/+61
| | | | | | | | | | | | | | | - Implement `:nocontentsentry:` flag - Use `:nocontentsentry:` in docs - Add domain object table of contents configuration option
| | * imgmath: Fix embed mode (#10878)Julien Schueller2022-09-292-2/+8
| | |
| * | CI: Move LaTeX job to GitHub Actions (#10884)Julien Schueller2022-09-302-16/+24
| | | | | | | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
| * | shrink 'any-generics' whitelist for the 'deprecation' module (#10849)danieleades2022-09-292-5/+4
| | |
| * | Use a module level constant as best practice (#10876)danieleades2022-09-291-1/+4
| | |
| * | shrink 'Any generics' mypy whitelist for builders module (#10846)danieleades2022-09-292-5/+7
| | |
| * | shrink 'any-generics' whitelist for the 'locale' module (#10866)danieleades2022-09-292-5/+4
| | |
| * | Restore annotations in `sphinx.locale` to objectsAdam Turner2022-09-281-25/+21
| | |
| * | Refactor `sphinx.locale`Adam Turner2022-09-281-21/+27
| | | | | | | | | | | | | | | - Skip typing imports - Simplify `translators`
| * | Refactor `locale._TranslationProxy`Adam Turner2022-09-281-54/+50
| | |
| * | Shrink 'any-generics' whitelist for the `pycode` module (#10868)danieleades2022-09-283-9/+8
| | |
| * | Add default arguments to `locale.init_console()`Adam Turner2022-09-271-1/+5
| | |
| * | extend option directive syntaxMartin Liska2022-09-275-1/+36
| | | | | | | | | | | | One can cross-reference an option value: :option:`--module=foobar`.
| * | Shrink 'any-generics' whitelist for the `cmd` module (#10847)danieleades2022-09-273-4/+4
| | |
| * | fix typo in extrapackages example (#10835)King Phyte2022-09-271-1/+1
| | | | | | | | | Co-authored-by: Jean-François B <2589111+jfbu@users.noreply.github.com>
* | | Increase minimum Docutils to 0.18Adam Turner2022-09-2724-211/+30
| | |
* | | Increase minimum Docutils to 0.17Adam Turner2022-09-2716-211/+95
| | |
* | | Drop Python 3.7Adam Turner2022-09-2727-291/+167
| | |
* | | Clean up after dropping Python 3.6Adam Turner2022-09-2723-122/+95
| | |
* | | Merge branch '5.x'Adam Turner2022-09-27138-27966/+28732
|\ \ \ | |/ /
| * | Update `.readthedocs.yml` configuration (#10874)Adam Turner2022-09-271-1/+5
| | |
| * | Merge branch '5.2.x' into 5.xAdam Turner2022-09-277-15/+24
| |\ \ | | |/ | | | | | | | | | | | | # Conflicts: # CHANGES # sphinx/__init__.py
| | * Bump to 5.2.2 finalv5.2.2Adam Turner2022-09-272-3/+3
| | |
| | * Restore anchor links to top of module docstringAdam Turner2022-09-271-0/+6
| | |
| | * Correct error in release date for Sphinx 5.2.1Adam Turner2022-09-271-1/+1
| | |
| | * Restore anchor links to top of module docstringAdam Turner2022-09-272-2/+4
| | |