-
8000
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
doc/porting-boards: Change example doc.txt to doc.md #21257
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
Conversation
I wonder if it would make sense to add a remark about For example: https://github.com/aabadie/riot-generator/blob/main/riotgen/templates/board/doc.txt.j2 |
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.
Thanks, looks good!
I'd rather have |
we need see #21255. |
I created a PR for this: aabadie/riot-generator#18 @kfessel I know, that's why I added "depends on 21255" in the decription above :) |
The changes to |
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.
Please squash :)
b2748b9
to
cb0c45b
Compare
Thanks everyone for working with me to get this done :) |
New riotgen version just published to PyPI: https://pypi.org/project/riotgen/0.11.0/ |
Thank you for addressing this so quickly :) |
Contribution description
As proposed by kfessel in #21220, the best approach to update the
doc.txt
files with and without broken comment blocks is to convert them to Markdown files to eliminate the code blocks.This PR updates the documentation in the
Porting Boards
tutorial and adds a small remark about the change to avoid confusion why existing confusion has a different format.Also I added the syntax highlighting option, which Doxygen does not seem to render but GitHub does.
markdown
is not recognized by Doxygen either.Current State:

With this PR in Doxygen:

With this PR in GitHub:

Testing procedure
Generate the documentation and check that everything looks as it should.
Issues/PRs references
This replaces #21252 and depends on #21255.