Skip to content

Commit

Permalink
Merge b1f9233 into e244daf
Browse files Browse the repository at this point in the history
  • Loading branch information
mlshapiro committed Apr 5, 2020
2 parents e244daf + b1f9233 commit 8cc67f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions doc/source/conf.py
Expand Up @@ -227,7 +227,7 @@ def generate_example_links():
prestring = "- "
string = "\n".join(
[
prestring + " `{} <{}>`__".format(f, base_link + "/" + f)
prestring + " `{} <{}>`_".format(f.split('.ipynb')[0].replace('-', ' ').capitalize(), base_link + "/" + f)
for f in files
if f.endswith("ipynb")
]
Expand All @@ -237,19 +237,19 @@ def generate_example_links():
f
for f in files
if os.path.isdir(os.path.join(nbpath, f))
and f not in [".ipynb_checkpoints", "Images", "old_examples", "presentations"]
and f not in [".ipynb_checkpoints", "developer", "__pycache__"]
]
subdirs.sort()
for sd in subdirs:
path = os.path.join(nbpath, sd)
link = base_link + "/" + sd
fs = os.listdir(path)
fs.sort()
string += "\n- {}\n".format(sd)
string += "\n- {}\n".format(sd.replace('-', ' ').title())
prestring = " -"
string += "\n".join(
[
prestring + " `{} <{}>`__".format(f, link + "/" + f)
prestring + " `{} <{}>`_".format(f.split('.ipynb')[0].replace('-', ' ').capitalize(), link + "/" + f)
for f in fs
if f.endswith("ipynb")
]
Expand Down
2 changes: 1 addition & 1 deletion doc/source/examples.rst
Expand Up @@ -140,7 +140,7 @@ configured.
output = node.eval(coords)
`Notebooks <https://github.com/creare-com/podpac_examples/tree/master/notebooks>`__
Notebooks
---------

Interactive PODPAC examples are distributed as `example Jupyter
Expand Down

0 comments on commit 8cc67f3

Please sign in to comment.