@@ -38,9 +38,6 @@ soi.writebytes("objects.inv", soi.compress(inv.data_file()))
38
38
endef
39
39
export CREATE_OBJECTS_INV
40
40
41
- QRENDERER_STYLE_FILE =qrenderer.scss
42
- QRENDERER_STYLE_URL =https://raw.githubusercontent.com/has2k1/qrenderer/main/doc/qrenderer.scss
43
-
44
41
help :
45
42
@$(PYTHON ) -c " $$ PRINT_HELP_PYSCRIPT" < $(MAKEFILE_LIST )
46
43
@@ -57,17 +54,14 @@ clean: ## Remove build artefacts
57
54
readme-images :
58
55
cd images; $(PYTHON ) readme_images.py
59
56
60
- download_qrenderer_style : # # Download qrenderer stylesheet
61
- @if [ ! -f $( QRENDERER_STYLE_FILE) ]; then \
62
- echo " Downloading $( QRENDERER_STYLE_FILE) " ; \
63
- wget $(QRENDERER_STYLE_URL ) -O $(QRENDERER_STYLE_FILE ) ; \
64
- fi
57
+ install-stylesheets : # # Install qrenderer stylesheet(s)
58
+ $(PYTHON ) -m qrenderer.stylesheets.install $(CURDIR )
65
59
66
60
extensions : # # Install quarto/pandoc extensions
67
61
quarto add --no-prompt has2k1/issuey
68
62
quarto add --no-prompt has2k1/interlinks
69
63
70
- dependencies : extensions download_qrenderer_style # # Install build dependencies
64
+ dependencies : extensions install-stylesheets # # Install build dependencies
71
65
72
66
interlinks : # # Gather interlinks
73
67
$(PYTHON ) -m quartodoc interlinks
@@ -79,7 +73,7 @@ docstrings: config ## Generate qmd files from the docstrings
79
73
$(PYTHON ) -m quartodoc build --config _quartodoc.yml
80
74
@$(PYTHON ) -c " $$ CREATE_OBJECTS_INV"
81
75
82
- html : docstrings download_qrenderer_style # # Build html site
76
+ html : docstrings # # Build html site
83
77
quarto render
84
78
85
79
doc : clean interlinks html # # Build html documentation from a clean slate
0 commit comments