Clean
Notebook clean functionality was ported from nbdev clean using jdawg
You can manually invoke cleanup using deno task clean
. Build command automatically runs clean and there are additional checks in the CI pipeline to make sure you keep your notebooks tidy.
The main functionality for this module is implemented in cleanNotebook
which is invoked from the clean
Deno task
cleanNotebook
typescript
const cleanNotebook = (nbPath: string, clearAll: any, allowedMetadataKeys: string[], allowedCellMetadataKeys: string[], cleanIds: any) => Promise<void>