From 920e6652505397b802a5f8e616b6ea62f16634a7 Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Tue, 1 Sep 2026 17:46:39 -0400 Subject: [PATCH] fix HIPs frontmatter escaping --- .github/workflows/contrib.yml | 2 +- _contrib/hips/0000-template.md | 4 ++-- _contrib/hips/0001-hyper-improvement-proposals.md | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/contrib.yml b/.github/workflows/contrib.yml index 2e540fa..73a1268 100644 --- a/.github/workflows/contrib.yml +++ b/.github/workflows/contrib.yml @@ -54,7 +54,7 @@ jobs: find hyper/docs -mindepth 1 -maxdepth 2 -type f -name '*.md' -print0 | while IFS= read -r -d '' f; do sed -i -e '1i ---' \ - -e '1s/#/title:/' \ + -e '1s/^# /title: >-\n /' \ -e '2i layout: guide' \ -e "2i hyper_path: ${f#hyper/}" \ -e '2i ---' "$f" diff --git a/_contrib/hips/0000-template.md b/_contrib/hips/0000-template.md index 3ecbb57..c3ab810 100644 --- a/_contrib/hips/0000-template.md +++ b/_contrib/hips/0000-template.md @@ -1,5 +1,6 @@ --- -title: HIP-0000: Template +title: >- + HIP-0000: Template layout: guide hyper_path: docs/hips/0000-template.md --- @@ -42,4 +43,3 @@ hyper_path: docs/hips/0000-template.md ## References - diff --git a/_contrib/hips/0001-hyper-improvement-proposals.md b/_contrib/hips/0001-hyper-improvement-proposals.md index 3edeead..03f43d8 100644 --- a/_contrib/hips/0001-hyper-improvement-proposals.md +++ b/_contrib/hips/0001-hyper-improvement-proposals.md @@ -1,5 +1,6 @@ --- -title: HIP-0001: hyper Improvement Proposals +title: >- + HIP-0001: hyper Improvement Proposals layout: guide hyper_path: docs/hips/0001-hyper-improvement-proposals.md ---