Skip to content
Snippets Groups Projects
Commit 782ed5d3 authored by Beat Küng's avatar Beat Küng Committed by Daniel Agar
Browse files

modules documentation script: add anchor for '### Usage' sections

So that they are unique.
parent c7dfd2d1
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment