-
-
Notifications
You must be signed in to change notification settings - Fork 534
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
[Docs] Automate API documentation #5607
Comments
Could we use the If we don't want the user to use those public methods anyway, we could hide them, so someone who does not know about their existence, will not use them. |
All public members that should be used are already marked as Parameter Attribute. Methods are a bit different, so we need to find another way. I would not add more attributes for now. |
I see, what do we have more of? public methods that are internal Blazorise use only? or public methods that are for users only? we could use a custom xml element for marking our methods /// <summary>
/// Some method description
/// </summary>
/// <blazorise-internal/>
public void SomeMethod(); |
how about critical? |
My idea is to have a comment convention that indicates the method is only for internal use. Then, we can just filter out those.
This way, we know what to filter, and the user knows that if they use it, it may not work as expected, because the same comment can show up in IntelliSense. |
Not a priority. However, we could investigate how to generate API documentation for each component. We could use XML comments for all needed information
One problem I see with automation is that we don't know which public methods must be mentioned and which not. Not all public methods should be used by the user. We might add an additional comment to them, like "Should be used only internally", and then skip those.
The text was updated successfully, but these errors were encountered: