From cb6144a8dde71b64846e6bab13755cae241f6183 Mon Sep 17 00:00:00 2001 From: Evan Shelhamer Date: Wed, 13 Aug 2014 10:42:30 -0700 Subject: [PATCH] [docs] update docs generation for notebook metadata --- scripts/copy_notebook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/copy_notebook.py b/scripts/copy_notebook.py index 4f60cfd..e4c6385 100755 --- a/scripts/copy_notebook.py +++ b/scripts/copy_notebook.py @@ -19,7 +19,7 @@ content = json.load(open(filename)) if 'include_in_docs' in content['metadata'] and content['metadata']['include_in_docs']: yaml_frontmatter = ['---'] for key, val in content['metadata'].iteritems(): - if key == 'name': + if key == 'example_name': key = 'title' if val == '': val = os.path.basename(filename) -- 2.7.4