0
0
mirror of https://github.com/thegeeklab/corenetworks.git synced 2024-11-13 00:10:42 +00:00

temp. fix broken headlines

This commit is contained in:
Robert Kaussow 2020-04-15 09:01:55 +02:00
parent 5bd4f131e9
commit bf0b307940
2 changed files with 7 additions and 5 deletions

View File

@ -2,20 +2,18 @@
baseURL: https://corenetworks.geekdocs.de/
title: corenetworks
theme: hugo-geekdoc
pygmentsUseClasses: true
pygmentsCodeFences: true
# Geekdoc configuration
disablePathToLower: true
enableGitInfo: true
# Needed for mermaid/katex shortcodes
markup:
defaultMarkdownHandler: goldmark
goldmark:
renderer:
unsafe: true
tableOfContents:
startLevel: 1
endLevel: 9
params:
geekdocMenuBundle: true
@ -29,3 +27,5 @@ params:
geekdocLegalNotice: https://geeklabor.de/legal-notice/#impressum
geekdocPrivacyPolicy: https://geeklabor.de/legal-notice/#datenschutzerkl%C3%A4rung
geekdocAnchorLeft: true

View File

@ -66,8 +66,10 @@
returns = show_type_annotations and func.return_annotation() or ''
if returns:
returns = ' -> ' + returns
params = [x.replace("{}", "{ }") for x in func.params(annotate=show_type_annotations)]
%>
${h3("`method " + func.name + "(" + ", ".join(func.params(annotate=show_type_annotations)) + ")" + returns + "`")}
${h3("`method " + func.name + "(" + ", ".join(params) + ")" + returns + "`")}
${func.docstring | to_markdown}
</%def>