Skip to content

Commit

Permalink
Merge pull request #127 from astro-pi/feature/migrate-to-readthedocs
Browse files Browse the repository at this point in the history
Setup readthedocs
  • Loading branch information
G3zz authored Nov 21, 2022
2 parents c5b81c6 + f3dd9ac commit 7ff480e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2

build:
os: "ubuntu-22.04"
tools:
python: "3.9"

mkdocs:
configuration: mkdocs.yml
fail_on_warning: false

python:
install:
- requirements: docs/requirements.txt
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mkdocs==1.4.2
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ theme: readthedocs
site_url: https://pythonhosted.org/sense-hat/
repo_url: https://github.com/RPi-Distro/python-sense-hat
site_description: Python module to control the Raspberry Pi Sense HAT used in the Astro Pi mission
site_author: David Honess
site_author: Raspberry Pi Foundation
site_dir: pythonhosted
#google_analytics: ['UA-46270871-5', 'pythonhosted.org/sense-hat']
nav:
Expand Down

0 comments on commit 7ff480e

Please sign in to comment.