Skip to content

Commit 92ca962

Browse files
committed
[DOC] add readthedocs + req.
1 parent 8f0a0c6 commit 92ca962

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

.readthedocs.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Read the Docs configuration file
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
version: 2
5+
6+
python:
7+
install:
8+
- method: pip
9+
path: .
10+
extra_requirements:
11+
- docs
12+
13+
build:
14+
os: ubuntu-22.04
15+
tools:
16+
python: "3.12"
17+
18+
sphinx:
19+
configuration: docs/source/conf.py

pyproject.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,15 @@ test_parallel_backends = [
7171
"joblib",
7272
'ray >=2.40.0; python_version < "3.13"',
7373
]
74+
docs = [
75+
"myst-parser",
76+
"numpydoc",
77+
"pydata-sphinx-theme",
78+
"Sphinx>=7.0.0,<9.0.0",
79+
"sphinx-copybutton",
80+
"sphinx-design",
81+
"sphinx-issues",
82+
]
7483
all_extras = [
7584
"hyperactive[integrations]",
7685
"optuna<5",

0 commit comments

Comments
 (0)