Skip to content

Commit 7ff480e

Browse files
authored
Merge pull request #127 from astro-pi/feature/migrate-to-readthedocs
Setup readthedocs
2 parents c5b81c6 + f3dd9ac commit 7ff480e

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

.readthedocs.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 2
2+
3+
build:
4+
os: "ubuntu-22.04"
5+
tools:
6+
python: "3.9"
7+
8+
mkdocs:
9+
configuration: mkdocs.yml
10+
fail_on_warning: false
11+
12+
python:
13+
install:
14+
- requirements: docs/requirements.txt

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
mkdocs==1.4.2

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ theme: readthedocs
33
site_url: https://pythonhosted.org/sense-hat/
44
repo_url: https://github.com/RPi-Distro/python-sense-hat
55
site_description: Python module to control the Raspberry Pi Sense HAT used in the Astro Pi mission
6-
site_author: David Honess
6+
site_author: Raspberry Pi Foundation
77
site_dir: pythonhosted
88
#google_analytics: ['UA-46270871-5', 'pythonhosted.org/sense-hat']
99
nav:

0 commit comments

Comments
 (0)