give up on putting docs dir in a variable somewhere

Signed-off-by: Todd Gamblin <tgamblin@llnl.gov>
This commit is contained in:
Todd Gamblin 2025-03-25 17:47:27 -07:00 committed by Harmen Stoppels
parent 423717345b
commit 2d40b9e346

View File

@ -1,8 +1,5 @@
version: 2 version: 2
environment:
DOCS_DIR: lib/spack/docs
build: build:
os: "ubuntu-22.04" os: "ubuntu-22.04"
apt_packages: apt_packages:
@ -16,7 +13,7 @@ build:
- asdf global uv latest - asdf global uv latest
- uv venv - uv venv
install: install:
- uv pip install -r $DOCS_DIR/requirements.txt - uv pip install -r lib/spack/docs/requirements.txt
build: build:
html: html:
- uv run sphinx-build -T -b html docs $READTHEDOCS_OUTPUT/html - uv run sphinx-build -T -b html docs $READTHEDOCS_OUTPUT/html
@ -27,7 +24,7 @@ sphinx:
python: python:
install: install:
- requirements: $DOCS_DIR/requirements.txt - requirements: lib/spack/docs/requirements.txt
search: search:
ranking: ranking: