From 1fc4d968a4c6e6ce3b240d6d0f9e07daef1e802a Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 6 Jan 2024 14:10:34 +0100 Subject: [PATCH] Use a different code template for the remaining list. --- tools/doc/code_remaining_template.md.html | 8 ++++++++ tools/doc/main.cpp | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 tools/doc/code_remaining_template.md.html diff --git a/tools/doc/code_remaining_template.md.html b/tools/doc/code_remaining_template.md.html new file mode 100644 index 0000000..53bf802 --- /dev/null +++ b/tools/doc/code_remaining_template.md.html @@ -0,0 +1,8 @@ + +$NAME$ +---------------------------------------------------------------------------------------- + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ +$CODE$ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + diff --git a/tools/doc/main.cpp b/tools/doc/main.cpp index 462aed6..983f329 100644 --- a/tools/doc/main.cpp +++ b/tools/doc/main.cpp @@ -51,7 +51,7 @@ bool is_structure_template_specialization_or_parent_is_template(const String &da String generate_section_class_list(const List &list, const String &cls_prefix, const HashSet &used_keywords) { FileAccess f; - String code_template = f.read_file("code_template.md.html"); + String code_template = f.read_file("code_remaining_template.md.html"); String d; for (const List::Element *E = list.front(); E; E = E->next()) {