diff --git a/.github/FUNDING.yml b/.github/FUNDING.yaml similarity index 100% rename from .github/FUNDING.yml rename to .github/FUNDING.yaml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yaml similarity index 58% rename from .github/workflows/tests.yml rename to .github/workflows/tests.yaml index 849b1bf..b81637f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yaml @@ -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 diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..c380f9f --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,17 @@ +version: 2 +build: + os: ubuntu-22.04 + tools: + python: "3.12" +sphinx: + configuration: docs/conf.py +python: + install: + - method: pip + path: . + - method: pip + path: sphinx + - method: pip + path: sphinx-rtd-theme + - method: pip + path: readthedocs-sphinx-ext diff --git a/README.md b/README.md index 0f540cc..717572d 100644 --- a/README.md +++ b/README.md @@ -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