Skip to content

Commit

Permalink
Specify where to put built files on RTD
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepiercy committed Dec 17, 2024
1 parent c1e063b commit 975c810
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ build:
exit 183;
fi
- pip install -r requirements.txt
- pip install -r requirements-docs.txt
- tox -e plone6docs
# - pip install -r requirements-docs.txt
- tox -e rtd-preview
17 changes: 17 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,23 @@ commands =
mkdir -p {toxinidir}/_build/plone6docs
sphinx-build -b html -d _build/plone6docs/doctrees docs _build/plone6docs/html

[testenv:rtd-preview]
# New docs with sphinx-book-theme
# See [testenv:docs] for classic documentation
basepython = python3.11
skip_install = False
package = editable
allowlist_externals =
mkdir
extras =
tests
deps =
-r requirements-docs.txt
commands =
python -VV
mkdir -p {toxinidir}/${READTHEDOCS_OUTPUT}
sphinx-build -b html -d ${READTHEDOCS_OUTPUT}/doctrees/ docs ${READTHEDOCS_OUTPUT}/html/

[testenv:docs]
basepython = python3.9
skip_install = False
Expand Down

0 comments on commit 975c810

Please sign in to comment.