Skip to content

Add literate.jl tutorial infrastructure#415

Closed
kdayday wants to merge 2 commits into
mainfrom
kd/literate
Closed

Add literate.jl tutorial infrastructure#415
kdayday wants to merge 2 commits into
mainfrom
kd/literate

Conversation

@kdayday

@kdayday kdayday commented Feb 5, 2026

Copy link
Copy Markdown
Contributor

Adds the tutorial processing infrastructure documented in Sienna-Platform/PowerAnalytics.jl#51, though not currently in use since PSD is not in Diataxis format

Comment thread docs/make_tutorials.jl
out = String[]
i = 1
n = length(lines)
admonition_start = r"^# !!! (note|info|tip|warning|danger|compat|todo|details)(?:\s+\"([^\"]*)\")?\s*$"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
admonition_start = r"^# !!! (note|info|tip|warning|danger|compat|todo|details)(?:\s+\"([^\"]*)\")?\s*$"
admonition_start =
r"^# !!! (note|info|tip|warning|danger|compat|todo|details)(?:\s+\"([^\"]*)\")?\s*$"

Comment thread docs/make_tutorials.jl
credit = false,
execute = false,
preprocess = preprocess_admonitions_for_notebook,
postprocess = nb -> add_image_links(add_pkg_status_to_notebook(nb), outputfile))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
postprocess = nb -> add_image_links(add_pkg_status_to_notebook(nb), outputfile))
postprocess = nb ->
add_image_links(add_pkg_status_to_notebook(nb), outputfile))

@kdayday kdayday marked this pull request as draft February 10, 2026 21:03
@kdayday

kdayday commented Apr 22, 2026

Copy link
Copy Markdown
Contributor Author

Duplicate #419

@kdayday kdayday closed this Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant