From 0cb3257a058131aabb3ed2ccc74e4c6edaad3a5b Mon Sep 17 00:00:00 2001 From: Michael Vu Date: Wed, 13 Sep 2023 09:40:05 -0400 Subject: [PATCH] Add `text` Makefile commands (#924) **Title:** Add `text` Makefile commands **Summary:** Adds new commands: `make text` and `make text-norun` **Relevant references:** N/A **Possible Drawbacks:** There are many warning upon generation, but it works for our purposes **Related GitHub Issues:** N/A --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index 08468a5a05..9e83f22352 100644 --- a/Makefile +++ b/Makefile @@ -45,6 +45,16 @@ json-norun: @echo @echo "Build finished. The JSON files are in $(BUILDDIR)." +text: + $(SPHINXBUILD) -b text "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) + @echo + @echo "Build finished. The text files are in $(BUILDDIR)." + +text-norun: + $(SPHINXBUILD) -D plot_gallery=0 -b text "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) + @echo + @echo "Build finished. The text files are in $(BUILDDIR)." + download: # make data directories mkdir -p $(DATADIR)