Skip to content

Commit 29166bd

Browse files
Remove main warn banner
1 parent 22d33d5 commit 29166bd

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

src/layouts/ManualDocsLayout.res

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -49,38 +49,6 @@ module Latest = {
4949
let title = "Language Manual"
5050
let version = "latest"
5151

52-
// TODO: Remove this once the work on the v11 milestone is completed.
53-
// https://github.com/rescript-association/rescript-lang.org/milestone/6
54-
let warnBanner = {
55-
open Markdown
56-
57-
let v10Url =
58-
"/" ++
59-
(Js.Array2.joinWith(url.base, "/") ++
60-
("/v10.0.0/" ++ Js.Array2.joinWith(url.pagepath, "/")))
61-
62-
let label = switch Js.Array2.find(Constants.allManualVersions, ((v, _)) => {
63-
v === version
64-
}) {
65-
| Some((_, label)) => label
66-
| None => version
67-
}
68-
69-
<div className="mb-10">
70-
<Warn>
71-
<P>
72-
{React.string(
73-
"You are currently looking at the " ++
74-
(label ++
75-
" docs, which are still a work in progress. If you miss anything, you may find it in the older v10.0 docs "),
76-
)}
77-
<A href=v10Url> {React.string("here")} </A>
78-
{React.string(".")}
79-
</P>
80-
</Warn>
81-
</div>
82-
}
83-
8452
<LatestLayout
8553
theme=#Reason
8654
components
@@ -90,7 +58,6 @@ module Latest = {
9058
availableVersions=Constants.allManualVersions
9159
?frontmatter
9260
breadcrumbs>
93-
warnBanner
9461
children
9562
</LatestLayout>
9663
}

0 commit comments

Comments
 (0)