From 90af11ea97cf9ab34677720c5b7848eb5e9d4efe Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Mon, 22 Jan 2024 09:34:47 -0500 Subject: [PATCH] [libc++] Make sure to publish release notes at ReleaseNotes.html In LLVM 17, we switched to numbered RST files for release notes, which makes it easier to deal with cherry-picks around release points. However, we stopped publishing `libcxx/docs/ReleaseNotes.html`, which was referenced by external sites. This patch ensures that we keep publishing `ReleaseNotes.html` by simply including the versioned RST file in the unversioned RST file. Fixes #77955 --- libcxx/docs/ReleaseNotes.rst | 4 ++++ libcxx/docs/index.rst | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 libcxx/docs/ReleaseNotes.rst diff --git a/libcxx/docs/ReleaseNotes.rst b/libcxx/docs/ReleaseNotes.rst new file mode 100644 index 000000000000..5c2c6114beb5 --- /dev/null +++ b/libcxx/docs/ReleaseNotes.rst @@ -0,0 +1,4 @@ +.. include:: ReleaseNotes/18.rst + +.. The release notes are in versioned files, but we make sure to keep publishing +.. them in an unversioned ReleaseNotes.html page for external sites to reference. diff --git a/libcxx/docs/index.rst b/libcxx/docs/index.rst index 066d8d87e552..ab7472071ebb 100644 --- a/libcxx/docs/index.rst +++ b/libcxx/docs/index.rst @@ -34,7 +34,7 @@ Getting Started with libc++ .. toctree:: :maxdepth: 1 - ReleaseNotes/18 + ReleaseNotes UsingLibcxx BuildingLibcxx TestingLibcxx