mirror of
https://github.com/ansible/awx.git
synced 2026-10-31 06:26:15 -02:30
Add readthedocs configuration (#14413)
This commit is contained in:
+2
-1
@@ -166,5 +166,6 @@ use_dev_supervisor.txt
|
|||||||
awx/ui_next/src
|
awx/ui_next/src
|
||||||
awx/ui_next/build
|
awx/ui_next/build
|
||||||
|
|
||||||
# Docs build
|
# Docs build stuff
|
||||||
docs/docsite/build/
|
docs/docsite/build/
|
||||||
|
_readthedocs/
|
||||||
|
|||||||
@@ -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/
|
||||||
@@ -10,6 +10,7 @@ ignore: |
|
|||||||
tools/docker-compose/_sources
|
tools/docker-compose/_sources
|
||||||
# django template files
|
# django template files
|
||||||
awx/api/templates/instance_install_bundle/**
|
awx/api/templates/instance_install_bundle/**
|
||||||
|
.readthedocs.yaml
|
||||||
|
|
||||||
extends: default
|
extends: default
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user