From 842b1ab43754c499203a96a8f02bd4799a9dd425 Mon Sep 17 00:00:00 2001 From: James Couball Date: Fri, 27 Mar 2026 14:15:05 -0700 Subject: [PATCH] fix: Improve build tooling configuration - Add asdf reshim to setup script for Python compatibility - Exclude .venv directory from markdown linting in build and serve - Pin mkdocs version to ~= 1.6 - Remove trailing blank line from requirements.txt --- package.json | 6 +++--- requirements.txt | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index c93e7b2..6ec3848 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "scripts": { - "setup": "npm install && pip3 install -r requirements.txt", + "setup": "npm install && pip3 install -r requirements.txt && (command -v asdf >/dev/null && asdf reshim python || true)", "lint": "markdownlint-cli2 '**/*.md' '!node_modules'", - "build": "markdownlint-cli2 '**/*.md' '!node_modules' && mkdocs build", - "serve": "markdownlint-cli2 '**/*.md' '!node_modules' && mkdocs serve" + "build": "markdownlint-cli2 '**/*.md' '!node_modules' '!.venv' && mkdocs build", + "serve": "markdownlint-cli2 '**/*.md' '!node_modules' '!.venv' && mkdocs serve" }, "devDependencies": { "markdownlint-cli2": "^0.14.0" diff --git a/requirements.txt b/requirements.txt index 4158492..fa0de37 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,5 @@ -mkdocs +mkdocs ~= 1.6 pymdown-extensions mkdocs-material ~= 9.0, >= 9.0.3 markdown-include mdx_truly_sane_lists -