Skip to content

Commit 245f9ef

Browse files
committed
docs: Switch to ODSC theme & config
1 parent 5f35baa commit 245f9ef

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

.readthedocs.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version: 2
77

88
# Set the version of Python and other tools you might need
99
build:
10-
os: ubuntu-22.04
10+
os: ubuntu-24.04
1111
tools:
1212
python: "3.9"
1313

@@ -17,6 +17,9 @@ sphinx:
1717

1818
# We recommend specifying your dependencies to enable reproducible builds:
1919
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
20-
# python:
21-
# install:
22-
# - requirements: docs/requirements.txt
20+
python:
21+
install:
22+
- method: pip
23+
path: .
24+
extra_requirements:
25+
- dev

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
project = "LibCoveWeb2"
22

33
master_doc = "index"
4+
5+
html_theme = "odsc_default_sphinx_theme"

setup.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@
3131
"celery[redis]",
3232
],
3333
extras_require={
34-
"dev": ["black", "isort", "flake8", "mypy"],
34+
"dev": [
35+
"black",
36+
"isort",
37+
"flake8",
38+
"mypy",
39+
"sphinx",
40+
"odsc-default-sphinx-theme",
41+
],
3542
},
3643
)

0 commit comments

Comments
 (0)