mirror of
https://github.com/encode/django-rest-framework.git
synced 2026-02-17 20:50:35 +03:00
Add readthedocs config file
This commit is contained in:
parent
4b6053b944
commit
abc1951924
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1,7 +1,6 @@
|
|||
*.pyc
|
||||
*.db
|
||||
*~
|
||||
.*
|
||||
*.py.bak
|
||||
|
||||
|
||||
|
|
@ -14,6 +13,8 @@
|
|||
/env/
|
||||
MANIFEST
|
||||
coverage.*
|
||||
.coverage
|
||||
.cache/
|
||||
|
||||
!.github
|
||||
!.gitignore
|
||||
|
|
|
|||
20
.readthedocs.yaml
Normal file
20
.readthedocs.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Read the Docs configuration file
|
||||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
||||
|
||||
# Required
|
||||
version: 2
|
||||
|
||||
# Set the OS, Python version, and other tools you might need
|
||||
build:
|
||||
os: ubuntu-24.04
|
||||
tools:
|
||||
python: "3.13"
|
||||
jobs:
|
||||
install:
|
||||
- pip install -e . --group docs
|
||||
|
||||
# Build documentation with Mkdocs
|
||||
mkdocs:
|
||||
configuration: mkdocs.yml
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user