mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-29 21:50:35 +08:00
Module documentation: switch to Markdown
This commit is contained in:
@@ -44,7 +44,10 @@ pthread_mutex_t px4_modules_mutex = PTHREAD_MUTEX_INITIALIZER;
|
||||
|
||||
void PRINT_MODULE_DESCRIPTION(const char *description)
|
||||
{
|
||||
printf("%s\n", description);
|
||||
// TODO: the output could be improved by:
|
||||
// - mark titles in bold (lines starting with ##)
|
||||
// - highlight commands (lines starting with $, or `cmd`)
|
||||
printf("%s\n\n", description);
|
||||
}
|
||||
|
||||
#endif /* __PX4_NUTTX */
|
||||
|
||||
Reference in New Issue
Block a user