Skip to content

Commit f4b588d

Browse files
lwjohnst86signekb
andauthored
build: 🔨 modify justfile to run Python doc in Quarto docs (#12)
## Description This PR includes a recipe for the justfile that builds the website and runs Python code that is in the docs. <!-- Select quick/in-depth as necessary --> This PR needs a quick review. Co-authored-by: Signe Kirk Brødbæk <[email protected]>
1 parent ff2bf1e commit f4b588d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

justfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ reset-local:
5656

5757
# Build the documentation website using Quarto
5858
build-website:
59-
docker run --rm -v $(pwd):/site -w /site ghcr.io/quarto-dev/quarto:latest quarto render
59+
# To let Quarto know where python is.
60+
export QUARTO_PYTHON=.venv/bin/python3
61+
poetry run quarto render --execute
6062

6163
# Add files for a new function (function file and test file)
6264
add-function app part name:

0 commit comments

Comments
 (0)