Sync doc conf
This commit is contained in:
parent
6a9ece4536
commit
6fccc9eec0
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ def autodoc_post_process_docstring(app, what, name, obj, options, lines):
|
||||||
doc = re.sub(r"```", "", doc, flags=re.MULTILINE)
|
doc = re.sub(r"```", "", doc, flags=re.MULTILINE)
|
||||||
doc = re.sub(r"`{1}", "**", doc, flags=re.MULTILINE)
|
doc = re.sub(r"`{1}", "**", doc, flags=re.MULTILINE)
|
||||||
doc = re.sub(
|
doc = re.sub(
|
||||||
r"^(?P<hashes>#{1,2})\s*?(?P<title>.*?)$", _sub_header, doc, flags=re.MULTILINE
|
r"^(?P<hashes>#{1,4})\s*?(?P<title>.*?)$", _sub_header, doc, flags=re.MULTILINE
|
||||||
)
|
)
|
||||||
|
|
||||||
newlines = doc.split("\n")
|
newlines = doc.split("\n")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue