Skip to content

Commit 205dc1c

Browse files
Merge pull request #5 from antoinedemathelin/master
docs: Update documentation
2 parents 467c848 + 95a13af commit 205dc1c

26 files changed

+380
-493
lines changed

.github/workflows/check-docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
run: |
1919
sudo apt install pandoc
2020
python -m pip install --upgrade pip
21-
pip install sphinx numpydoc nbsphinx sphinx_gallery sphinx_rtd_theme
21+
pip install sphinx numpydoc nbsphinx sphinx_gallery sphinx_rtd_theme ipython
2222
- name: Install adapt dependencies
2323
run: |
2424
python -m pip install --upgrade pip
@@ -31,6 +31,8 @@ jobs:
3131
sudo rm -r -f docs/*
3232
make html
3333
sudo rm -r -f docs/doctrees
34+
sudo rm -r -f docs/html/_sources
35+
sudo rm -r -f docs/html/examples/*.ipynb
3436
mv -v docs/html/* docs/
3537
sudo rm -r -f docs/html
3638
touch .nojekyll

.github/workflows/publish-doc-to-remote.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
run: |
1818
sudo apt install pandoc
1919
python -m pip install --upgrade pip
20-
pip install sphinx numpydoc nbsphinx sphinx_gallery sphinx_rtd_theme
20+
pip install sphinx numpydoc nbsphinx sphinx_gallery sphinx_rtd_theme ipython
2121
- name: Install adapt dependencies
2222
run: |
2323
python -m pip install --upgrade pip
@@ -30,6 +30,8 @@ jobs:
3030
sudo rm -r -f docs/*
3131
make html
3232
sudo rm -r -f docs/doctrees
33+
sudo rm -r -f docs/html/_sources
34+
sudo rm -r -f docs/html/examples/*.ipynb
3335
mv -v docs/html/* docs/
3436
sudo rm -r -f docs/html
3537
touch .nojekyll
-384 KB
Binary file not shown.
-534 KB
Binary file not shown.
-489 KB
Binary file not shown.
-4.53 MB
Binary file not shown.

src_docs/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
'numpydoc',
3232
'sphinx.ext.linkcode',
3333
'nbsphinx',
34-
'sphinx_gallery.load_style'
34+
'sphinx_gallery.load_style',
35+
'IPython.sphinxext.ipython_console_highlighting'
3536
]
3637

3738
numpydoc_show_inherited_class_members = False
@@ -83,6 +84,8 @@
8384
'js/custom.js',
8485
]
8586

87+
html_show_sourcelink = False
88+
8689

8790
#sphinx_gallery_conf = {
8891
# 'reference_url': {"adapt": None},

src_docs/examples/Classification.ipynb

Lines changed: 91 additions & 146 deletions
Large diffs are not rendered by default.

src_docs/examples/Multi_fidelity.ipynb

Lines changed: 26 additions & 17 deletions
Large diffs are not rendered by default.

src_docs/examples/Regression.ipynb

Lines changed: 104 additions & 205 deletions
Large diffs are not rendered by default.

src_docs/examples/Rotation.ipynb

Lines changed: 32 additions & 23 deletions
Large diffs are not rendered by default.

src_docs/examples/Two_moons.ipynb

Lines changed: 48 additions & 39 deletions
Large diffs are not rendered by default.

src_docs/examples/sample_bias.ipynb

Lines changed: 33 additions & 24 deletions
Large diffs are not rendered by default.

src_docs/examples/sample_bias_2d.ipynb

Lines changed: 36 additions & 36 deletions
Large diffs are not rendered by default.

src_docs/gallery/MCD.rst

Whitespace-only changes.

src_docs/gallery/MDD.rst

Whitespace-only changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)