mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-12-24 10:32:52 +03:00
* removed requirements txt files * Updated Testing section from Contributing.md * updated command to install dependencies for documentation in CI * updated tox.ini * build: Adopt PEP 735 for development dependency management * Update installation commands for dependency groups in tox.ini and main.yml * update installation command in testing section of contributing docs * Clean up old `requirements text files` references in workflows and docs * Removed references to `requirements.txt` in GitHub Actions workflows. * Updated `mkdocs-deploy.yml` and `main.yml` to install dependencies using `pyproject.toml`. * Cleaned up documentation to remove mentions of the `requirements` folder. * Fix invalid pyproject.toml Project's URLs should be in the [project] table * Keep full versions in package groups * Specify all tox deps as dependency groups --------- Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
30 lines
634 B
YAML
30 lines
634 B
YAML
name: mkdocs
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- docs/**
|
|
- docs_theme/**
|
|
- pyproject.toml
|
|
- mkdocs.yml
|
|
- .github/workflows/mkdocs-deploy.yml
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
environment: github-pages
|
|
permissions:
|
|
contents: write
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- run: git fetch --no-tags --prune --depth=1 origin gh-pages
|
|
- uses: actions/setup-python@v6
|
|
with:
|
|
python-version: 3.x
|
|
- run: pip install --group docs
|
|
- run: mkdocs gh-deploy
|