Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better example naming #6

Closed
PabRod opened this issue Mar 5, 2024 · 0 comments
Closed

Better example naming #6

PabRod opened this issue Mar 5, 2024 · 0 comments

Comments

@PabRod
Copy link
Contributor

PabRod commented Mar 5, 2024

Problem

The example names are not very transparent.

Solution

Give them descriptive names, such as:

Example1.jl -> 01-Logistic.jl

Notes

This will require a modification in make_examples.jl:

using Literate
using Glob

cd("examples")

#files = glob("Example*jl")
files = glob(*.jl)

for f in files
    println("MD for $(f)")
    Literate.markdown(
        f ;
        flavor = Literate.CommonMarkFlavor(),
        codefence = "```julia" => "```",
    )
    println("NB for $(f)")
    Literate.notebook(f ; execute = false)
end
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

No branches or pull requests

1 participant