Skip to content

Commit

Permalink
WIP: Debug RTD; IMPORTANT: I will force-push this commit away later!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisher87 committed Dec 7, 2023
1 parent 056115a commit 35f3e6f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ repos:
hooks:
- id: "check-added-large-files"
- id: "check-vcs-permalinks"
- id: "check-yaml"
- id: "end-of-file-fixer"

- repo: "https://github.com/astral-sh/ruff-pre-commit"
Expand Down
12 changes: 7 additions & 5 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ version: 2

build:
os: "ubuntu-22.04"
tools:
# https://docs.readthedocs.io/en/stable/config-file/v2.html#build-tools-python
python: "mambaforge-22.9"
# TODO: There must be a more readable way to express this...
commands:
- "conda install quarto~=1.3.450"
- "cd doc && quarto render"
# https://quarto.org/docs/download/tarball.html
- "wget https://github.com/quarto-dev/quarto-cli/releases/download/v1.3.450/quarto-1.3.450-linux-amd64.tar.gz"
- "mkdir ~/opt && tar -C ~/opt -xvzf quarto*.tar.gz"
- "mkdir ~/bin && ln -s ~/opt/quarto-1.3.450/bin/quarto ~/bin/quarto"
- "cd doc && ~/bin/quarto render"
- "mkdir --parents $READTHEDOCS_OUTPUT/html/"
- "mv doc/_site/* $READTHEDOCS_OUTPUT/html/."

0 comments on commit 35f3e6f

Please sign in to comment.