Skip to content

use jupyter_sphinx v0.2.0 from conda instead of my branch #204

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

Merged
merged 3 commits into from
Jul 29, 2019
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
- bokeh=1.0.4
- plotly=3.9.0
- ipywidgets=7.4.2
- jupyter_sphinx=0.2.0
- pip:
- git+https://github.com/basnijholt/jupyter-sphinx.git@widgets_execute
- sphinx_fontawesome==0.0.6
- m2r==0.2.1
8 changes: 7 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# -- Project information -----------------------------------------------------

project = "adaptive"
copyright = "2018, Adaptive Authors"
copyright = "2018-2019, Adaptive Authors"
author = "Adaptive Authors"

# The short X.Y version
Expand Down Expand Up @@ -83,6 +83,12 @@
pygments_style = "sphinx"


jupyter_sphinx_thebelab_config = {
"requestKernel": True,
"binderOptions": {"repo": "python-adaptive/adaptive"},
}


# -- Options for HTML output -------------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
Expand Down
2 changes: 2 additions & 0 deletions docs/source/tutorial/tutorial.AverageLearner.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Tutorial `~adaptive.AverageLearner`
The complete source code of this tutorial can be found in
:jupyter-download:notebook:`tutorial.AverageLearner`

.. thebe-button:: Run the code live inside the documentation!

.. jupyter-execute::
:hide-code:

Expand Down
2 changes: 2 additions & 0 deletions docs/source/tutorial/tutorial.BalancingLearner.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Tutorial `~adaptive.BalancingLearner`
The complete source code of this tutorial can be found in
:jupyter-download:notebook:`tutorial.BalancingLearner`

.. thebe-button:: Run the code live inside the documentation!

.. jupyter-execute::
:hide-code:

Expand Down
2 changes: 2 additions & 0 deletions docs/source/tutorial/tutorial.DataSaver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Tutorial `~adaptive.DataSaver`
The complete source code of this tutorial can be found in
:jupyter-download:notebook:`tutorial.DataSaver`

.. thebe-button:: Run the code live inside the documentation!

.. jupyter-execute::
:hide-code:

Expand Down
2 changes: 2 additions & 0 deletions docs/source/tutorial/tutorial.IntegratorLearner.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Tutorial `~adaptive.IntegratorLearner`
The complete source code of this tutorial can be found in
:jupyter-download:notebook:`tutorial.IntegratorLearner`

.. thebe-button:: Run the code live inside the documentation!

.. jupyter-execute::
:hide-code:

Expand Down
2 changes: 2 additions & 0 deletions docs/source/tutorial/tutorial.Learner1D.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Tutorial `~adaptive.Learner1D`
The complete source code of this tutorial can be found in
:jupyter-download:notebook:`tutorial.Learner1D`

.. thebe-button:: Run the code live inside the documentation!

.. jupyter-execute::
:hide-code:

Expand Down
2 changes: 2 additions & 0 deletions docs/source/tutorial/tutorial.Learner2D.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Tutorial `~adaptive.Learner2D`
The complete source code of this tutorial can be found in
:jupyter-download:notebook:`tutorial.Learner2D`

.. thebe-button:: Run the code live inside the documentation!

.. jupyter-execute::
:hide-code:

Expand Down
2 changes: 2 additions & 0 deletions docs/source/tutorial/tutorial.LearnerND.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Tutorial `~adaptive.LearnerND`
The complete source code of this tutorial can be found in
:jupyter-download:notebook:`tutorial.LearnerND`

.. thebe-button:: Run the code live inside the documentation!

.. jupyter-execute::
:hide-code:

Expand Down
2 changes: 2 additions & 0 deletions docs/source/tutorial/tutorial.SKOptLearner.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Tutorial `~adaptive.SKOptLearner`
The complete source code of this tutorial can be found in
:jupyter-download:notebook:`tutorial.SKOptLearner`

.. thebe-button:: Run the code live inside the documentation!

.. jupyter-execute::
:hide-code:

Expand Down
2 changes: 2 additions & 0 deletions docs/source/tutorial/tutorial.SequenceLearner.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Tutorial `~adaptive.SequenceLearner`
The complete source code of this tutorial can be found in
:jupyter-download:notebook:`tutorial.SequenceLearner`

.. thebe-button:: Run the code live inside the documentation!

.. jupyter-execute::
:hide-code:

Expand Down
2 changes: 2 additions & 0 deletions docs/source/tutorial/tutorial.advanced-topics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Advanced Topics
The complete source code of this tutorial can be found in
:jupyter-download:notebook:`tutorial.advanced-topics`

.. thebe-button:: Run the code live inside the documentation!

.. jupyter-execute::
:hide-code:

Expand Down
2 changes: 2 additions & 0 deletions docs/source/tutorial/tutorial.custom_loss.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Custom adaptive logic for 1D and 2D
The complete source code of this tutorial can be found in
:jupyter-download:notebook:`tutorial.custom-loss`

.. thebe-button:: Run the code live inside the documentation!

.. jupyter-execute::
:hide-code:

Expand Down