Skip to content

Commit 5fd59f9

Browse files
update docs
1 parent c501c9a commit 5fd59f9

File tree

376 files changed

+5985
-31394
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

376 files changed

+5985
-31394
lines changed

.github/workflows/check-docs.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: "Check docs"
2+
on:
3+
pull_request:
4+
branches: [ master ]
5+
6+
jobs:
7+
docs:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Set up Python 3.8
12+
uses: actions/setup-python@v2
13+
with:
14+
python-version: '3.8'
15+
- name: Install adapt dependencies
16+
run: |
17+
python -m pip install --upgrade pip
18+
pip install pytest pytest-cov codecov
19+
pip install -r requirements.txt
20+
- name: Install doc dependencies
21+
run: |
22+
sudo dpkg -i https://github.com/jgm/pandoc/releases/download/2.14.2/pandoc-2.14.2-1-amd64.deb
23+
pip install sphinx numpydoc nbsphinx sphinx_gallery sphinx_rtd_theme pandoc
24+
- name: Install adapt
25+
run: |
26+
pip install -e .
27+
- name: Run notebooks
28+
run: |
29+
jupyter nbconvert --inplace --to notebook --ExecutePreprocessor.kernel_name=python --execute $(find ./docs -name '*.ipynb')
30+
- name: Build documentation
31+
run: |
32+
mkdocs build
33+
- uses: actions/upload-artifact@v1
34+
with:
35+
name: DocumentationHTML
36+
path: site/

docs/Makefile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Minimal makefile for Sphinx documentation
2+
#
3+
4+
# You can set these variables from the command line, and also
5+
# from the environment for the first two.
6+
SPHINXOPTS ?=
7+
SPHINXBUILD ?= sphinx-build
8+
SOURCEDIR = source
9+
BUILDDIR = build
10+
11+
# Put it first so that "make" without argument is like "make help".
12+
help:
13+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14+
15+
.PHONY: help Makefile
16+
17+
# Catch-all target: route all unknown targets to Sphinx using the new
18+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19+
%: Makefile
20+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
21+
22+
23+
#html-noplot:
24+
# $(SPHINXBUILD) -D plot_gallery=0 -b html $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/html
25+
# @echo
26+
# @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
Binary file not shown.

docs/_build/doctrees/contents.doctree

61.1 KB
Binary file not shown.
72.8 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)