From b2db3d8bd325a943cf257f86bb22ede3a0b2d34e Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Wed, 10 Jul 2019 10:30:06 -0700 Subject: [PATCH] add thebelab activation buttons --- docs/source/tutorial/tutorial.AverageLearner.rst | 2 ++ docs/source/tutorial/tutorial.BalancingLearner.rst | 2 ++ docs/source/tutorial/tutorial.DataSaver.rst | 2 ++ docs/source/tutorial/tutorial.IntegratorLearner.rst | 2 ++ docs/source/tutorial/tutorial.Learner1D.rst | 2 ++ docs/source/tutorial/tutorial.Learner2D.rst | 2 ++ docs/source/tutorial/tutorial.LearnerND.rst | 2 ++ docs/source/tutorial/tutorial.SKOptLearner.rst | 2 ++ docs/source/tutorial/tutorial.SequenceLearner.rst | 2 ++ docs/source/tutorial/tutorial.advanced-topics.rst | 2 ++ docs/source/tutorial/tutorial.custom_loss.rst | 2 ++ 11 files changed, 22 insertions(+) diff --git a/docs/source/tutorial/tutorial.AverageLearner.rst b/docs/source/tutorial/tutorial.AverageLearner.rst index 5f4159184..9495fae74 100644 --- a/docs/source/tutorial/tutorial.AverageLearner.rst +++ b/docs/source/tutorial/tutorial.AverageLearner.rst @@ -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: diff --git a/docs/source/tutorial/tutorial.BalancingLearner.rst b/docs/source/tutorial/tutorial.BalancingLearner.rst index 1d732db01..f467372c7 100644 --- a/docs/source/tutorial/tutorial.BalancingLearner.rst +++ b/docs/source/tutorial/tutorial.BalancingLearner.rst @@ -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: diff --git a/docs/source/tutorial/tutorial.DataSaver.rst b/docs/source/tutorial/tutorial.DataSaver.rst index 82a8f3f11..c432f6e1f 100644 --- a/docs/source/tutorial/tutorial.DataSaver.rst +++ b/docs/source/tutorial/tutorial.DataSaver.rst @@ -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: diff --git a/docs/source/tutorial/tutorial.IntegratorLearner.rst b/docs/source/tutorial/tutorial.IntegratorLearner.rst index e365a8377..09d18c8d2 100644 --- a/docs/source/tutorial/tutorial.IntegratorLearner.rst +++ b/docs/source/tutorial/tutorial.IntegratorLearner.rst @@ -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: diff --git a/docs/source/tutorial/tutorial.Learner1D.rst b/docs/source/tutorial/tutorial.Learner1D.rst index 9e82539b3..d1aae414b 100644 --- a/docs/source/tutorial/tutorial.Learner1D.rst +++ b/docs/source/tutorial/tutorial.Learner1D.rst @@ -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: diff --git a/docs/source/tutorial/tutorial.Learner2D.rst b/docs/source/tutorial/tutorial.Learner2D.rst index 56bf0d1d3..2ca05b55f 100644 --- a/docs/source/tutorial/tutorial.Learner2D.rst +++ b/docs/source/tutorial/tutorial.Learner2D.rst @@ -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: diff --git a/docs/source/tutorial/tutorial.LearnerND.rst b/docs/source/tutorial/tutorial.LearnerND.rst index 164490b5c..bed15cdbb 100644 --- a/docs/source/tutorial/tutorial.LearnerND.rst +++ b/docs/source/tutorial/tutorial.LearnerND.rst @@ -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: diff --git a/docs/source/tutorial/tutorial.SKOptLearner.rst b/docs/source/tutorial/tutorial.SKOptLearner.rst index 5998bbf9b..3c6ede7f1 100644 --- a/docs/source/tutorial/tutorial.SKOptLearner.rst +++ b/docs/source/tutorial/tutorial.SKOptLearner.rst @@ -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: diff --git a/docs/source/tutorial/tutorial.SequenceLearner.rst b/docs/source/tutorial/tutorial.SequenceLearner.rst index 22c942779..2243d8710 100644 --- a/docs/source/tutorial/tutorial.SequenceLearner.rst +++ b/docs/source/tutorial/tutorial.SequenceLearner.rst @@ -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: diff --git a/docs/source/tutorial/tutorial.advanced-topics.rst b/docs/source/tutorial/tutorial.advanced-topics.rst index 6cbd46b9b..bc63e5b0c 100644 --- a/docs/source/tutorial/tutorial.advanced-topics.rst +++ b/docs/source/tutorial/tutorial.advanced-topics.rst @@ -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: diff --git a/docs/source/tutorial/tutorial.custom_loss.rst b/docs/source/tutorial/tutorial.custom_loss.rst index 6d1fe47b8..e3a00b653 100644 --- a/docs/source/tutorial/tutorial.custom_loss.rst +++ b/docs/source/tutorial/tutorial.custom_loss.rst @@ -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: