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

DM-10146 Fix minor doc typos #8

Merged
merged 5 commits into from Apr 18, 2017
Merged

DM-10146 Fix minor doc typos #8

merged 5 commits into from Apr 18, 2017

Conversation

r-owen
Copy link
Contributor

@r-owen r-owen commented Apr 13, 2017

No description provided.

Add missing information about what happens to existing frame
indices. I copied the AST manual, which doesn't say much,
but it's better than nothing.
@@ -409,7 +409,10 @@ friend class Object;
};

/**
Remove a @ref Frame Frame from a @ref FrameSet
Remove a @ref Frame Frame from a @ref FrameSet.
Copy link
Member

Choose a reason for hiding this comment

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

These @ref tags are redundant.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for spotting this. I changed @ref Frame Frame to @ref Frame in the only two places I found it. I would dearly love to get rid of all unnecessary @ref tags, which I think means all those that do not specify alternate text for the link, such as @ref Frame "Frames". However, I have not thought of a suitable grep expression or script. Suggestions welcome.

Copy link
Member

Choose a reason for hiding this comment

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

I suspect the vast majority of @ref tags are unnecessary, so just searching for all of them might be faster than devising a script.

I assume you left the @ref here for forward-compatibility with such a script?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Basically that's the case. I left it in for consistency with the rest of the documentation.

I agree that links such as @ref Frame "Frames" could probably be changed to Frames with little harm done. However, references to properties and other sorts of anchors really do benefit from having the link text specified, and there are a lot of those. Furthermore, any link that specifies link text needs more than just deleting @ref, since doing that would leave the a word followed by the desired link text behind.

Copy link
Member

@kfindeisen kfindeisen left a comment

Choose a reason for hiding this comment

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

Looks good. One minor comment about the use of @ref.

Use `@anchor` instead of `@subsection` worked. Fortunately,
since the Doxygen manual has this warning about `@anchor`:
"Anchors can currently only be put into a comment block
that is marked as a page")
@r-owen
Copy link
Contributor Author

r-owen commented Apr 13, 2017

Thanks for catching the redundant use of "Frame". I fixed that and found and fixed two other minor issues:

  • Make FrameSet::BASE and FrameSet::CURRENT links by removing back ticks.
  • In PolyMap fix links to the description of matrix coefficients (and eliminate a Doxygen warning) by using @anchor instead of @subsection to identify that section.

@r-owen r-owen merged commit ea907c3 into master Apr 18, 2017
@ktlim ktlim deleted the tickets/DM-10146 branch August 25, 2018 04:28
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.

None yet

2 participants