Skip to content

Commit

Permalink
FIX: update Read the Docs config
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Oct 16, 2024
1 parent f29783b commit a06458b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 11 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ repos:
hooks:
- id: check-dev-files
args:
- --github-pages
- --no-cd
- --no-pypi
- --repo-name=gluex-nstar
Expand Down
10 changes: 0 additions & 10 deletions .readthedocs.yaml

This file was deleted.

19 changes: 19 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: 2
build:
os: "ubuntu-24.04"
tools:
python: "3.12"
commands:
- |-
export PIXI_HOME=$READTHEDOCS_VIRTUALENV_PATH
curl -fsSL https://pixi.sh/install.sh | bash
pixi global install uv
- |-
export UV_LINK_MODE=copy
uv run \
--extra doc \
--locked \
--with tox \
tox -e doc
mkdir -p $READTHEDOCS_OUTPUT
mv docs/_build/html $READTHEDOCS_OUTPUT
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
exclude_patterns = [
"_build",
".DS_Store",
".pixi",
".virtual_documents",
"**.ipynb_checkpoints",
"Thumbs.db",
Expand Down

0 comments on commit a06458b

Please sign in to comment.