[libcxx-commits] [libcxx] [libc++][docs] Remove stale release notes from toctree (PR #234792)

Reid Kleckner via libcxx-commits libcxx-commits at lists.llvm.org
Thu Oct 22 16:03:22 PDT 2026


https://github.com/rnk created https://github.com/llvm/llvm-project/pull/234792

#234169 deleted the release notes for LLVM 20, 21 and 22 but left them listed in the hidden toctree in `ReleaseNotes.rst`. Sphinx reports each as a nonexisting document, and because the libc++ docs build treats warnings as errors, the "Test documentation build" job now fails on every PR that touches the monorepo docs.

Remove the three stale toctree entries so the toctree only references release notes that still exist.


>From 8ff89cfa5ad0731df6d1a918bc98566a665b3fa9 Mon Sep 17 00:00:00 2001
From: Reid Kleckner <rkleckner at nvidia.com>
Date: Thu, 22 Oct 2026 23:00:45 +0000
Subject: [PATCH] [libc++][docs] Remove stale release notes from toctree

#234169 deleted the release notes for LLVM 20, 21 and 22 but left them
listed in the hidden toctree in ReleaseNotes.rst. Sphinx reports each
as a nonexisting document, which fails the documentation build because
warnings are errors.

LLM-aided
---
 libcxx/docs/ReleaseNotes.rst | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libcxx/docs/ReleaseNotes.rst b/libcxx/docs/ReleaseNotes.rst
index 37078d83139aba..073c54fa456c54 100644
--- a/libcxx/docs/ReleaseNotes.rst
+++ b/libcxx/docs/ReleaseNotes.rst
@@ -4,9 +4,6 @@
 .. toctree::
     :hidden:
 
-    ReleaseNotes/20
-    ReleaseNotes/21
-    ReleaseNotes/22
     ReleaseNotes/23
 
 .. The release notes are in versioned files, but we make sure to keep publishing



More information about the libcxx-commits mailing list