Skip to content

Commit

Permalink
Add readthedocs configuration (#14413)
Browse files Browse the repository at this point in the history
  • Loading branch information
oraNod authored Sep 5, 2023
1 parent 20fc7c7 commit 5733f78
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 15 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -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 change: 1 addition & 0 deletions .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ ignore: |
tools/docker-compose/_sources
# django template files
awx/api/templates/instance_install_bundle/**
.readthedocs.yaml

extends: default

Expand Down

0 comments on commit 5733f78

Please sign in to comment.