Merge pull request #556 from c-bata/readthedocs-config

Add `.readthedocs.yml`
This commit is contained in:
c-bata
2023-08-14 20:36:54 +09:00
committed by GitHub
3 changed files with 27 additions and 5 deletions
+18
View File
@@ -0,0 +1,18 @@
version: 2
build:
os: ubuntu-22.04
tools:
python: "3.11"
sphinx:
configuration: docs/conf.py
formats: all
python:
install:
- method: pip
path: .
extra_requirements:
- docs
+8
View File
@@ -33,6 +33,14 @@ dependencies = [
]
dynamic = ["version"]
[project.optional-dependencies]
docs = [
"boto3",
"streamlit",
"sphinx",
"sphinx_rtd_theme",
]
[project.scripts]
optuna-dashboard = "optuna_dashboard._cli:main"
+1 -5
View File
@@ -18,8 +18,4 @@ boto3
moto[s3]
# visual regression tests
pytest-playwright
# docs
sphinx
sphinx_rtd_theme
pytest-playwright