0
0
mirror of https://github.com/thegeeklab/corenetworks.git synced 2024-11-22 07:20:39 +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/ baseURL: https://corenetworks.geekdocs.de/
title: corenetworks title: corenetworks
theme: hugo-geekdoc theme: hugo-geekdoc
pygmentsUseClasses: true
pygmentsCodeFences: true
# Geekdoc configuration
disablePathToLower: true disablePathToLower: true
enableGitInfo: true enableGitInfo: true
# Needed for mermaid/katex shortcodes
markup: markup:
defaultMarkdownHandler: goldmark
goldmark: goldmark:
renderer: renderer:
unsafe: true unsafe: true
tableOfContents: tableOfContents:
startLevel: 1 startLevel: 1
endLevel: 9
params: params:
geekdocMenuBundle: true geekdocMenuBundle: true
@ -29,3 +27,5 @@ params:
geekdocLegalNotice: https://geeklabor.de/legal-notice/#impressum geekdocLegalNotice: https://geeklabor.de/legal-notice/#impressum
geekdocPrivacyPolicy: https://geeklabor.de/legal-notice/#datenschutzerkl%C3%A4rung 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 '' returns = show_type_annotations and func.return_annotation() or ''
if returns: if returns:
returns = ' -> ' + 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} ${func.docstring | to_markdown}
</%def> </%def>