Skip to content
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

Minor Comment Fixes #3196

Merged

Conversation

InsertCreativityHere
Copy link
Member

The main point of this PR was to fix our usage of asymmetric quotations like `hello' in our Slice files.
These seem to confuse Doxygen, which thinks that they are un-closed code-blocks.
I wrote more about this on my blog, but these need to be removed before we can switch to triple-slash style doc-comments.

While reviewing the generated code, I also stumbled across a couple of things that I fixed in this PR too.

  • Sometimes we'd accidentally add an extra space in between things
  • Sometimes we'd forget to conjugate the word Represent

@@ -113,7 +113,7 @@ module Ice
}

/// This interface should be implemented by services implementing the <code>Ice::Locator interface</code>. It should
/// be advertised through an Ice object with the identity <code>`Ice/LocatorFinder'</code>. This allows clients to
/// be advertised through an Ice object with the identity <code>'Ice/LocatorFinder'</code>. This allows clients to
Copy link
Member

Choose a reason for hiding this comment

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

Which syntax should be use in doc-comments to insert a string as is? <code>text</code> or back ticks?

Copy link
Member Author

Choose a reason for hiding this comment

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

Doxygen seems to support both HTML <code> tags and Markdown backticks:
https://www.doxygen.nl/manual/htmlcmds.html
https://www.doxygen.nl/manual/markdown.html#md_codespan

I'm not sure if there's some subtle difference between them, but obviously we should prefer backticks over xml tags if there's no difference.

@InsertCreativityHere InsertCreativityHere merged commit 8ea1dd2 into zeroc-ice:main Nov 26, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants