docs(source code): fix examples end alias (#2921)

This commit is contained in:
ReenigneArcher
2024-07-26 10:35:39 -04:00
committed by GitHub
parent 369158375f
commit 4afa0ee258

View File

@@ -44,11 +44,11 @@ of a documentation block for the main function.
* @return The exit code. * @return The exit code.
* @examples * @examples
* main(1, const char* args[] = {"hello", "markdown", nullptr}); * main(1, const char* args[] = {"hello", "markdown", nullptr});
* @end_examples * @examples_end
*/ */
int main(int argc, char *argv[]); int main(int argc, char *argv[]);
.. attention:: The `@examples` and `@end_examples` tags are not standard Doxygen tags. They are custom aliases .. attention:: The `@examples` and `@examples_end` tags are not standard Doxygen tags. They are custom aliases
we have specified to simplify documenting examples. Do not confuse this with the standard `@example` tag. we have specified to simplify documenting examples. Do not confuse this with the standard `@example` tag.
In some cases, it could be valuable to have slightly different documentation for the definitions, especially when In some cases, it could be valuable to have slightly different documentation for the definitions, especially when