Inline Lessons¶
The overall proccess looks like this
Create project folder
cdinto the the project folderOpen a
curriculum.ipynbjupyter notebookCreate lesson using solution tags
Save the curriculum notebook
run
ds create --inlinePush repository to github
Copy link to the top level
index.ipynbfile on github.run
ds share <github link>A student link is added to your clipboard. Then you share it!
To make new edits to a lesson after running ds create --inline
run
ds editOpen the
curriculum.ipynbnotebookMake edits in curriculum notebook
Save notebook
run
ds create --inline
Lesson Structure¶
This toolkit uses the following directory structure for all lessons:
lesson-directory
|
index.ipynb
curriculum.ipynb
data
|
lesson_data.csv
.solution_files
|
index.ipynb
.test_obj
|
pickled_test.pkl
The top level
index.ipynbfile contains all student facing materials.The top level ``curriculum.ipynb` file is where all curriculum materials are created.
The data/ folder is not required, but tends to be best practice for most data science projects.
The
.solution_fileshidden folder stores the solution content.The
.solution_files/index.ipynbfile is the notebook containing all solution code and markdown.The
.test_objfolder contains all pickled test objects. See Creating Tests