Skip to content

Move inline code snippets to code blocks #8462

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

Merged
merged 3 commits into from
Oct 19, 2018
Merged

Move inline code snippets to code blocks #8462

merged 3 commits into from
Oct 19, 2018

Conversation

kegilbert
Copy link
Contributor

Description

Moving this small code snippet into a code block allows the doxy spell checker to work better (the extra asterisks and function calls were causing issues). It does however make the raw header look a bit uglier.

Thoughts (new generated doxy below)?

image

Pull request type

[ ] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[X] Docs update
[ ] Test update
[ ] Breaking change

@kegilbert kegilbert requested review from cmonr and geky October 17, 2018 22:29
Copy link
Contributor

@cmonr cmonr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reword sentence please.

* DIR *d = opendir("/example");
* @endcode
* to open the root of the filesystem and then using readdir,
* closedir, etc with the directory pointer.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duno why, but this sentence feels like a both a run-on sentence, and like it's worded weirdly.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah sort of choppily rewrote that segment, one second.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this referring to the FileSystem class or any file system? If the latter, we should make it two words.

@cmonr
Copy link
Contributor

cmonr commented Oct 18, 2018

Removing from rollup due to merge check uncertainty.

@cmonr cmonr removed the rollup PR label Oct 18, 2018
@kegilbert kegilbert force-pushed the kegilbert-patch-6-1 branch from da5b09e to 7d604fe Compare October 18, 2018 03:42
@kegilbert
Copy link
Contributor Author

@cmonr updated to make it flow a bit better. Just removed the segment about using readdir following the opendir call. @geky would you like that part back?

Edit for active voice.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants