Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Sep 27, 2022
2 parents e6b1e85 + b4f0ae6 commit 2a4e752
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,26 @@ jobs:
strategy:
matrix:
python:
- 3.7
- '3.10'
- '3.11'
- "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
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}-dev
python-version: ${{ matrix.python }}${{ matrix.dev }}
- name: Install tox
run: |
python -m pip install tox
Expand Down Expand Up @@ -52,7 +58,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.11-dev"
python-version: 3.11-dev
- name: Install tox
run: |
python -m pip install tox
Expand Down
12 changes: 10 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

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

master_doc = "index"

# Link dates and other references in the changelog
extensions += ['rst.linker']
link_files = {
'../CHANGES.rst': dict(
using=dict(GH='https://github.com'),
Expand All @@ -29,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,3 +43,6 @@
intersphinx_mapping = {
'python': ('https://docs.python.org/3', None),
}

# Preserve authored syntax for defaults
autodoc_preserve_defaults = True
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ testing =

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

Expand Down

0 comments on commit 2a4e752

Please sign in to comment.