mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
modules documentation script: add anchor for '### Usage' sections
So that they are unique.
This commit is contained in:
@@ -52,7 +52,7 @@ The generated files will be written to the `modules` directory.
|
||||
result += "%s\n" % doc
|
||||
usage_string = module.usage_string()
|
||||
if len(usage_string) > 0:
|
||||
result += "### Usage\n```\n%s\n```\n" % usage_string
|
||||
result += "### Usage {#%s_usage}\n```\n%s\n```\n" % (module.name(), usage_string)
|
||||
|
||||
self._outputs[category] = result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user