Skip to content

Commit

Permalink
Merge branch 'main' into issue-396
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Oct 1, 2022
2 parents 17cc30e + a676a67 commit f17f1b3
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 16 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/main.yml
Expand Up @@ -7,20 +7,23 @@ jobs:
strategy:
matrix:
python:
# Build on pre-releases until stable, then stable releases.
# actions/setup-python#213
- ~3.7.0-0
- ~3.10.0-0
- ~3.11.0-0
- "3.7"
- "3.10"
- "3.11"
# Workaround for actions/setup-python#508
dev:
- -dev
platform:
- ubuntu-latest
- macos-latest
- windows-latest
include:
- python: pypy3.9
platform: ubuntu-latest
- platform: ubuntu-latest
python: ~3.8.0-0
python: "3.8"
- platform: ubuntu-latest
python: ~3.9.0-0
python: "3.9"
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
Expand All @@ -29,9 +32,9 @@ jobs:
# ref actions/checkout#448
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
python-version: ${{ matrix.python }}${{ matrix.dev }}
- name: Install tox
run: |
python -m pip install tox
Expand Down Expand Up @@ -79,9 +82,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: 3.11-dev
- name: Install tox
run: |
python -m pip install tox
Expand Down
17 changes: 13 additions & 4 deletions docs/conf.py
@@ -1,9 +1,15 @@
#!/usr/bin/env python3

extensions = ['sphinx.ext.autodoc', 'jaraco.packaging.sphinx', 'rst.linker']
extensions = [
'sphinx.ext.autodoc',
'jaraco.packaging.sphinx',
]

master_doc = "index"
html_theme = "furo"

# Link dates and other references in the changelog
extensions += ['rst.linker']
link_files = {
'../CHANGES.rst': dict(
using=dict(GH='https://github.com'),
Expand All @@ -28,7 +34,7 @@
)
}

# Be strict about any broken references:
# Be strict about any broken references
nitpicky = True

# Include Python intersphinx mapping to prevent failures
Expand All @@ -38,6 +44,11 @@
'python': ('https://docs.python.org/3', None),
}

# Preserve authored syntax for defaults
autodoc_preserve_defaults = True

extensions += ['jaraco.tidelift']

intersphinx_mapping.update(
importlib_resources=(
'https://importlib-resources.readthedocs.io/en/latest/',
Expand All @@ -51,5 +62,3 @@
('py:class', 'importlib_metadata.SelectableGroups'),
('py:class', 'importlib_metadata._meta._T'),
]

extensions += ['jaraco.tidelift']
5 changes: 4 additions & 1 deletion setup.cfg
Expand Up @@ -34,6 +34,8 @@ testing =
pytest >= 6
pytest-checkdocs >= 2.4
pytest-flake8
# workaround for tholo/pytest-flake8#87
flake8 < 5
pytest-black >= 0.3.7; \
# workaround for jaraco/skeleton#22
python_implementation != "PyPy"
Expand All @@ -52,9 +54,10 @@ testing =

docs =
# upstream
sphinx
sphinx >= 3.5
jaraco.packaging >= 9
rst.linker >= 1.9
furo
jaraco.tidelift >= 1.4

# local
Expand Down

0 comments on commit f17f1b3

Please sign in to comment.