Skip to content

Commit

Permalink
Add documentation via readthedocs.
Browse files Browse the repository at this point in the history
  • Loading branch information
matz-e committed Jul 8, 2024
1 parent 0efa229 commit 812462f
Show file tree
Hide file tree
Showing 14 changed files with 21 additions and 4 deletions.
16 changes: 16 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 2

build:
os: ubuntu-22.04
tools:
python: "3.12"
jobs:
post_checkout:
- git submodule update --init

sphinx:
configuration: docs/source/conf.py

python:
install:
- requirements: docs/source/requirements.txt
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions docs/source/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
mock
sphinx
sphinx-bluebrain-theme
File renamed without changes.
6 changes: 2 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,8 @@ commands =
ruff format --check

[testenv:docs]
changedir = doc
deps =
sphinx
sphinx-bluebrain-theme
changedir = docs
dep_file = docs/source/requirements.txt
# set warnings as errors using the -W sphinx option
commands = make html SPHINXOPTS=-W
allowlist_externals = make
Expand Down

0 comments on commit 812462f

Please sign in to comment.