Skip to content

Commit

Permalink
docs: update readthedocs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mamullen13316 committed Nov 9, 2024
1 parent c4bf942 commit f266244
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .ansibleignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Files/Directories to be excluded from the ansible-galaxy build
docs/
changelogs/
CHANGELOG.md
.github/
group_vars/
poetry.lock
pyproject.toml
README.md
.readthedocs.yml
LICENSE
12 changes: 12 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2
build:
os: ubuntu-22.04
tools:
python: "3.11"
commands:
- pip install -r docs/requirements.txt
- pip install ansible
- ansible-galaxy collection install .
- bash docs/build.sh
- mkdir -p $READTHEDOCS_OUTPUT/html
- cp -r docs/build/html/* $READTHEDOCS_OUTPUT/html/

0 comments on commit f266244

Please sign in to comment.