From 7c1dc8d7e242b9afb27d09f858219b370357e06f Mon Sep 17 00:00:00 2001 From: Shay Carter Date: Tue, 28 May 2024 16:28:20 -0600 Subject: [PATCH] Change the default nbviewer url for the generated notebooks --- docs/source/notebook_gen_sphinxext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/notebook_gen_sphinxext.py b/docs/source/notebook_gen_sphinxext.py index 59beae32..d8db777c 100644 --- a/docs/source/notebook_gen_sphinxext.py +++ b/docs/source/notebook_gen_sphinxext.py @@ -37,7 +37,7 @@ def nb_to_rst(nb_path): resources['metadata']['basename'] = basename resources['metadata']['name'] = basename.replace('_', ' ') resources['metadata']['imgdir'] = imgdir - base_url = ('http://nbviewer.ipython.org/github/Unidata/python-awips/blob/master/' + base_url = ('http://nbviewer.ipython.org/github/Unidata/python-awips/blob/website/' 'examples/notebooks/') out_lines = ['`Notebook <%s>`_' % (base_url + os.path.basename(nb_path))] for line in out.split('\n'):