mirror of
https://github.com/wassname/persona-steering-template-library.git
synced 2026-06-27 17:01:24 +08:00
docs: use one Quarto source for README and Pages
This commit is contained in:
@@ -8,10 +8,8 @@ model-matrix:
|
||||
|
||||
readme:
|
||||
uv run python scripts/summarize_model_matrix.py
|
||||
QUARTO_PYTHON="$(uv run python -c 'import sys; print(sys.executable)')" quarto render README.qmd --to gfm
|
||||
PSTL_DOC_TARGET=gfm QUARTO_PYTHON="$(uv run python -c 'import sys; print(sys.executable)')" quarto render README.qmd --to gfm
|
||||
|
||||
pages:
|
||||
uv run python scripts/summarize_model_matrix.py
|
||||
QUARTO_PYTHON="$(uv run python -c 'import sys; print(sys.executable)')" quarto render docs/index.qmd --to html --output-dir _site
|
||||
mkdir -p docs/_site/out/model_matrix
|
||||
cp out/model_matrix/refusal_probe_seed24_n1_model_matrix.svg docs/_site/out/model_matrix/
|
||||
PSTL_DOC_TARGET=html QUARTO_PYTHON="$(uv run python -c 'import sys; print(sys.executable)')" quarto render README.qmd --to html --output-dir docs/_site --output index.html
|
||||
|
||||
Reference in New Issue
Block a user