Add readthedocs configuration (#14413)

This commit is contained in:
Don Naro 2023-09-05 22:07:32 +01:00 committed by GitHub
parent 20fc7c702a
commit 5733f78fd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 2 deletions

5
.gitignore vendored
View File

@ -166,5 +166,6 @@ use_dev_supervisor.txt
awx/ui_next/src
awx/ui_next/build
# Docs build
docs/docsite/build/
# Docs build stuff
docs/docsite/build/
_readthedocs/

15
.readthedocs.yaml Normal file
View File

@ -0,0 +1,15 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
build:
os: ubuntu-22.04
tools:
python: >-
3.11
commands:
- pip install --user tox
- python3 -m tox -e docs
- mkdir -p _readthedocs/html/
- mv docs/docsite/build/html/* _readthedocs/html/

View File

@ -10,6 +10,7 @@ ignore: |
tools/docker-compose/_sources
# django template files
awx/api/templates/instance_install_bundle/**
.readthedocs.yaml
extends: default