Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also 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: astropy/sphinx-astropy
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.9.1
Choose a base ref
...
head repository: astropy/sphinx-astropy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Jun 7, 2023

  1. Back to dev again: v2.0.dev

    [ci skip]
    pllim authored Jun 7, 2023

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    tvdeyen Thomas von Deyen
    Copy the full SHA
    23f863f View commit details

Commits on Aug 13, 2024

  1. MAINT: adding sphinx 8.0.x to the testing matrix

    bsipocz committed Aug 13, 2024
    Copy the full SHA
    f45e260 View commit details
  2. CI: adding dependabot for actions versions

    bsipocz committed Aug 13, 2024
    Copy the full SHA
    b0cb93a View commit details
  3. Fix typo

    Co-authored-by: P. L. Lim <2090236+pllim@users.noreply.github.com>
    bsipocz and pllim authored Aug 13, 2024
    Copy the full SHA
    b74d344 View commit details
  4. Merge pull request #64 from bsipocz/MAINT_adding_sphinx8

    MAINT: adding sphinx 8.0.x to the testing matrix
    pllim authored Aug 13, 2024
    Copy the full SHA
    ff48db6 View commit details
  5. Bump the actions group in /.github/workflows with 2 updates

    Bumps the actions group in /.github/workflows with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [actions/setup-python](https://github.com/actions/setup-python).
    
    
    Updates `actions/checkout` from 3 to 4
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@v3...v4)
    
    Updates `actions/setup-python` from 4 to 5
    - [Release notes](https://github.com/actions/setup-python/releases)
    - [Commits](actions/setup-python@v4...v5)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: actions
    - dependency-name: actions/setup-python
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: actions
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 13, 2024
    Copy the full SHA
    77821da View commit details
  6. Merge pull request #65 from astropy/dependabot/github_actions/dot-git…

    …hub/workflows/actions-f039b2dc45
    
    Bump the actions group in /.github/workflows with 2 updates
    bsipocz authored Aug 13, 2024
    Copy the full SHA
    ceb6ec0 View commit details
  7. CI: use hash for releaser actions' version

    bsipocz committed Aug 13, 2024
    Copy the full SHA
    68357de View commit details
  8. Merge pull request #66 from bsipocz/MAINT_use_hash_to_publish

    CI: use hash for releaser actions' version
    bsipocz authored Aug 13, 2024
    Copy the full SHA
    ea5b1b4 View commit details
  9. Bump pypa/gh-action-pypi-publish

    Bumps the actions group in /.github/workflows with 1 update: [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish).
    
    
    Updates `pypa/gh-action-pypi-publish` from 1.8.14 to 1.9.0
    - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
    - [Commits](pypa/gh-action-pypi-publish@81e9d93...ec4db0b)
    
    ---
    updated-dependencies:
    - dependency-name: pypa/gh-action-pypi-publish
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: actions
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 13, 2024
    Copy the full SHA
    e58a9b3 View commit details
  10. Merge pull request #67 from astropy/dependabot/github_actions/dot-git…

    …hub/workflows/actions-e858884d56
    
    Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 in /.github/workflows in the actions group
    bsipocz authored Aug 13, 2024
    Copy the full SHA
    00c3b85 View commit details

Commits on Sep 1, 2024

  1. Bump pypa/gh-action-pypi-publish

    Bumps the actions group in /.github/workflows with 1 update: [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish).
    
    
    Updates `pypa/gh-action-pypi-publish` from 1.9.0 to 1.10.0
    - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
    - [Commits](pypa/gh-action-pypi-publish@ec4db0b...8a08d61)
    
    ---
    updated-dependencies:
    - dependency-name: pypa/gh-action-pypi-publish
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: actions
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Sep 1, 2024
    Copy the full SHA
    4d1c5dd View commit details

Commits on Sep 3, 2024

  1. BLD: Fix PR event for publish workflow

    [ci skip]
    pllim authored Sep 3, 2024
    Copy the full SHA
    9703995 View commit details
  2. Merge pull request #68 from astropy/dependabot/github_actions/dot-git…

    …hub/workflows/actions-40385af1b3
    
    Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.0 in /.github/workflows in the actions group
    pllim authored Sep 3, 2024
    Copy the full SHA
    102e523 View commit details

Commits on Sep 27, 2024

  1. MNT: Use hash for Action workflow versions and update if needed

    pllim committed Sep 27, 2024
    Copy the full SHA
    d23d925 View commit details
  2. Merge pull request #69 from pllim/action-ver-hash

    MNT: Use hash for Action workflow versions and update if needed
    bsipocz authored Sep 27, 2024
    Copy the full SHA
    54421f5 View commit details

Commits on Oct 10, 2024

  1. MAINT: cleanup unnecessary warning

    bsipocz committed Oct 10, 2024
    Copy the full SHA
    484e8ac View commit details
  2. Typo

    Co-authored-by: P. L. Lim <2090236+pllim@users.noreply.github.com>
    bsipocz and pllim authored Oct 10, 2024
    Copy the full SHA
    fa56b7b View commit details
  3. Merge pull request #71 from bsipocz/BUG_remove_warning

    BUG: cleanup unnecessary warning
    pllim authored Oct 10, 2024
    Copy the full SHA
    d0e263c View commit details

Commits on Nov 1, 2024

  1. Bump the actions group in /.github/workflows with 3 updates

    Bumps the actions group in /.github/workflows with 3 updates: [actions/checkout](https://github.com/actions/checkout), [actions/setup-python](https://github.com/actions/setup-python) and [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish).
    
    
    Updates `actions/checkout` from 4.2.0 to 4.2.2
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@d632683...11bd719)
    
    Updates `actions/setup-python` from 5.2.0 to 5.3.0
    - [Release notes](https://github.com/actions/setup-python/releases)
    - [Commits](actions/setup-python@f677139...0b93645)
    
    Updates `pypa/gh-action-pypi-publish` from 1.10.2 to 1.11.0
    - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
    - [Commits](pypa/gh-action-pypi-publish@897895f...fb13cb3)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: actions
    - dependency-name: actions/setup-python
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: actions
    - dependency-name: pypa/gh-action-pypi-publish
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: actions
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Nov 1, 2024
    Copy the full SHA
    33f188e View commit details
  2. Merge pull request #72 from astropy/dependabot/github_actions/dot-git…

    …hub/workflows/actions-3f3e4124fc
    
    Bump the actions group in /.github/workflows with 3 updates
    bsipocz authored Nov 1, 2024
    Copy the full SHA
    daf9e7f View commit details

Commits on Dec 1, 2024

  1. Bump pypa/gh-action-pypi-publish

    Bumps the actions group in /.github/workflows with 1 update: [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish).
    
    
    Updates `pypa/gh-action-pypi-publish` from 1.11.0 to 1.12.2
    - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
    - [Commits](pypa/gh-action-pypi-publish@fb13cb3...15c56db)
    
    ---
    updated-dependencies:
    - dependency-name: pypa/gh-action-pypi-publish
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: actions
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Dec 1, 2024
    Copy the full SHA
    d58f228 View commit details
  2. Merge pull request #73 from astropy/dependabot/github_actions/dot-git…

    …hub/workflows/actions-5da8da3d55
    
    Bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.2 in /.github/workflows in the actions group
    bsipocz authored Dec 1, 2024
    Copy the full SHA
    e29e56e View commit details

Commits on Jan 1, 2025

  1. Bump pypa/gh-action-pypi-publish

    Bumps the actions group in /.github/workflows with 1 update: [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish).
    
    
    Updates `pypa/gh-action-pypi-publish` from 1.12.2 to 1.12.3
    - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
    - [Commits](pypa/gh-action-pypi-publish@15c56db...67339c7)
    
    ---
    updated-dependencies:
    - dependency-name: pypa/gh-action-pypi-publish
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: actions
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Jan 1, 2025
    Copy the full SHA
    d379cff View commit details

Commits on Jan 2, 2025

  1. Merge pull request #74 from astropy/dependabot/github_actions/dot-git…

    …hub/workflows/actions-088cad1836
    
    Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3 in /.github/workflows in the actions group
    bsipocz authored Jan 2, 2025
    Copy the full SHA
    82ca928 View commit details

Commits on Feb 1, 2025

  1. Bump the actions group in /.github/workflows with 2 updates

    Bumps the actions group in /.github/workflows with 2 updates: [actions/setup-python](https://github.com/actions/setup-python) and [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish).
    
    
    Updates `actions/setup-python` from 5.3.0 to 5.4.0
    - [Release notes](https://github.com/actions/setup-python/releases)
    - [Commits](actions/setup-python@0b93645...4237552)
    
    Updates `pypa/gh-action-pypi-publish` from 1.12.3 to 1.12.4
    - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
    - [Commits](pypa/gh-action-pypi-publish@67339c7...76f52bc)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-python
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: actions
    - dependency-name: pypa/gh-action-pypi-publish
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: actions
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Feb 1, 2025
    Copy the full SHA
    c18b042 View commit details
  2. Merge pull request #75 from astropy/dependabot/github_actions/dot-git…

    …hub/workflows/actions-71d192a2cf
    
    Bump the actions group in /.github/workflows with 2 updates
    bsipocz authored Feb 1, 2025
    Copy the full SHA
    41b35e6 View commit details

Commits on Feb 3, 2025

  1. Copy the full SHA
    c58d19b View commit details
  2. graphviz_dot_args should be tuple (v2)

    pllim authored Feb 3, 2025
    Copy the full SHA
    f94d43a View commit details
  3. graphviz_dot_args is sphinv ver dependent (v1)

    pllim authored Feb 3, 2025
    Copy the full SHA
    cc57d05 View commit details
  4. graphviz_dot_args is sphinx ver dependent (v2)

    pllim authored Feb 3, 2025
    Copy the full SHA
    da8398d View commit details
  5. Merge pull request #77 from pllim/fix-sphinxdev-ci

    Fix sphinxdev ci
    bsipocz authored Feb 3, 2025
    Copy the full SHA
    f593235 View commit details
  6. MNT: Bump minversions

    and update CI matrix
    and modernize build setup.
    pllim committed Feb 3, 2025
    Copy the full SHA
    73a5fe1 View commit details
  7. Merge pull request #78 from pllim/bump-minver

    MNT: Bump minversions, update CI matrix, modernize build setup
    bsipocz authored Feb 3, 2025
    Copy the full SHA
    b2135a2 View commit details
Showing with 102 additions and 56 deletions.
  1. +15 −0 .github/dependabot.yml
  2. +9 −4 .github/workflows/publish.yml
  3. +29 −15 .github/workflows/python-tests.yml
  4. +6 −0 CHANGES.rst
  5. +1 −1 LICENSE.rst
  6. +3 −0 MANIFEST.in
  7. +4 −1 pyproject.toml
  8. +2 −2 setup.cfg
  9. +0 −8 setup.py
  10. +12 −6 sphinx_astropy/conf/v1.py
  11. +13 −6 sphinx_astropy/conf/v2.py
  12. +8 −13 tox.ini
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: ".github/workflows" # Location of package manifests
schedule:
interval: "monthly"
groups:
actions:
patterns:
- "*"
13 changes: 9 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -2,6 +2,11 @@ name: Release

on:
pull_request:
# We also want this workflow triggered if the 'Build all wheels' label is added
# or present when PR is updated
types:
- synchronize
- labeled
push:
tags:
- '*'
@@ -13,12 +18,12 @@ jobs:
if: ((github.event_name == 'push' && startsWith(github.ref, 'refs/tags')) || contains(github.event.pull_request.labels.*.name, 'Build wheels'))

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- uses: actions/setup-python@v4
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: "3.8"
python-version: "3.12"

- name: Install build dependencies
run: python -m pip install pip build "twine>=3.3" -U
@@ -42,7 +47,7 @@ jobs:
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
with:
user: __token__
password: ${{ secrets.pypi_password }}
44 changes: 29 additions & 15 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
@@ -17,34 +17,48 @@ jobs:
fail-fast: false
matrix:
include:
- os: windows-latest
python-version: 3.7
toxenv: py38-test-sphinx30
- os: ubuntu-latest
python-version: 3.8
toxenv: py38-test-sphinx35
- os: ubuntu-latest
python-version: 3.9
toxenv: py39-test-sphinx40
- os: ubuntu-latest
toxenv: py39-test-sphinx_oldest

- os: windows-latest
python-version: "3.10"
toxenv: py310-test-sphinx50
toxenv: py310-test-sphinx53

- os: macos-latest
python-version: "3.10"
toxenv: py310-test-sphinx62

- os: ubuntu-latest
python-version: "3.11"
toxenv: py311-test-sphinx60
- os: ubuntu-latest
toxenv: py311-test-sphinx70

- os: windows-latest
python-version: "3.11"
toxenv: py311-test-v2deps-sphinx70
toxenv: py311-test-v2deps-sphinx71

- os: macos-latest
python-version: "3.11"
toxenv: py311-test-sphinxdev
toxenv: py311-test-sphinx72

- os: ubuntu-latest
python-version: "3.12"
toxenv: py312-test-v2deps-sphinx80

- os: windows-latest
python-version: "3.12"
toxenv: py312-test-sphinx81

- os: macos-latest
python-version: "3.13"
toxenv: py313-test-v2deps-sphinxdev

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: ${{ matrix.python-version }}
- name: Install Tox
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changes in sphinx-astropy
=========================

2.0 (unreleased)
----------------

- Update minimum required version of Sphinx to 4.0.0
and Python to 3.9. [#78]

1.9.1 (2023-06-07)
------------------

2 changes: 1 addition & 1 deletion LICENSE.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2014-2023, Astropy Developers
Copyright (c) 2014-2025, Astropy Developers

All rights reserved.

3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -2,5 +2,8 @@ include README.rst
include CHANGES.rst
include LICENSE.rst

include setup.cfg
include pyproject.toml

exclude *.pyc *.o
prune build
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
[build-system]
requires = ["setuptools>=30.3.0",
"setuptools_scm",
"setuptools_scm>=8.0.0",
"wheel"]
build-backend = 'setuptools.build_meta'

[tool.setuptools_scm]
version_file = "sphinx_astropy/version.py"
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -17,10 +17,10 @@ long_description_content_type = text/x-rst
[options]
zip_safe = False
packages = find:
python_requires = >=3.7
python_requires = >=3.9
install_requires =
packaging
sphinx>=3.0.0
sphinx>=4.0.0
astropy-sphinx-theme
numpydoc
sphinx-automodapi
8 changes: 0 additions & 8 deletions setup.py

This file was deleted.

18 changes: 12 additions & 6 deletions sphinx_astropy/conf/v1.py
Original file line number Diff line number Diff line change
@@ -15,6 +15,8 @@
from os import path

import astropy_sphinx_theme
import sphinx
from packaging.version import Version

try:
import astropy
@@ -33,7 +35,7 @@
# specific version check, call check_sphinx_version("x.y.z.") from
# your project's conf.py
needs_sphinx = '3.0'

SPHINX_LT_8_2 = Version(sphinx.__version__) < Version("8.2.dev")

on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

@@ -217,10 +219,11 @@ def check_sphinx_version(expected_version):
# AttributeError is checked here in case matplotlib is installed but
# Sphinx isn't. Note that this module is imported by the config file
# generator, even if we're not building the docs.
# We don't need to raise a warning or exception here as there are packages
# that don't use the directive, and those who try to use it without mpl being
# installed will get a nice "Unknown directive type" error at usage.
except (ImportError, AttributeError):
warnings.warn(
"matplotlib's plot_directive could not be imported. " +
"Inline plots will not be included in the output")
pass

# Don't show summaries of the members in each class along with the
# class' docstring
@@ -237,14 +240,17 @@ def check_sphinx_version(expected_version):
# Render inheritance diagrams in SVG
graphviz_output_format = "svg"

graphviz_dot_args = [
graphviz_dot_args = (
'-Nfontsize=10',
'-Nfontname=Helvetica Neue, Helvetica, Arial, sans-serif',
'-Efontsize=10',
'-Efontname=Helvetica Neue, Helvetica, Arial, sans-serif',
'-Gfontsize=10',
'-Gfontname=Helvetica Neue, Helvetica, Arial, sans-serif',
]
)

if SPHINX_LT_8_2:
graphviz_dot_args = list(graphviz_dot_args)

# -- Options for HTML output -------------------------------------------------

19 changes: 13 additions & 6 deletions sphinx_astropy/conf/v2.py
Original file line number Diff line number Diff line change
@@ -10,10 +10,12 @@
# serve to show the default.

import os
import warnings
from collections import ChainMap
from os import path

import sphinx
from packaging.version import Version

try:
import astropy
except ImportError:
@@ -29,6 +31,7 @@
# The version check in Sphinx itself can only compare the major and
# minor parts of the version number, not the micro.
needs_sphinx = '4.2'
SPHINX_LT_8_2 = Version(sphinx.__version__) < Version("8.2.dev")

on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

@@ -208,10 +211,11 @@
# AttributeError is checked here in case matplotlib is installed but
# Sphinx isn't. Note that this module is imported by the config file
# generator, even if we're not building the docs.
# We don't need to raise a warning or exception here as there are packages
# that don't use the directive, and those who try to use it without mpl being
# installed will get a nice "Unknown directive type" error at usage.
except (ImportError, AttributeError):
warnings.warn(
"matplotlib's plot_directive could not be imported. " +
"Inline plots will not be included in the output")
pass

# Don't show summaries of the members in each class along with the
# class' docstring
@@ -228,14 +232,17 @@
# Render inheritance diagrams in SVG
graphviz_output_format = "svg"

graphviz_dot_args = [
graphviz_dot_args = (
'-Nfontsize=10',
'-Nfontname=Helvetica Neue, Helvetica, Arial, sans-serif',
'-Efontsize=10',
'-Efontname=Helvetica Neue, Helvetica, Arial, sans-serif',
'-Gfontsize=10',
'-Gfontname=Helvetica Neue, Helvetica, Arial, sans-serif',
]
)

if SPHINX_LT_8_2:
graphviz_dot_args = list(graphviz_dot_args)

# For sphinx-copybutton
copybutton_prompt_text = r">>> |\.\.\. |\$ |In \[\d*\]: | {2,5}\.\.\.: | {5,8}: "
21 changes: 8 additions & 13 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
[tox]
envlist =
py{37,38,39,310,311}-test{-v2deps}{-sphinx30,-sphinx35,-sphinx40,-sphinx50,-sphinx60,-sphinx70,-sphinxdev}
py{39,310,311,312,313}-test{-v2deps}-sphinx{_oldest,53,62,70,71,72,80,81,dev}
codestyle
requires =
setuptools >= 30.3.0
pip >= 19.3.1
isolated_build = true

[testenv]
changedir = .tmp/{envname}
@@ -14,15 +10,14 @@ extras =
tests
v2deps: confv2
deps =
sphinx30: sphinx==3.0.*
sphinx30: docutils==0.17.*
sphinx30: Jinja2==3.0.3
sphinx35: sphinx==3.5.*
sphinx35: Jinja2==3.0.3
sphinx40: sphinx==4.0.*
sphinx50: sphinx==5.0.*
sphinx60: sphinx==6.0.*
sphinx_oldest: sphinx==4.0.0
sphinx53: sphinx==5.3.*
sphinx62: sphinx==6.2.*
sphinx70: sphinx==7.0.*
sphinx71: sphinx==7.1.*
sphinx72: sphinx==7.2.*
sphinx80: sphinx==8.0.*
sphinx81: sphinx==8.1.*
sphinxdev: git+https://github.com/sphinx-doc/sphinx#egg=sphinx

commands =