Skip to content

Commit

Permalink
add RTD config for PR previews
Browse files Browse the repository at this point in the history
  • Loading branch information
oraNod committed Aug 10, 2023
1 parent 5ac8e73 commit 20c5cea
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# 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"
# Build the Ansible docsite
commands:
- python -m pip install --upgrade --no-cache-dir pip
- python -m pip install --exists-action=w --no-cache-dir -r ./requirements.in -c ./requirements.txt
- python build.py
- mkdir -p _readthedocs/html/
- cp -r output/* _readthedocs/html/

0 comments on commit 20c5cea

Please sign in to comment.