mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 14:57:56 -05:00
Merge pull request #133 from srcarter3/website
Change the default nbviewer url for the generated notebooks
This commit is contained in:
commit
6799540f30
1 changed files with 1 additions and 1 deletions
|
@ -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'):
|
||||
|
|
Loading…
Add table
Reference in a new issue