[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
This commit is contained in:
Louis Dionne 2024-01-22 09:34:47 -05:00
parent 75b0c913a5
commit 90af11ea97
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -34,7 +34,7 @@ Getting Started with libc++
.. toctree:: .. toctree::
:maxdepth: 1 :maxdepth: 1
ReleaseNotes/18 ReleaseNotes
UsingLibcxx UsingLibcxx
BuildingLibcxx BuildingLibcxx
TestingLibcxx TestingLibcxx