Skip to content

Commit

Permalink
Merge pull request #133 from srcarter3/website
Browse files Browse the repository at this point in the history
Change the default nbviewer url for the generated notebooks
  • Loading branch information
tiffanycmeyer13 authored May 29, 2024
2 parents 7b85ca4 + 7c1dc8d commit 6799540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/notebook_gen_sphinxext.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'):
Expand Down

0 comments on commit 6799540

Please sign in to comment.