From 80ac9abd6bad4fa0ac9ea9243addd4afb8d6ad13 Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Thu, 13 Feb 2025 09:25:41 -0700 Subject: [PATCH 1/2] docs: just build readthedocs This makes it so we don't have to disable pull request builds while we work on v2. --- .readthedocs.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 000000000..420580d89 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,12 @@ +version: 2 + +build: + os: ubuntu-22.04 + tools: + python: "3.10" + commands: + - asdf plugin add uv + - asdf install uv latest + - asdf global uv latest + - uv sync --all-extras + - uv run --all-extras mkdocs build -d $READTHEDOCS_OUTPUT From 867b2fed374e3e85881b91db3eb87f86f60d11e8 Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Thu, 13 Feb 2025 09:26:55 -0700 Subject: [PATCH 2/2] fix: add html to output dir --- .readthedocs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 420580d89..9ef48dc06 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -9,4 +9,4 @@ build: - asdf install uv latest - asdf global uv latest - uv sync --all-extras - - uv run --all-extras mkdocs build -d $READTHEDOCS_OUTPUT + - uv run --all-extras mkdocs build -d $READTHEDOCS_OUTPUT/html