aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2024-01-22 09:34:47 -0500
committerLouis Dionne <ldionne.2@gmail.com>2024-01-22 09:39:16 -0500
commit90af11ea97cf9ab34677720c5b7848eb5e9d4efe (patch)
treee080f79d9592e0b6108eef391ddf331308ecd2cd
parent75b0c913a5fa3895818a7c7a066c0a8e1a214329 (diff)
downloadllvm-90af11ea97cf9ab34677720c5b7848eb5e9d4efe.zip
llvm-90af11ea97cf9ab34677720c5b7848eb5e9d4efe.tar.gz
llvm-90af11ea97cf9ab34677720c5b7848eb5e9d4efe.tar.bz2
[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
-rw-r--r--libcxx/docs/ReleaseNotes.rst4
-rw-r--r--libcxx/docs/index.rst2
2 files changed, 5 insertions, 1 deletions
diff --git a/libcxx/docs/ReleaseNotes.rst b/libcxx/docs/ReleaseNotes.rst
new file mode 100644
index 0000000..5c2c611
--- /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 066d8d8..ab747207 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