From 01b6bff7e9bc751be20ce7bb68e7ebe3037441de Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Thu, 2 May 2024 15:57:21 +0200 Subject: docs: news Set dev_xx.txt help files to use "flow" layout. --- scripts/cliff.toml | 14 ++++++++------ scripts/gen_help_html.lua | 5 +++++ 2 files changed, 13 insertions(+), 6 deletions(-) (limited to 'scripts') diff --git a/scripts/cliff.toml b/scripts/cliff.toml index ac060b7796..ead7d2b821 100644 --- a/scripts/cliff.toml +++ b/scripts/cliff.toml @@ -4,27 +4,29 @@ # changelog header header = """ # Changelog\n -All notable changes to this project will be documented in this file.\n +For notable changes, see runtime/doc/news.txt (or `:help news` in Nvim).\n +Following is a list of fixes/features commits.\n """ # template for the changelog body # https://github.com/Keats/tera # https://keats.github.io/tera/docs/ body = """ {% if version %}\ - ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} + # [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} {% else %}\ - ## [unreleased] + # [unreleased] {% endif %}\ {% for group, commits in commits | group_by(attribute="group") %} - ### {{ group | striptags | upper_first }} + {{ group | striptags | upper_first }} + -------------------------------------------------------------------------------- {% for commit in commits | sort(attribute="message")%}\ {% if not commit.scope %}\ - - {{ commit.message }} + - {{ commit.id | truncate(length=12, end="") }} {{ commit.message }} {% endif %}\ {% endfor %}\ {% for group, commits in commits | group_by(attribute="scope") %}\ {% for commit in commits | sort(attribute="message") %}\ - - **{{commit.scope}}**: {{ commit.message }} + - {{ commit.id | truncate(length=12, end="") }} {{commit.scope}}: {{ commit.message }} {% endfor %}\ {% endfor %} {% endfor %}\n diff --git a/scripts/gen_help_html.lua b/scripts/gen_help_html.lua index 7051c8dbc3..d65f3aace2 100644 --- a/scripts/gen_help_html.lua +++ b/scripts/gen_help_html.lua @@ -63,10 +63,15 @@ local new_layout = { ['channel.txt'] = true, ['deprecated.txt'] = true, ['develop.txt'] = true, + ['dev_style.txt'] = true, + ['dev_theme.txt'] = true, + ['dev_tools.txt'] = true, + ['dev_vimpatch.txt'] = true, ['lua.txt'] = true, ['luaref.txt'] = true, ['news.txt'] = true, ['news-0.9.txt'] = true, + ['news-0.10.txt'] = true, ['nvim.txt'] = true, ['pi_health.txt'] = true, ['provider.txt'] = true, -- cgit