Skip to content

Commit b038f9f

Browse files
authored
Update Makefile
- build versions
1 parent 3f2b8b0 commit b038f9f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ help:
1818
html:
1919
PYTHONPATH=.. $(SPHINXBUILD) -M html "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
2020

21+
# Build multiple versions
22+
html_versions:
23+
for v in latest v0.2.0 v0.3.0 v0.4.0; do \
24+
PYTHONPATH=.. $(SPHINXBUILD) -b html "$(SOURCEDIR)" "$(BUILDDIR)/$$v"; \
25+
done
2126
# Remove the current temp folder and page build
2227
clean:
2328
rm -rf build

0 commit comments

Comments
 (0)