Skip to content

Commit 2d4d7e3

Browse files
authored
[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.
1 parent 4c03b88 commit 2d4d7e3

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

flang/docs/ReleaseNotes.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ ReleaseNotes.md and ReleaseNotesTemplate.txt. -->
33

44
# Flang {{version}} {{in_progress}}Release Notes
55

6-
> **warning**
7-
>
8-
> These are in-progress notes for the upcoming LLVM {{version}} release.
9-
> Release notes for previous releases can be found on [the Download
10-
> Page](https://releases.llvm.org/download.html).
6+
````{only} PreRelease
7+
```{warning}
8+
These are in-progress notes for the upcoming LLVM {{version}} release.
9+
Release notes for previous releases can be found on [the Download
10+
Page](https://releases.llvm.org/download.html).
11+
```
12+
````
1113

1214
## Introduction
1315

flang/docs/ReleaseNotesTemplate.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ ReleaseNotes.md and ReleaseNotesTemplate.txt. -->
33

44
# Flang {{version}} {{in_progress}}Release Notes
55

6-
> **warning**
7-
>
8-
> These are in-progress notes for the upcoming LLVM {{version}} release.
9-
> Release notes for previous releases can be found on [the Download
10-
> Page](https://releases.llvm.org/download.html).
6+
````{only} PreRelease
7+
```{warning}
8+
These are in-progress notes for the upcoming LLVM {{version}} release.
9+
Release notes for previous releases can be found on [the Download
10+
Page](https://releases.llvm.org/download.html).
11+
```
12+
````
1113

1214
## Introduction
1315

0 commit comments

Comments
 (0)