Skip to content

Commit

Permalink
Add RTD config
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Oct 19, 2023
1 parent 8984997 commit 15f6804
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,4 @@ cython_debug/
/src/pytest_ansible/_version.py

.DS_Store
_readthedocs
25 changes: 25 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
version: 2

mkdocs:
fail_on_warning: true
configuration: mkdocs.yml

build:
os: ubuntu-22.04
tools:
python: "3.11"
commands:
- pip install --user tox
- python3 -m tox -e docs -- --strict --site-dir=_readthedocs/html/
python:
install:
- method: pip
path: tox
- method: pip
path: .
extra_requirements:
- docs
submodules:
include: all
recursive: true
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
site_name: Ansible Pytest Documentation
site_url: https://pytest-ansible.readthedocs.io/
site_url: https://ansible.readthedocs.io/projects/pytest-ansible/
repo_url: https://github.com/ansible/pytest-ansible
edit_uri: blob/main/docs/
copyright: Copyright © 2023 Red Hat, Inc.
Expand Down

0 comments on commit 15f6804

Please sign in to comment.