[docs] add deprecation notice banner to legacy documentation site (#23516)

This commit is contained in:
zijiexia
2026-04-22 20:17:53 -07:00
committed by GitHub
parent 214c35b031
commit 6490afe36e
4 changed files with 84 additions and 1 deletions
+24
View File
@@ -27,3 +27,27 @@ div.output_area.stderr {
div.output_area.stdout {
color: #d3d3d3 !important;
}
.sglang-docs-deprecation-banner {
background: #fff4cc;
border-bottom: 1px solid #d8a21f;
color: #2f2a1f;
font-size: 0.95rem;
line-height: 1.45;
overflow-wrap: anywhere;
padding: 0.75rem 1.25rem;
position: relative;
text-align: center;
z-index: 1030;
}
.sglang-docs-deprecation-banner a {
color: #1f5fbf;
font-weight: 600;
text-decoration: underline;
}
.sglang-docs-deprecation-banner a:focus,
.sglang-docs-deprecation-banner a:hover {
color: #143f80;
}