doc/guides: improve guides and many small fixes#21730
Conversation
There was a problem hiding this comment.
Lasse asked me to give my opinions here so I might as well 😉 Everything builds fine and this is definitely a good change, the previous iteration over relied on screenshots, partly because it was written while working on argon and we didnt have syntax highlighting yet. That would have also made the guides really annoying to update I mean, there were already like 3 different vscode themes in the screenshots by now
|
I addressed your feedback :) Thank you @AnnsAnns! |
|
Very epic ty, now its time for the real reviewers to find 500 whitespaces 😛 |
I was very cautious not to accidentally reformat :D But we maybe should format those files eventually, my linter paints everything in orange haha |
Not 500, but more than 100: The indentation of the C-Code is incorrect. RIOT uses four spaces instead of two per indentation level. |
😱😱😱😱😱 |
|
Okay I have now reformatted the examples and also fixed the formatting in the code blocks in these guides. |
|
Okay while fixing some things I noticed that also heading levels were broken in many files. So in starlight you already have a level one heading from the frontmatter. So Having multiple level one headings also has negative side effects. Because for the outline on the right side of the page level one headings are ignored, which made the outline extremely confusing in many pages. I fixed it everywhere under /doc/guides. |
|
I am now done doing more changes and ready for another review :) |
57e1cee to
b7a84b2
Compare
|
Okay I merged my other newer PRs into this one and rebased everything. This is now again ready for review :) |
0277ea6 to
77af9f6
Compare
77af9f6 to
f5b8144
Compare
|
Squashed :) |
AnnsAnns
left a comment
There was a problem hiding this comment.
Thank you for the (honestly far more than I expected) improvements to everything guide related. This PR is seriously cool 🐸 🎉
| src/io-mapping-and-shields.md \ | ||
| src/changelog.md \ | ||
| ../../LOSTANDFOUND.md \ | ||
| src/LOSTANDFOUND.md \ |
There was a problem hiding this comment.
| src/LOSTANDFOUND.md \ | |
| src/LOSTANDFOUND-deprecated.md \ |
This feels like nitpicking but why are the other ones called "title"-deprecated and this one is just "title"
(ofc requires the file to be renamed too)
There was a problem hiding this comment.
I called some files -deprecated because the old file still also exists. Usually we don't call them deprecated.
I just in this case needed to have some suffix, because we still copy the files from other places over to generate the man page and latex target.
I still have no idea if anyone needs this and I am happy to totally remove those files from there also, but for now I just decided not to touch it.
AnnsAnns
left a comment
There was a problem hiding this comment.
You have my approval boss man 🫡
Contribution description