Skip to content

Commit 66e5341

Browse files
committed
MAINT: Run quartodoc as a python module
This avoids `uv run` which creates a .venve environment if there is none. It lets us call quatodoc when plotnine is a submodule of plotnine.org by exporting a PYTHON environment variable from plotnine.org/Makefile.
1 parent 5d4ea1f commit 66e5341

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ extensions: ## Install quarto/pandoc extensions
7474
dependencies: extensions download_qrenderer_style ## Install build dependencies
7575

7676
interlinks: ## Gather interlinks
77-
$(UVRUN) quartodoc interlinks
77+
$(PYTHON) -m quartodoc interlinks
7878

7979
config: ## Configure project for quartodoc and quarto
8080
$(PYTHON) _config.py
8181

8282
docstrings: config ## Generate qmd files from the docstrings
83-
$(UVRUN) quartodoc build --config _quartodoc.yml
83+
$(PYTHON) -m quartodoc build --config _quartodoc.yml
8484
@$(PYTHON) -c "$$CREATE_OBJECTS_INV"
8585

8686
html: docstrings download_qrenderer_style ## Build html site

0 commit comments

Comments
 (0)