Skip to content

Commit

Permalink
docs: Switch to ODSC theme & config
Browse files Browse the repository at this point in the history
  • Loading branch information
odscjames committed Sep 27, 2024
1 parent 5f35baa commit 245f9ef
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
os: ubuntu-24.04
tools:
python: "3.9"

Expand All @@ -17,6 +17,9 @@ sphinx:

# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
# python:
# install:
# - requirements: docs/requirements.txt
python:
install:
- method: pip
path: .
extra_requirements:
- dev
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
project = "LibCoveWeb2"

master_doc = "index"

html_theme = "odsc_default_sphinx_theme"
9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@
"celery[redis]",
],
extras_require={
"dev": ["black", "isort", "flake8", "mypy"],
"dev": [
"black",
"isort",
"flake8",
"mypy",
"sphinx",
"odsc-default-sphinx-theme",
],
},
)

0 comments on commit 245f9ef

Please sign in to comment.