Skip to content

Commit

Permalink
Issue #181: Don't delete README on make clean
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark2000 committed Sep 11, 2024
1 parent b93bd57 commit 607fed8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@ help:
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

clean:
cp build/doctrees/nbsphinx/README.txt _tmp_README.txt
rm -rf "source/examples" "source/api_reference" "build"


mkdir -p "build/doctrees/nbsphinx"
cp _tmp_README.txt build/doctrees/nbsphinx/README.txt
rm _tmp_README.txt

view:
# works on macOS
open build/html/index.html

0 comments on commit 607fed8

Please sign in to comment.