From b3cc1f0a2bbe30f1ad5f4983684fb56f3f08f280 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Sat, 18 Jan 2025 15:21:31 -0500 Subject: [PATCH] chore: remove site-requirements.txt Everything is now in pyproject.toml, so we don't need the site-requirements.txt file anymore. --- Makefile | 8 ++++---- pyproject.toml | 3 +++ site-requirements.txt | 2 -- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 site-requirements.txt diff --git a/Makefile b/Makefile index 757dac32..88810e5e 100644 --- a/Makefile +++ b/Makefile @@ -3,12 +3,12 @@ all: @echo "Run my targets individually!" .PHONY: site -site: site-requirements.txt - uvx --with-requirements $< mkdocs build +site: + uv run --no-project --only-group docs mkdocs build .PHONY: site-live -site-live: site-requirements.txt - uvx --with-requirements $< mkdocs serve +site-live: + uv run --no-project --only-group docs mkdocs serve .PHONY: snippets snippets: trophies sponsors diff --git a/pyproject.toml b/pyproject.toml index 0988846e..a236e72f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,3 +4,6 @@ build-backend = "maturin" [tool.maturin] bindings = "bin" + +[dependency-groups] +docs = ["mkdocs ~= 1.6", "mkdocs-material[imaging] ~= 9.5"] diff --git a/site-requirements.txt b/site-requirements.txt deleted file mode 100644 index c624cc24..00000000 --- a/site-requirements.txt +++ /dev/null @@ -1,2 +0,0 @@ -mkdocs ~= 1.6 -mkdocs-material[imaging] ~= 9.5