Documentation fixes by tiennou · Pull Request #3980 · libgit2/libgit2 · GitHub
Skip to content

Documentation fixes#3980

Merged
carlosmn merged 4 commits into
libgit2:masterfrom
tiennou:doc-fixes
Dec 20, 2016
Merged

Documentation fixes#3980
carlosmn merged 4 commits into
libgit2:masterfrom
tiennou:doc-fixes

Conversation

@tiennou

@tiennou tiennou commented Nov 1, 2016

Copy link
Copy Markdown
Contributor

Note: 8149b17 removes git_remote_rename_problem_cb. Not sure when it stopped being used though.

@pks-t pks-t left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice findings. Looks all good besides the missing @defgroup argument.

Comment thread include/git2/transaction.h Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This should be @defgroup git_transaction Git transaction routines instead. Please also remove the trailing dots from @brief and @defgroup.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We don't actually use these blocks for anything with our current documentation generator, so it should just go away.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I was trying to make docurium document those functions. Wasn't sure if the group being defined was a prerequisite, but I'll take them out then.

@pks-t

pks-t commented Nov 1, 2016

Copy link
Copy Markdown
Member

Oh, one more thing. Could you maybe clarify the commit messages a bit by prefixing them with the module they're touching primaily, please? E.g. "remote: fix indentation".

Thanks for your work 👍

Comment thread include/git2/transaction.h Outdated
/**
* @file git2/transaction.h
* @brief Git transaction routines.
* @defgroup Git transaction routines.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We don't actually use these blocks for anything with our current documentation generator, so it should just go away.

Comment thread include/git2/describe.h
/**
* An opaque struct that stores the result of a describe operation.
*/
typedef struct git_describe_result git_describe_result;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The opaqueness is not something we need to specify in the text.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Will fix.

@tiennou

tiennou commented Nov 1, 2016

Copy link
Copy Markdown
Contributor Author

@carlosmn carlosmn merged commit 75db289 into libgit2:master Dec 20, 2016
@tiennou tiennou deleted the doc-fixes branch June 24, 2018 22:03
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.

3 participants