Skip to content

Commit

Permalink
Fixes CI and Read the Docs configs
Browse files Browse the repository at this point in the history
  • Loading branch information
cuducos committed Apr 12, 2024
1 parent e2a6d2d commit c8587e7
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 558 deletions.
File renamed without changes.
38 changes: 19 additions & 19 deletions .github/workflows/tests.yml → .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@ jobs:
strategy:
matrix:
python-version:
- 3.12
- 3.11
- 3.10
- 3.9
- "3.12"
- "3.11"
- "3.10"
- "3.9"
django-version:
- 5.0
- 4.2
- 3.2
- "5.0"
- "4.2"
- "3.2"
exclude:
- django-version: 3.2
python-version: 3.10
- django-version: 3.2
python-version: 3.11
- django-version: 3.2
python-version: 3.12
- django-version: 4.2
python-version: 3.11
- django-version: 4.2
python-version: 3.12
- django-version: 5.0
python-version: 3.9
- django-version: "3.2"
python-version: "3.10"
- django-version: "3.2"
python-version: "3.11"
- django-version: "3.2"
python-version: "3.12"
- django-version: "4.2"
python-version: "3.11"
- django-version: "4.2"
python-version: "3.12"
- django-version: "5.0"
python-version: "3.9"
name: Python ${{ matrix.python-version }} & Django ${{ matrix.django-version }}
steps:
- uses: actions/checkout@v2
Expand Down
11 changes: 11 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
build:
os: ubuntu-22.04
tools:
python: "3.12"
sphinx:
configuration: docs/conf.py
python:
install:
- method: pip
path: docs/requirements.txt
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![PyPI](https://img.shields.io/pypi/v/django-public-admin)](https://pypi.org/project/django-public-admin/) [![Documentation Status](https://readthedocs.org/projects/django-public-admin/badge/?version=latest)](https://django-public-admin.readthedocs.io/en/latest/?badge=latest) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-public-admin)](https://pypi.org/project/django-public-admin/) [![PyPI - Django Version](https://img.shields.io/pypi/djversions/django-public-admin)](https://pypi.org/project/django-public-admin/)
[![PyPI](https://img.shields.io/pypi/v/django-public-admin)](https://pypi.org/project/django-public-admin/) [![Tests](https://img.shields.io/github/actions/workflow/status/cuducos/django-public-admin/tests.yaml)](https://github.com/cuducos/django-public-admin/actions/workflows/tests.yaml) [![Documentation Status](https://readthedocs.org/projects/django-public-admin/badge/?version=latest)](https://django-public-admin.readthedocs.io/en/latest/?badge=latest) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-public-admin)](https://pypi.org/project/django-public-admin/) [![PyPI - Django Version](https://img.shields.io/pypi/djversions/django-public-admin)](https://pypi.org/project/django-public-admin/)

# Django Public Admin

Expand All @@ -19,6 +19,7 @@ $ poetry run tox
To build the docs we use [Sphinx](https://www.sphinx-doc.org/en/):

```
$ poetry run pip install docs/requirements.txt
$ poetry run sphinx-build docs docs/_build/
```

Expand Down
7 changes: 3 additions & 4 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.
pip>=20.0.0
readthedocs-sphinx-ext
sphinx
sphinx_rtd_theme
readthedocs-sphinx-ext==2.2.5
Sphinx==7.2.6
sphinx_rtd_theme==2.0.0
532 changes: 1 addition & 531 deletions poetry.lock

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ django = ">=3.2"

[tool.poetry.dev-dependencies]
pytest-ruff = "^0.3.1"
readthedocs-sphinx-ext = "^2.2.5"
sphinx = "^7.2.6"
sphinx-rtd-theme = "^2.0.0"
tox = "^4.14.2"

[tool.pytest.ini_options]
Expand Down

0 comments on commit c8587e7

Please sign in to comment.