no commit message

parent e391755a
{
"cells": [],
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import os\n",
"\n",
"__version__ = '0.3.0'\n",
"\n",
"\n",
"def _jupyter_nbextension_paths():\n",
" # src & dest are os paths, and so must use os.path.sep to work correctly on Windows.\n",
" # In contrast, require is a requirejs path, and thus must use `/` as the path separator.\n",
" return [dict(\n",
" section='notebook',\n",
" # src is relative to current module\n",
" src='jupytemplate',\n",
" # dest directory is in the `nbextensions/` namespace\n",
" dest='jupytemplate',\n",
" # require is also in the `nbextensions/` namespace\n",
" # must use / as path.sep\n",
" require='jupytemplate/main',\n",
" )]\n",
"\n",
"\n",
"def get_template_path():\n",
" \"\"\"\n",
" Get absolute path of template notebook.\n",
" :return: the path if the template notebook\n",
" \"\"\"\n",
" return os.path.abspath(os.path.join(os.path.dirname(__file__), 'jupytemplate', 'template.ipynb'))"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
......@@ -16,10 +51,9 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.3"
"version": "3.6.4"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment