1
0
mirror of https://github.com/hwchase17/langchain.git synced 2025-05-02 13:55:42 +00:00

docs: Make deprecation docs bar bigger ()

Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
This commit is contained in:
Jacob Lee 2024-12-11 17:19:47 -08:00 committed by GitHub
parent f28e339129
commit 187ddca02f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 23 deletions

View File

@ -122,7 +122,9 @@ const config = {
({
announcementBar: {
content:
'A newer LangChain version is out! Check out the <a href="https://python.langchain.com/docs/introduction">latest version</a>.',
'This is documentation for LangChain v0.1, which is no longer actively maintained. Check out the docs for the <a href="https://python.langchain.com/docs/introduction">latest version here</a>.',
backgroundColor: "#FF0000",
textColor: "#FFFFFF",
isCloseable: false,
},
docs: {

View File

@ -244,26 +244,7 @@ nav, h1, h2, h3, h4 {
no-repeat;
}
div[class^='announcementBar_'] {
font-size: 20px;
/*
--site-announcement-bar-stripe-color1: hsl(
var(--site-primary-hue-saturation) 85%
);
--site-announcement-bar-stripe-color2: hsl(
var(--site-primary-hue-saturation) 95%
);
*/
--site-announcement-bar-stripe-color1: rgb(197,186,254);
--site-announcement-bar-stripe-color2: rgb(255,246,224);
background: repeating-linear-gradient(
-35deg,
var(--site-announcement-bar-stripe-color1),
var(--site-announcement-bar-stripe-color1) 20px,
var(--site-announcement-bar-stripe-color2) 10px,
var(--site-announcement-bar-stripe-color2) 40px
);
font-weight: bold;
div[class^=announcementBar_] {
height: 72px !important;
font-size: 20px !important;
}