diff --git a/hyperglass/render/__init__.py b/hyperglass/render/__init__.py index 0a6e0b3..adc20d1 100644 --- a/hyperglass/render/__init__.py +++ b/hyperglass/render/__init__.py @@ -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