diff --git a/src/pylingdocs/data/format_templates/mkdocs/basic/{{cookiecutter.name}}/docs/.pages b/src/pylingdocs/data/format_templates/mkdocs/basic/{{cookiecutter.name}}/docs/.pages index e198e28..6fa63b9 100644 --- a/src/pylingdocs/data/format_templates/mkdocs/basic/{{cookiecutter.name}}/docs/.pages +++ b/src/pylingdocs/data/format_templates/mkdocs/basic/{{cookiecutter.name}}/docs/.pages @@ -4,6 +4,7 @@ - '{{ chapter }}.md'{% endfor %} - 'references.md'{% if cookiecutter.data %} - Data: data{% endif %} + - Index: index {%else%} nav: - index.md diff --git a/src/pylingdocs/data/model_templates/latex_util.md b/src/pylingdocs/data/model_templates/latex_util.md index f7fcace..83e010f 100644 --- a/src/pylingdocs/data/model_templates/latex_util.md +++ b/src/pylingdocs/data/model_templates/latex_util.md @@ -61,3 +61,7 @@ personal knowledge {% if format=="subexample" %}{%else%} \xe{%endif%} {%- endmacro %} + +{% macro link(item, anchor=None, html=False, preferred="Name") %} +{{get_label(item, preferred=preferred)}} +{%- endmacro %} \ No newline at end of file diff --git a/src/pylingdocs/output.py b/src/pylingdocs/output.py index 2021d98..a4d9f6c 100644 --- a/src/pylingdocs/output.py +++ b/src/pylingdocs/output.py @@ -274,7 +274,7 @@ def write_details(builder, output_dir, dataset, content): # loader=text_loader, # func_dict=func_dict, # ) - delim = "\nDATA_DELIM\n" + delim = "DATA-DELIM" if name != "constructions.csv": details = { rid: d