Skip to content

Commit a5de5fa

Browse files
committed
Add dev-htmltools make target for docs
1 parent ec4054b commit a5de5fa

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ $(PYBIN): $(VENV)
3939
help:
4040
@python -c "$$PRINT_HELP_PYSCRIPT" < $(MAKEFILE_LIST)
4141

42+
dev-htmltools: $(PYBIN) ## Install development version of htmltools
43+
$(PYBIN)/pip install https://github.com/rstudio/py-htmltools/tarball/main
44+
4245
deps: $(PYBIN) ## Install build dependencies
4346
$(PYBIN)/pip install pip --upgrade
4447
$(PYBIN)/pip install -e ..[doc]

docs/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ This directory contains files to generate Shiny for Python API documentation, us
88
To build the docs, first install the Python dependencies and Quarto extensions:
99

1010
```bash
11+
# Install development version of htmltools (do this if you are using a development version of shiny)
12+
make dev-htmltools
13+
1114
# Install build dependencies
1215
make deps
1316
```

0 commit comments

Comments
 (0)