docs: Further improvements to the tutorial to add a language #597

Merged
wetneb merged 2 commits from doc_updates into main 2025-09-30 14:21:52 +02:00
Owner
  • Adds some documentation for the newly-introduced language profile fields
  • Splits the tutorial into multiple pages to make it more digestible
* Adds some documentation for the newly-introduced language profile fields * Splits the tutorial into multiple pages to make it more digestible
To be completed by a documentation of the bundling heuristics.
doc: Split tutorial into multiple pages
All checks were successful
/ test (pull_request) Successful in 38s
0095427bb0
Gives the file structure a bit more.. structure
Remove duplicate section
All checks were successful
/ test (pull_request) Successful in 40s
491402cb39
"Getting started" is the same file as "Adding a new language" -- we
should keep only of those. I went with the latter, because we need some
contents for the main tutorial page
Owner

I wanted to make some suggestions, but thought I might as well turn them into commits... Let me know what you think about them

I wanted to make some suggestions, but thought I might as well turn them into commits... Let me know what you think about them
Author
Owner

Thank you!

One downside I see with creating a directory is that we're breaking the link to the existing tutorial. If we want to go down that route, it would be good to set a redirect for it. I couldn't find a feature for this in mdbook sadly.

Thank you! One downside I see with creating a directory is that we're breaking the link to the existing tutorial. If we want to go down that route, it would be good to set a redirect for it. I couldn't find a feature for this in mdbook sadly.
Owner

One downside I see with creating a directory is that we're breaking the link to the existing tutorial.

Oh, you're totally right! I think a way around that would be to keep the original adding-a-language.md file where it was, and only add its subpages into the directory -- kind of similar to Rust's module system^^

> One downside I see with creating a directory is that we're breaking the link to the existing tutorial. Oh, you're totally right! I think a way around that would be to keep the original `adding-a-language.md` file where it was, and only add its subpages into the directory -- kind of similar to Rust's module system^^
ada4a force-pushed doc_updates from 491402cb39 to 78a8411d88 2025-09-17 15:50:36 +02:00 Compare
Author
Owner

Works for me!

Works for me!
wetneb merged commit 12836a7080 into main 2025-09-30 14:21:52 +02:00
ada4a deleted branch doc_updates 2025-09-30 14:23:17 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: mergiraf/mergiraf#597
No description provided.