diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-05-19 12:55:16 +0000 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-05-19 12:55:16 +0000 |
| commit | 67167e90781b2d7a5b48dd97a5e400044496980d (patch) | |
| tree | dd011ec797deae5745f09da676fc017620d0448d | |
| parent | Remove say_hello example export in core.py (diff) | |
| download | nb-67167e90781b2d7a5b48dd97a5e400044496980d.zip | |
Add 'export_nb' to pkg __init__
| -rw-r--r-- | nb/__init__.py | 4 | ||||
| -rw-r--r-- | nbs/init.ipynb | 46 |
2 files changed, 50 insertions, 0 deletions
diff --git a/nb/__init__.py b/nb/__init__.py index e69de29..87ba832 100644 --- a/nb/__init__.py +++ b/nb/__init__.py @@ -0,0 +1,4 @@ +# AUTOGENERATED! DO NOT EDIT! + +# cell: d072d8a4 +from nb.export import export_nb diff --git a/nbs/init.ipynb b/nbs/init.ipynb new file mode 100644 index 0000000..a5240f5 --- /dev/null +++ b/nbs/init.ipynb @@ -0,0 +1,46 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": null, + "id": "ae1887ce", + "metadata": {}, + "outputs": [], + "source": [ + "#| default_exp: __init__" + ] + }, + { + "cell_type": "markdown", + "id": "a9e6a100", + "metadata": {}, + "source": [ + "# Package Init" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "d072d8a4", + "metadata": {}, + "outputs": [], + "source": [ + "#| export\n", + "from nb.export import export_nb" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "97cbc085", + "metadata": {}, + "outputs": [], + "source": [ + "export_nb('init.ipynb', src_dir='../nb/')" + ] + } + ], + "metadata": {}, + "nbformat": 4, + "nbformat_minor": 5 +} |