Skip to content

Commit 821225a

Browse files
committed
add docs dependencies
1 parent 9897d38 commit 821225a

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Lint
22

33
on:
4-
push
5-
pull_request
4+
push:
5+
pull_request:
66

77
jobs:
88
lint:

docs/readthedocs.yml renamed to docs/.readthedocs.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ version: 2
88
sphinx:
99
fail_on_warning: true
1010

11+
12+
build:
13+
os: ubuntu-22.04
14+
tools:
15+
python: "3.8"
16+
17+
1118
# Optionally set the version of Python and requirements required to build your docs
1219
python:
1320
install:

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import os
1717
import re
1818

19-
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), "../version.py"),
19+
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), "../../inference_tools/version.py"),
2020
encoding="utf-8") as f2:
2121
version_content = f2.read()
2222
version_template = "__version__ = '(.*)'\n"

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
extras_require={
3333
"dev": [
3434
"tox==4.13.0"
35-
]
35+
],
36+
"docs": ["sphinx", "sphinx-bluebrain-theme"],
3637
},
3738
classifiers=[
3839
"Intended Audience :: Information Technology",

0 commit comments

Comments
 (0)