trixi-framework / Trixi.jl

Trixi.jl: Adaptive high-order numerical simulations of conservation laws in Julia
https://trixi-framework.github.io/Trixi.jl
MIT License
527 stars 104 forks source link

Add preprocessing step to automate numbering in tutorial introduction #1901

Closed bennibolm closed 5 months ago

bennibolm commented 5 months ago

Right now, when someone wants to add a new tutorial, he has to update all following numbers within the introduction. This is done for instance in this PR.

The new preprocessing step automates the numbering.

github-actions[bot] commented 5 months ago

Review checklist

This checklist is meant to assist creators of PRs (to let them know what reviewers will typically look for) and reviewers (to guide them in a structured review process). Items do not need to be checked explicitly for a PR to be eligible for merging.

Purpose and scope

Code quality

Documentation

Testing

Performance

Verification

Created with :heart: by the Trixi.jl community.

bennibolm commented 5 months ago

I don't really know if this change is wanted but for me, it was annoying to update all the numbers when adding a new tutorial. Also, the numbering within the tutorials is automatic as well using the preprocessing step from here.

bennibolm commented 5 months ago

Oh, just realized (again) that auto-merge doesn't work here. Please be so nice and merge it @sloede :smile: