mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-05 12:48:12 +00:00
docs: announcement bar (#21511)
This commit is contained in:
parent
a71c4e22d1
commit
cfd827b574
@ -120,11 +120,10 @@ const config = {
|
|||||||
themeConfig:
|
themeConfig:
|
||||||
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
||||||
({
|
({
|
||||||
// TODO(erick): enable this when 0.2 docs are ready for banner
|
announcementBar: {
|
||||||
// announcementBar: {
|
content: 'LangChain v0.2 is coming soon! Preview the new docs <a href="/v0.2/docs/introduction/">here</a>.',
|
||||||
// content: 'LangChain v0.2 is coming soon! Preview the new docs <a href="/v0.2/docs/introduction/">here</a>.',
|
isCloseable: true,
|
||||||
// isCloseable: true,
|
},
|
||||||
// },
|
|
||||||
docs: {
|
docs: {
|
||||||
sidebar: {
|
sidebar: {
|
||||||
hideable: true,
|
hideable: true,
|
||||||
|
@ -244,16 +244,16 @@ nav, h1, h2, h3, h4 {
|
|||||||
no-repeat;
|
no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
.announcementBar_node_modules-\@docusaurus-theme-classic-lib-theme-AnnouncementBar-styles-module {
|
div[class^=announcementBar_] {
|
||||||
height:40px !important;
|
height:40px !important;
|
||||||
font-size: 20px !important;
|
font-size: 20px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-theme='dark'] .announcementBar_node_modules-\@docusaurus-theme-classic-lib-theme-AnnouncementBar-styles-module {
|
[data-theme='dark'] div[class^=announcementBar_] {
|
||||||
background-color: #1b1b1b;
|
background-color: #1b1b1b;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-theme='dark'] .announcementBar_node_modules-\@docusaurus-theme-classic-lib-theme-AnnouncementBar-styles-module button {
|
[data-theme='dark'] div[class^=announcementBar_] button {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user