FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

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

Repository navigation

Documentation fixes - #3980

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

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

Conversation

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 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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 commented Nov 1, 2016 •
edited
Loading

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Will fix.

tiennou commented Nov 1, 2016

Copy link
Copy Markdown
Contributor Author

Patch series redone from scratch.

docurium is giving me a hard time tough, as some things are left out of the parsing (eg. the whole of transaction.h, and things like git_branch_remote_name don't appear in the docs). Using the debug-heavy version I have here, it seems that clang sometimes misinterprets comments in some cases (eg, I get lots of :comment_null).

carlosmn merged commit 75db289 into libgit2:master Dec 20, 2016
tiennou deleted the doc-fixes branch June 24, 2018 22:03
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL