-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve documentation build and visibility of papers/bibtex entries (#…
…213) * improve landing page * improve make files * update titles * update structure * rm unused * update readme * improve * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix readme * better --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
43eec6d
commit d629ec2
Showing
23 changed files
with
441 additions
and
257 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,35 @@ | ||
# Minimal makefile for Sphinx documentation | ||
# | ||
|
||
# You can set these variables from the command line, and also | ||
# from the environment for the first two. | ||
SPHINXOPTS ?= | ||
SPHINXOPTS ?= -nWT --keep-going | ||
SPHINXBUILD ?= sphinx-build | ||
SOURCEDIR = . | ||
BUILDDIR = _build | ||
|
||
# Put it first so that "make" without argument is like "make help". | ||
.PHONY: help Makefile clean html html-noplot linkcheck linkcheck-grep view | ||
|
||
first_target: help | ||
|
||
help: | ||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
@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" | ||
@echo " clean to clean HTML files" | ||
@echo " linkcheck to check all external links for integrity" | ||
@echo " linkcheck-grep to grep the linkcheck result" | ||
@echo " view to view the built HTML" | ||
|
||
html: | ||
$(SPHINXBUILD) . _build/html -b html $(SPHINXOPTS) | ||
|
||
html-noplot: | ||
$(SPHINXBUILD) . _build/html -b html $(SPHINXOPTS) -D plot_gallery=0 | ||
|
||
clean: | ||
rm -rf _build generated sg_execution_times.rst | ||
|
||
linkcheck: | ||
$(SPHINXBUILD) . _build/linkcheck -b linkcheck -D plot_gallery=0 | ||
|
||
.PHONY: help Makefile | ||
linkcheck-grep: | ||
@! grep -h "^.*:.*: \[\(\(local\)\|\(broken\)\)\]" _build/linkcheck/output.txt | ||
|
||
# Catch-all target: route all unknown targets to Sphinx using the new | ||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
%: Makefile | ||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
view: | ||
@python -c "import webbrowser; webbrowser.open_new_tab('file://$(PWD)/_build/html/index.html')" |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.