mirror of
https://github.com/thegeeklab/corenetworks.git
synced 2024-11-21 21:20:38 +00:00
temp. fix broken headlines
This commit is contained in:
parent
5bd4f131e9
commit
bf0b307940
@ -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
|
||||
|
4
docs/templates/text.mako
vendored
4
docs/templates/text.mako
vendored
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user