-
Notifications
You must be signed in to change notification settings - Fork 0
fix: Improve build tooling configuration #45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -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'", | ||||||
|
||||||
| "lint": "markdownlint-cli2 '**/*.md' '!node_modules'", | |
| "lint": "markdownlint-cli2 '**/*.md' '!node_modules' '!.venv'", |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,5 @@ | ||
| mkdocs | ||
| mkdocs ~= 1.6 | ||
| pymdown-extensions | ||
| mkdocs-material ~= 9.0, >= 9.0.3 | ||
| markdown-include | ||
| mdx_truly_sane_lists | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
setupscript currently swallows any failure fromasdf reshim python(because of... || true). If asdf is installed but the reshim fails, the script still exits successfully and CLI tools likemkdocsmay still not be on PATH for asdf users. Consider using an explicit conditional (runasdf reshim pythononly whenasdfexists) while letting realreshimfailures surface.