Skip to content

Commit 6df9d69

Browse files
authored
Merge pull request #1291 from hugetim/rm-exp-other-docs
Remove export-other from directives doc
2 parents 7d53bb8 + fc8d09e commit 6df9d69

File tree

1 file changed

+0
-41
lines changed

1 file changed

+0
-41
lines changed

nbs/explanations/directives.ipynb

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -482,47 +482,6 @@
482482
":::"
483483
]
484484
},
485-
{
486-
"cell_type": "markdown",
487-
"metadata": {},
488-
"source": [
489-
"### 📓 `#|export <some.thing>`"
490-
]
491-
},
492-
{
493-
"cell_type": "markdown",
494-
"metadata": {},
495-
"source": [
496-
"Similar to `#|export`, but instead of exporting to the module named by `#|default_exp` export to the specified module.\n",
497-
"\n",
498-
"::: {.callout-note collapse=\"true\"}\n",
499-
"\n",
500-
"##### Example\n",
501-
"\n",
502-
"If our package is named: `bitsnbytes`, and we have previously included: `#|default_exp core` in this notebook, and we have an existing notebook with `#|default_exp bar`, then:\n",
503-
"\n",
504-
" Earlier in the notebook:\n",
505-
"\n",
506-
"```python\n",
507-
"#|default_exp core\n",
508-
"```\n",
509-
"\n",
510-
"A new notebook cell:\n",
511-
"\n",
512-
"```python\n",
513-
"#|export bar\n",
514-
"def foo(): pass\n",
515-
"```\n",
516-
"\n",
517-
"then we can import this as:\n",
518-
"\n",
519-
"```python\n",
520-
"from bitsnbytes.bar import foo\n",
521-
"```\n",
522-
"\n",
523-
":::"
524-
]
525-
},
526485
{
527486
"cell_type": "markdown",
528487
"metadata": {},

0 commit comments

Comments
 (0)