[flang-commits] [flang] 2d4d7e3 - [flang][docs] Tweak in-progress warning in the release notes page
via flang-commits
flang-commits at lists.llvm.org
Thu Dec 4 08:37:18 PST 2025
Author: Tarun Prabhu
Date: 2025-12-04T09:37:13-07:00
New Revision: 2d4d7e369c3a349b3f023d18040819bab07299f9
URL: https://github.com/llvm/llvm-project/commit/2d4d7e369c3a349b3f023d18040819bab07299f9
DIFF: https://github.com/llvm/llvm-project/commit/2d4d7e369c3a349b3f023d18040819bab07299f9.diff
LOG: [flang][docs] Tweak in-progress warning in the release notes page
Reformat the in-progress warning message in the release notes page. This
is now rendered in a style similar to that of clang. The warning will
be hidden on release builds of the documentation.
Added:
Modified:
flang/docs/ReleaseNotes.md
flang/docs/ReleaseNotesTemplate.txt
Removed:
################################################################################
diff --git a/flang/docs/ReleaseNotes.md b/flang/docs/ReleaseNotes.md
index 24122e7a77581..7993678fcbf75 100644
--- a/flang/docs/ReleaseNotes.md
+++ b/flang/docs/ReleaseNotes.md
@@ -3,11 +3,13 @@ ReleaseNotes.md and ReleaseNotesTemplate.txt. -->
# Flang {{version}} {{in_progress}}Release Notes
-> **warning**
->
-> These are in-progress notes for the upcoming LLVM {{version}} release.
-> Release notes for previous releases can be found on [the Download
-> Page](https://releases.llvm.org/download.html).
+````{only} PreRelease
+```{warning}
+ These are in-progress notes for the upcoming LLVM {{version}} release.
+ Release notes for previous releases can be found on [the Download
+ Page](https://releases.llvm.org/download.html).
+```
+````
## Introduction
diff --git a/flang/docs/ReleaseNotesTemplate.txt b/flang/docs/ReleaseNotesTemplate.txt
index b607e9a938424..888da4d58b868 100644
--- a/flang/docs/ReleaseNotesTemplate.txt
+++ b/flang/docs/ReleaseNotesTemplate.txt
@@ -3,11 +3,13 @@ ReleaseNotes.md and ReleaseNotesTemplate.txt. -->
# Flang {{version}} {{in_progress}}Release Notes
-> **warning**
->
-> These are in-progress notes for the upcoming LLVM {{version}} release.
-> Release notes for previous releases can be found on [the Download
-> Page](https://releases.llvm.org/download.html).
+````{only} PreRelease
+```{warning}
+These are in-progress notes for the upcoming LLVM {{version}} release.
+Release notes for previous releases can be found on [the Download
+Page](https://releases.llvm.org/download.html).
+```
+````
## Introduction
More information about the flang-commits
mailing list