File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77@_ builds : build-contributors build-website build-readme
88
99# Run all build-related recipes in the justfile
10- run-all : update-quarto-theme update-template _checks _tests _builds
10+ run-all : update-quarto-theme update-template _checks format-md _tests _builds
1111
1212# Install the pre-commit hooks
1313install-precommit :
@@ -25,7 +25,7 @@ update-quarto-theme:
2525
2626# Update files in the template from the copier parent folder
2727update-template :
28- cp CODE_OF_CONDUCT.md .pre-commit-config.yaml .typos.toml .editorconfig template/
28+ cp CODE_OF_CONDUCT.md .pre-commit-config.yaml .typos.toml .editorconfig .rumdl.toml template/
2929 mkdir -p template/ tools
3030 cp tools/ get-contributors.sh template/ tools/
3131 cp .github/ pull_request_template.md template/ .github/
@@ -48,6 +48,10 @@ check-commits:
4848check-spelling :
4949 uvx typos
5050
51+ # Format Markdown files
52+ format-md :
53+ uvx rumdl fmt --silent
54+
5155# Test that a Python package can be created from the template, with parameters for: `is_seedcase_project` (true or false) and `hosting_provider` (either "gh-pages" or "netlify")
5256test is_seedcase_project = " true" hosting_provider = " netlify":
5357 sh ./ test-template.sh {{ is_seedcase_project }} {{ hosting_provider }}
Original file line number Diff line number Diff line change 77
88# Run all build-related recipes in the justfile
99{% - if is_seedcase_project %}
10- run-all: install-deps update-quarto-theme format-python _checks _tests _builds
10+ run-all: install-deps update-quarto-theme format-python format-md _checks _tests _builds
1111{% - else %}
1212run-all: install-deps format-python _checks _tests _builds
1313{% - endif %}
@@ -61,6 +61,10 @@ format-python:
6161 uv run ruff check --fix .
6262 uv run ruff format .
6363
64+ # Format Markdown files
65+ format-md:
66+ uvx rumdl fmt --silent
67+
6468# Build the documentation website using Quarto
6569build-website:
6670 # To let Quarto know where python is.
You can’t perform that action at this time.
0 commit comments