mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-22 20:43:08 +00:00
parent
8d2135ad8a
commit
3628dccbf3
@ -65,7 +65,7 @@ const config = {
|
||||
},
|
||||
{
|
||||
test: /\.ya?ml$/,
|
||||
use: 'yaml-loader'
|
||||
use: "yaml-loader",
|
||||
},
|
||||
{
|
||||
test: /\.ipynb$/,
|
||||
@ -86,7 +86,8 @@ const config = {
|
||||
/** @type {import('@docusaurus/preset-classic').Options} */
|
||||
({
|
||||
docs: {
|
||||
editUrl: "https://github.com/langchain-ai/langchain/edit/master/docs/",
|
||||
editUrl:
|
||||
"https://github.com/langchain-ai/langchain/edit/master/docs/",
|
||||
sidebarPath: require.resolve("./sidebars.js"),
|
||||
remarkPlugins: [
|
||||
[require("@docusaurus/remark-plugin-npm2yarn"), { sync: true }],
|
||||
@ -120,6 +121,9 @@ const config = {
|
||||
theme: {
|
||||
customCss: require.resolve("./src/css/custom.css"),
|
||||
},
|
||||
googleTagManager: {
|
||||
containerId: "GTM-MH4VTX4V",
|
||||
},
|
||||
}),
|
||||
],
|
||||
],
|
||||
@ -140,7 +144,7 @@ const config = {
|
||||
announcementBar: {
|
||||
content:
|
||||
'<strong>Our <a href="https://academy.langchain.com/courses/ambient-agents/?utm_medium=internal&utm_source=docs&utm_campaign=q2-2025_ambient-agents_co" target="_blank">Building Ambient Agents with LangGraph</a> course is now available on LangChain Academy!</strong>',
|
||||
backgroundColor: '#d0c9fe'
|
||||
backgroundColor: "#d0c9fe",
|
||||
},
|
||||
prism: {
|
||||
theme: {
|
||||
@ -160,7 +164,10 @@ const config = {
|
||||
},
|
||||
image: "img/brand/theme-image.png",
|
||||
navbar: {
|
||||
logo: {src: "img/brand/wordmark.png", srcDark: "img/brand/wordmark-dark.png"},
|
||||
logo: {
|
||||
src: "img/brand/wordmark.png",
|
||||
srcDark: "img/brand/wordmark-dark.png",
|
||||
},
|
||||
items: [
|
||||
{
|
||||
type: "docSidebar",
|
||||
@ -193,8 +200,9 @@ const config = {
|
||||
label: "Error reference",
|
||||
},
|
||||
{
|
||||
type: 'html',
|
||||
value: '<hr class="dropdown-separator" style="margin-top: 0.5rem; margin-bottom: 0.5rem">',
|
||||
type: "html",
|
||||
value:
|
||||
'<hr class="dropdown-separator" style="margin-top: 0.5rem; margin-bottom: 0.5rem">',
|
||||
},
|
||||
{
|
||||
href: "https://docs.smith.langchain.com",
|
||||
@ -212,7 +220,7 @@ const config = {
|
||||
href: "https://js.langchain.com",
|
||||
label: "LangChain JS/TS",
|
||||
},
|
||||
]
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "dropdown",
|
||||
@ -221,17 +229,17 @@ const config = {
|
||||
items: [
|
||||
{
|
||||
label: "v0.3",
|
||||
href: "/docs/introduction"
|
||||
href: "/docs/introduction",
|
||||
},
|
||||
{
|
||||
label: "v0.2",
|
||||
href: "https://python.langchain.com/v0.2/docs/introduction"
|
||||
href: "https://python.langchain.com/v0.2/docs/introduction",
|
||||
},
|
||||
{
|
||||
label: "v0.1",
|
||||
href: "https://python.langchain.com/v0.1/docs/get_started/introduction"
|
||||
}
|
||||
]
|
||||
href: "https://python.langchain.com/v0.1/docs/get_started/introduction",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
to: "https://chat.langchain.com",
|
||||
@ -313,15 +321,6 @@ const config = {
|
||||
contextualSearch: false,
|
||||
},
|
||||
}),
|
||||
|
||||
scripts: [
|
||||
baseUrl + "js/google_analytics.js",
|
||||
{
|
||||
src: "https://www.googletagmanager.com/gtag/js?id=G-9B66JQQH2F",
|
||||
async: true,
|
||||
},
|
||||
],
|
||||
|
||||
customFields: {
|
||||
supabasePublicKey: process.env.NEXT_PUBLIC_SUPABASE_PUBLIC_KEY,
|
||||
supabaseUrl: process.env.NEXT_PUBLIC_SUPABASE_URL,
|
||||
|
@ -23,6 +23,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "3.5.2",
|
||||
"@docusaurus/plugin-google-tag-manager": "^3.8.1",
|
||||
"@docusaurus/preset-classic": "3.5.2",
|
||||
"@docusaurus/remark-plugin-npm2yarn": "^3.5.2",
|
||||
"@docusaurus/theme-mermaid": "3.5.2",
|
||||
|
2296
docs/yarn.lock
2296
docs/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user