-
Notifications
You must be signed in to change notification settings - Fork 124
Add generated docs check and generated headers target, and remove FIREBASE_NAMESPACE macro. #499
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
Conversation
(required removing FIREBASE_NAMESPACE.)
✅ Integration test succeeded!Requested by @jonsimantov on commit b0a9062 |
…EBASE_NAMESPACE macro. (#499) Run Doxygen as part of the common PR checks. This will fail if Doxygen returns any errors or warnings. This could include missing or misspelled parameters, missing method documentation, or other issues. Because we don't perform a full header scrub here, the Doxygen config file uses _sed_ to remove everything between `<SWIG>` and `</SWIG>`. We could potentially perform a second pass with SWIG enabled, or do this in the Unity repo in the future, to check C# documentation. This PR also fixes some of those same issues present in our build right now, including a few missing method docs in Firestore, a missing parameter in Database, and bad cross-references in a few different places, including all references to App and Future, which were failing due to the FIREBASE_NAMESPACE macro which is no longer needed. _This PR removes all usages of the FIREBASE_NAMESPACE macro._ Note that because we also run Doxygen on some generated headers, this PR includes a new CMake target to build those headers without building the entire build. Any future generated headers should be added to that target. This PR also contains a small change to print the list of files requiring code formatting directly to the GitHub workflow log.
|
||
namespace firebase { | ||
namespace internal { | ||
class VariantInternal; | ||
} | ||
} // namespace firebase | ||
|
||
namespace FIREBASE_NAMESPACE { | ||
namespace firebase { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a test comment.
} \ | ||
classname& operator=(firebase::internal::JObjectReference&& rhs) { \ | ||
firebase::internal::JObjectReference::operator=(rhs); \ | ||
return *this; \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a second comment.
Run Doxygen as part of the common PR checks.
This will fail if Doxygen returns any errors or warnings. This could include missing or misspelled parameters, missing method documentation, or other issues.
Because we don't perform a full header scrub here, the Doxygen config file uses sed to remove everything between
<SWIG>
and</SWIG>
. We could potentially perform a second pass with SWIG enabled, or do this in the Unity repo in the future, to check C# documentation.This PR also fixes some of those same issues present in our build right now, including a few missing method docs in Firestore, a missing parameter in Database, and bad cross-references in a few different places, including all references to App and Future, which were failing due to the FIREBASE_NAMESPACE macro which is no longer needed. This PR removes all usages of the FIREBASE_NAMESPACE macro.
Note that because we also run Doxygen on some generated headers, this PR includes a new CMake target to build those headers without building the entire build. Any future generated headers should be added to that target.
This PR also contains a small change to print the list of files requiring code formatting directly to the GitHub workflow log.