File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,10 @@ build:
1212 jobs :
1313 post_create_environment :
1414 - pip install poetry
15- - poetry config virtualenvs.create false
1615 post_install :
17- - poetry install --only=docs
16+ # VIRTUAL_ENV needs to be set manually for now.
17+ # See https://github.com/readthedocs/readthedocs.org/pull/11152/
18+ - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --only=docs
1819
1920# Build documentation in the docs/ directory with Sphinx
2021sphinx :
Original file line number Diff line number Diff line change 1616
1717import toml
1818
19- ON_RTD = os .environ .get ("READTHEDOCS" , None ) == "True"
20-
2119# so we have single source of project info
2220_pyproject = toml .load ("../pyproject.toml" )
2321
8381# The theme to use for HTML and HTML Help pages. See the documentation for
8482# a list of builtin themes.
8583#
86- if ON_RTD :
87- html_theme = "default"
88- else :
89- html_theme = "sphinx_rtd_theme"
84+ html_theme = "sphinx_rtd_theme"
9085
9186
9287# Add any paths that contain custom static files (such as style sheets) here,
You can’t perform that action at this time.
0 commit comments