Skip to content

Commit

Permalink
DOCS: Add notebooks to document best practises
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-braun committed Dec 12, 2024
1 parent a666610 commit 37244af
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- CI: Test both Dask's multithreaded and local cluster in CI
- DEPR: Deprecate `xml_regex` and `file_regex` arguments from above-mentioned functions in favor of an harmonized `regex` argument.
- DEPS: Reduce `dask`-related dependencies to the libraries related to this project (abandon `dask[complete]` as we don't need most of the embedded libraries).
- DOCS: Add notebooks to document best practises

## 1.44.0 (2024-12-09)

Expand Down
9 changes: 8 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import os
import sertit

# -- General configuration ------------------------------------------------
Expand All @@ -36,6 +37,7 @@
"sphinx.ext.napoleon",
"sphinx_copybutton",
"myst_nb",
"IPython.sphinxext.ipython_console_highlighting"
]
myst_enable_extensions = [
"amsmath",
Expand All @@ -52,7 +54,12 @@

# Notebook integration parameters
nb_execution_mode = "cache"
nb_execution_timeout = 3600
nb_execution_timeout = -1

# Manage new READTHEDOCS output mechanism
cache_path = os.getenv('READTHEDOCS_OUTPUT')
if cache_path is not None:
nb_execution_cache_path = f"{cache_path}/../docs/_build/.jupyter_cache"

# This is going to generate a banner on top of each notebook
nbsphinx_prolog = ""
Expand Down

0 comments on commit 37244af

Please sign in to comment.