release-notes.sh: remove line breaks from generated Markdown, for GitHub

GitHub-flavored Markdown translates line breaks to <br/>, which does
not match our intent. Work around that by joining lines when producing
Markdown output.
This commit is contained in:
Johannes Altmanninger
2025-09-27 06:00:24 +02:00
parent 6ed4e54c1e
commit 4cc2d2ec30
2 changed files with 3 additions and 1 deletions

View File

@@ -38,6 +38,7 @@ sphinx-build >&2 -j auto \
-d "$relnotes_tmp/doctree" "$relnotes_tmp/fake-workspace/doc_src" "$relnotes_tmp/out" \
-D markdown_http_base="https://fishshell.com/docs/$minor_version" \
-D markdown_uri_doc_suffix=".html" \
-D markdown_github_flavored=1 \
"$@"
# Delete changelog header