Skip to content

Commit 5254725

Browse files
committed
doc wip: keep output for incremental builds
1 parent 5efa799 commit 5254725

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docsrc/Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,9 @@ github:
2323
@cp -a ../examples/. source/_examples
2424
@rm -rf source/_examples/in_progress # ignore if in_progress does not exist
2525
@make html
26+
@echo 'Copying output from _build/html to ../docs.'
2627
@cp -a _build/html/. ../docs
2728
@cp .nojekyll ../docs/.nojekyll
28-
@rm -r _build/html/
29-
@rm -r source/_examples
30-
# @rm source/installation.rst
31-
@rm source/contributing.md
3229

3330
clean:
3431
@rm -rf ../docs/*
@@ -37,6 +34,7 @@ clean:
3734
clean-all:
3835
@rm -rf ../docs/*
3936
@rm -rf _build
37+
@rm -rf source/_examples
4038
# remove all files from source/api except for bayesflow.rst
4139
@find source/api -type f ! -name 'bayesflow.rst' -exec rm -f {} +
4240

0 commit comments

Comments
 (0)