Skip to content

Commit 6139b84

Browse files
committed
Use the newly added doc versioning thing to sphinx theme
1 parent 2a121b3 commit 6139b84

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

docs/conf.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,15 @@
6868
"package_title": project,
6969
"package_version": release,
7070
"package_repo": 'https://github.com/compas-dev/compas_fab',
71+
"package_docs": 'https://gramaziokohler.github.io/compas_fab',
72+
"package_old_versions": [
73+
("latest", 'https://gramaziokohler.github.io/compas_fab/latest',),
74+
("stable", 'https://gramaziokohler.github.io/compas_fab/stable'),
75+
("v0.11.0", 'https://gramaziokohler.github.io/compas_fab/0.11.0'),
76+
("v0.10.1", 'https://gramaziokohler.github.io/compas_fab/0.10.1'),
77+
("v0.10.0", 'https://gramaziokohler.github.io/compas_fab/0.10.0'),
78+
("v0.1.0", 'https://gramaziokohler.github.io/compas_fab/0.1.0'),
79+
]
7180
}
7281

7382
html_split_index = False

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
attrs>=19.3.0
2-
sphinx_compas_theme>=0.4
2+
sphinx_compas_theme>=0.9
33
sphinx>=1.6
44
invoke>=0.14
55
bump2version>=0.5.11

0 commit comments

Comments
 (0)