File tree Expand file tree Collapse file tree 2 files changed +26
-14
lines changed
Expand file tree Collapse file tree 2 files changed +26
-14
lines changed Original file line number Diff line number Diff line change 11{
22 "cells" : [
3+ {
4+ "cell_type" : " raw" ,
5+ "metadata" : {},
6+ "source" : [
7+ " ---\n " ,
8+ " title: core\n " ,
9+ " output-file: core.html\n " ,
10+ " description: Fill in a module description here\n " ,
11+ " ---"
12+ ]
13+ },
314 {
415 "cell_type" : " code" ,
516 "execution_count" : null ,
1021 ]
1122 },
1223 {
13- "cell_type" : " markdown" ,
24+ "cell_type" : " code" ,
25+ "execution_count" : null ,
1426 "metadata" : {},
27+ "outputs" : [],
1528 "source" : [
16- " # module name here\n " ,
17- " \n " ,
18- " > API details."
29+ " #| hide\n " ,
30+ " from nbdev.showdoc import *"
1931 ]
2032 },
2133 {
2436 "metadata" : {},
2537 "outputs" : [],
2638 "source" : [
27- " #|hide \n " ,
28- " from nbdev.showdoc import * "
39+ " #| export \n " ,
40+ " def foo(): pass "
2941 ]
3042 },
3143 {
3446 "metadata" : {},
3547 "outputs" : [],
3648 "source" : [
37- " #|export \n " ,
38- " def foo(): pass "
49+ " #| hide \n " ,
50+ " import nbdev; nbdev.nbdev_export() "
3951 ]
4052 }
4153 ],
Original file line number Diff line number Diff line change 66 "metadata" : {},
77 "outputs" : [],
88 "source" : [
9- " #|hide\n " ,
10- " from your_lib .core import *"
9+ " #| hide\n " ,
10+ " from {{lib_path}} .core import *"
1111 ]
1212 },
1313 {
1414 "cell_type" : " markdown" ,
1515 "metadata" : {},
1616 "source" : [
17- " # Project name here \n " ,
17+ " # {{repo}} \n " ,
1818 " \n " ,
19- " > Summary description here. "
19+ " > {{ description}} "
2020 ]
2121 },
2222 {
3838 "metadata" : {},
3939 "source" : [
4040 " ```sh\n " ,
41- " pip install your_project_name \n " ,
41+ " pip install {{lib_path}} \n " ,
4242 " ```"
4343 ]
4444 },
8686 ],
8787 "metadata" : {
8888 "kernelspec" : {
89- "display_name" : " Python 3.9.7 ('base' )" ,
89+ "display_name" : " Python 3 (ipykernel )" ,
9090 "language" : " python" ,
9191 "name" : " python3"
9292 }
You can’t perform that action at this time.
0 commit comments