JuliaDocs / DemoCards.jl

Let's focus on writing demos
MIT License
66 stars 14 forks source link

optionally disable jupyter generation #92

Closed johnnychen94 closed 3 years ago

johnnychen94 commented 3 years ago

Currently, the same script is executed three times, which is not efficient especially when it comes with a lot of demos:

This issue plans to add a new keyword "notebook" to optionally disable jupyter notebook generation. I have plans to disable the assets generation as well, but I need to play with it first as it is deeply involved with the DemoCards design.

The jupyter notebook feature is perhaps not as attractive as I originally thought when I wrote this package.

This configuration needs to

As an example:

examples/
├── color_channels
│   ├── config.json
│   ├── color_separations_svd.jl
│   ├── indexed_image.jl
│   ├── rgb_grayscale.jl
│   └── rgb_hsv_thresholding.jl
├── config.json
├── index.md
└── visualization
    └── block_visualization.jl

keywords for these will be case insensitive full match:


Example

For page/section:

{
    "notebook": "no",
}

For card:

---
notebook: no
---