Add readthedocs configuration (#14413)

This commit is contained in:
Don Naro
2023-09-05 15:07:32 -06:00
committed by GitHub
parent 20fc7c702a
commit 5733f78fd8
3 changed files with 19 additions and 2 deletions
+3 -2
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
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/
+1
View File
@@ -10,6 +10,7 @@ ignore: |
tools/docker-compose/_sources
# django template files
awx/api/templates/instance_install_bundle/**
.readthedocs.yaml
extends: default