Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MAINT] Add partial build specific to CI doc build workflow #4044

Merged
merged 1 commit into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ doc-plot:
doc:
make -C doc html-noplot

.PHONY : ci-doc
doc:
make -C doc ci-html-noplot

.PHONY : pdf
pdf:
make -C doc pdf
Expand Down
2 changes: 1 addition & 1 deletion build_tools/github/build_type.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ else
PATTERN="\(${PATTERN::-2}\)";
echo html-modified-examples-only > build.txt;
else
echo html-noplot > build.txt;
echo ci-html-noplot > build.txt;
fi;
fi;
echo "$PATTERN" > pattern.txt;
7 changes: 7 additions & 0 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " html to make standalone HTML files"
@echo " html-noplot to make standalone HTML files, without plotting anything"
@echo " ci-html-noplot to run html-noplot with warnings as errors"
@echo " check to do a sanity check of the documentation"
@echo " dirhtml to make HTML files named index.html in directories"
@echo " pickle to make pickle files"
Expand Down Expand Up @@ -79,6 +80,12 @@ html-modified-examples-only: sym_links
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."

html-noplot:
BUILD_DEV_HTML=1 $(SPHINXBUILD) -D plot_gallery=0 -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
touch $(BUILDDIR)/html/.nojekyll
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."

ci-html-noplot:
BUILD_DEV_HTML=1 $(SPHINXBUILD) -W --keep-going -D plot_gallery=0 -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
touch $(BUILDDIR)/html/.nojekyll
@echo
Expand Down