From ce8478c55eb734f8eeddc3cb2db37b4d4b0cd519 Mon Sep 17 00:00:00 2001 From: "jan.watter" Date: Wed, 10 Jan 2024 14:01:31 +0100 Subject: [PATCH] Fixed docs build --- docsource/download_notebooks.py | 4 ++-- docsource/release_notes/release_notes_0.3.0.rst | 2 +- docsource/release_notes/template_release_notes.rst | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docsource/download_notebooks.py b/docsource/download_notebooks.py index b7eaba4..88e1f3c 100644 --- a/docsource/download_notebooks.py +++ b/docsource/download_notebooks.py @@ -18,8 +18,8 @@ with urllib.request.urlopen(repo_url) as f: response = f.read().decode('utf-8') -pieces = response.split('.ipynb">')[1:] -basenames = [p.split('.ipynb')[0] for p in pieces] +pieces = response.split('"notebooks/')[1:] +basenames = [p.split('.ipynb"')[0] for p in pieces] # download all notebooks diff --git a/docsource/release_notes/release_notes_0.3.0.rst b/docsource/release_notes/release_notes_0.3.0.rst index 0261032..e3c028e 100644 --- a/docsource/release_notes/release_notes_0.3.0.rst +++ b/docsource/release_notes/release_notes_0.3.0.rst @@ -42,7 +42,7 @@ Documentation - Add release notes -- Add visium example to address `#8 https://github.com/simonwm/tacco/issues/8`__ +- Add visium example to address `#8 `__ Miscellaneous ------------- diff --git a/docsource/release_notes/template_release_notes.rst b/docsource/release_notes/template_release_notes.rst index 1256248..9356b0b 100644 --- a/docsource/release_notes/template_release_notes.rst +++ b/docsource/release_notes/template_release_notes.rst @@ -25,7 +25,7 @@ Documentation ------------- .. include documentation updates here -- Add example `#8 https://github.com/simonwm/tacco/issues/8`__ +- Add example `#8 `__ Miscellaneous -------------