forked from mirrors/thatmattlove-hyperglass
📝 Add missing docstring
This commit is contained in:
parent
8de58c2e3e
commit
a52d350f4f
1 changed files with 6 additions and 0 deletions
|
|
@ -108,6 +108,12 @@ interpret traceroute results, [click here]\
|
|||
|
||||
|
||||
def generate_markdown(section, file_name):
|
||||
"""
|
||||
Renders markdown as HTML. If file_name exists in appropriate
|
||||
directory, it will be imported and used. If not, the default values
|
||||
will be used. Also renders the Front Matter values within each
|
||||
template.
|
||||
"""
|
||||
if section == "info":
|
||||
file = working_directory.joinpath(f"templates/info/{file_name}.md")
|
||||
defaults = default_info
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue