Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sphinx-doc/sphinx
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3a7d89246e31a90a78ae05cbfd155ecc4ca139cf
Choose a base ref
..
head repository: sphinx-doc/sphinx
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d8969f11b3fcc3cdc4faf11f3a955d5e2fa9eae5
Choose a head ref
Showing with 586 additions and 347 deletions.
  1. +5 −6 .github/workflows/builddoc.yml
  2. +0 −40 .github/workflows/coverage.yml
  3. +3 −3 .github/workflows/create-release.yml
  4. +0 −38 .github/workflows/latex.yml
  5. +19 −16 .github/workflows/lint.yml
  6. +78 −20 .github/workflows/main.yml
  7. +18 −2 .github/workflows/nodejs.yml
  8. +4 −4 .github/workflows/transifex.yml
  9. +14 −0 CHANGES.rst
  10. +1 −0 doc/conf.py
  11. +9 −0 doc/extdev/deprecated.rst
  12. +31 −67 doc/man/sphinx-build.rst
  13. +3 −0 doc/man/sphinx-quickstart.rst
  14. +1 −1 doc/tutorial/deploying.rst
  15. +1 −1 doc/tutorial/getting-started.rst
  16. +1 −1 doc/usage/advanced/intl.rst
  17. +54 −1 doc/usage/builders/index.rst
  18. +1 −1 doc/usage/extensions/coverage.rst
  19. +1 −1 doc/usage/extensions/graphviz.rst
  20. +1 −1 doc/usage/extensions/math.rst
  21. +3 −3 doc/usage/quickstart.rst
  22. +74 −30 sphinx/cmd/build.py
  23. +8 −1 sphinx/cmd/quickstart.py
  24. +6 −3 sphinx/domains/math.py
  25. BIN sphinx/locale/ca/LC_MESSAGES/sphinx.mo
  26. +1 −1 sphinx/locale/ca/LC_MESSAGES/sphinx.po
  27. BIN sphinx/locale/gl/LC_MESSAGES/sphinx.mo
  28. +2 −2 sphinx/locale/gl/LC_MESSAGES/sphinx.po
  29. +83 −83 sphinx/locale/sphinx.pot
  30. BIN sphinx/locale/sq/LC_MESSAGES/sphinx.mo
  31. +1 −1 sphinx/locale/sq/LC_MESSAGES/sphinx.po
  32. +33 −0 sphinx/util/_io.py
  33. +13 −1 sphinx/util/console.py
  34. +3 −2 sphinx/util/exceptions.py
  35. +9 −2 sphinx/util/http_date.py
  36. +2 −3 sphinx/util/i18n.py
  37. 0 tests/roots/test-ext-math-include/conf.py
  38. +6 −0 tests/roots/test-ext-math-include/included.rst
  39. +7 −0 tests/roots/test-ext-math-include/index.rst
  40. +4 −0 tests/roots/test-ext-math-include/math.rst
  41. +29 −0 tests/test_build.py
  42. +1 −2 tests/test_build_linkcheck.py
  43. +10 −10 tests/test_ext_intersphinx.py
  44. +44 −0 tests/test_ext_math.py
  45. +2 −0 tests/test_util_i18n.py
  46. 0 utils/bump_docker.py
11 changes: 5 additions & 6 deletions .github/workflows/builddoc.yml
Original file line number Diff line number Diff line change
@@ -20,15 +20,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3
python-version: "3"
- name: Install graphviz
run: sudo apt-get install graphviz
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y graphviz
python -m pip install --upgrade pip
python -m pip install .[docs]
- name: Render the documentation
@@ -38,6 +38,5 @@ jobs:
-T
-W
--jobs=auto
-n
-vvv
-vv
--keep-going
40 changes: 0 additions & 40 deletions .github/workflows/coverage.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -17,11 +17,11 @@ jobs:
permissions:
id-token: write # for PyPI trusted publishing
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3
python-version: "3"
cache: pip
cache-dependency-path: pyproject.toml

@@ -75,7 +75,7 @@ jobs:
permissions:
contents: write # for softprops/action-gh-release to create GitHub release
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Get release version
id: get_version
uses: actions/github-script@v6
38 changes: 0 additions & 38 deletions .github/workflows/latex.yml

This file was deleted.

35 changes: 19 additions & 16 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Lint source code

on: [push, pull_request]
on:
push:
pull_request:
workflow_dispatch:

permissions:
contents: read
@@ -17,34 +20,34 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3
python-version: "3"
- name: Install pip
run: python -m pip install --upgrade pip

- name: Install known good Ruff
run: python -m pip install ruff==0.0.284
- name: Lint with known good Ruff
run: ruff . --diff --format github
run: ruff . --format github

- name: Install latest Ruff
run: python -m pip install --upgrade ruff
- name: Lint with Ruff
- name: Lint with latest Ruff
continue-on-error: true
run: ruff . --diff --format github
run: ruff . --format github

flake8:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3
python-version: "3"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
@@ -56,11 +59,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3
python-version: "3"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
@@ -72,11 +75,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3
python-version: "3"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
@@ -88,11 +91,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3
python-version: "3"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
@@ -113,11 +116,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3
python-version: "3"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Loading