-
Notifications
You must be signed in to change notification settings - Fork 2.1k
doc/guides: improve guides and many small fixes #21730
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
doc/guides: improve guides and many small fixes #21730
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 :) |
crasbe
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, please squash :)
0277ea6 to
77af9f6
Compare
77af9f6 to
f5b8144
Compare
|
Squashed :) |
AnnsAnns
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good enough for me 👍
AnnsAnns
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have my approval boss man 🫡
Contribution description