mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-25 22:17:04 +00:00
parent
8d2135ad8a
commit
3628dccbf3
@ -65,7 +65,7 @@ const config = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.ya?ml$/,
|
test: /\.ya?ml$/,
|
||||||
use: 'yaml-loader'
|
use: "yaml-loader",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.ipynb$/,
|
test: /\.ipynb$/,
|
||||||
@ -86,7 +86,8 @@ const config = {
|
|||||||
/** @type {import('@docusaurus/preset-classic').Options} */
|
/** @type {import('@docusaurus/preset-classic').Options} */
|
||||||
({
|
({
|
||||||
docs: {
|
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"),
|
sidebarPath: require.resolve("./sidebars.js"),
|
||||||
remarkPlugins: [
|
remarkPlugins: [
|
||||||
[require("@docusaurus/remark-plugin-npm2yarn"), { sync: true }],
|
[require("@docusaurus/remark-plugin-npm2yarn"), { sync: true }],
|
||||||
@ -120,6 +121,9 @@ const config = {
|
|||||||
theme: {
|
theme: {
|
||||||
customCss: require.resolve("./src/css/custom.css"),
|
customCss: require.resolve("./src/css/custom.css"),
|
||||||
},
|
},
|
||||||
|
googleTagManager: {
|
||||||
|
containerId: "GTM-MH4VTX4V",
|
||||||
|
},
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
@ -140,7 +144,7 @@ const config = {
|
|||||||
announcementBar: {
|
announcementBar: {
|
||||||
content:
|
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>',
|
'<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: {
|
prism: {
|
||||||
theme: {
|
theme: {
|
||||||
@ -160,7 +164,10 @@ const config = {
|
|||||||
},
|
},
|
||||||
image: "img/brand/theme-image.png",
|
image: "img/brand/theme-image.png",
|
||||||
navbar: {
|
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: [
|
items: [
|
||||||
{
|
{
|
||||||
type: "docSidebar",
|
type: "docSidebar",
|
||||||
@ -193,8 +200,9 @@ const config = {
|
|||||||
label: "Error reference",
|
label: "Error reference",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'html',
|
type: "html",
|
||||||
value: '<hr class="dropdown-separator" style="margin-top: 0.5rem; margin-bottom: 0.5rem">',
|
value:
|
||||||
|
'<hr class="dropdown-separator" style="margin-top: 0.5rem; margin-bottom: 0.5rem">',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
href: "https://docs.smith.langchain.com",
|
href: "https://docs.smith.langchain.com",
|
||||||
@ -212,7 +220,7 @@ const config = {
|
|||||||
href: "https://js.langchain.com",
|
href: "https://js.langchain.com",
|
||||||
label: "LangChain JS/TS",
|
label: "LangChain JS/TS",
|
||||||
},
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: "dropdown",
|
type: "dropdown",
|
||||||
@ -221,17 +229,17 @@ const config = {
|
|||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
label: "v0.3",
|
label: "v0.3",
|
||||||
href: "/docs/introduction"
|
href: "/docs/introduction",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "v0.2",
|
label: "v0.2",
|
||||||
href: "https://python.langchain.com/v0.2/docs/introduction"
|
href: "https://python.langchain.com/v0.2/docs/introduction",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "v0.1",
|
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",
|
to: "https://chat.langchain.com",
|
||||||
@ -313,15 +321,6 @@ const config = {
|
|||||||
contextualSearch: false,
|
contextualSearch: false,
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|
||||||
scripts: [
|
|
||||||
baseUrl + "js/google_analytics.js",
|
|
||||||
{
|
|
||||||
src: "https://www.googletagmanager.com/gtag/js?id=G-9B66JQQH2F",
|
|
||||||
async: true,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
|
|
||||||
customFields: {
|
customFields: {
|
||||||
supabasePublicKey: process.env.NEXT_PUBLIC_SUPABASE_PUBLIC_KEY,
|
supabasePublicKey: process.env.NEXT_PUBLIC_SUPABASE_PUBLIC_KEY,
|
||||||
supabaseUrl: process.env.NEXT_PUBLIC_SUPABASE_URL,
|
supabaseUrl: process.env.NEXT_PUBLIC_SUPABASE_URL,
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@docusaurus/core": "3.5.2",
|
"@docusaurus/core": "3.5.2",
|
||||||
|
"@docusaurus/plugin-google-tag-manager": "^3.8.1",
|
||||||
"@docusaurus/preset-classic": "3.5.2",
|
"@docusaurus/preset-classic": "3.5.2",
|
||||||
"@docusaurus/remark-plugin-npm2yarn": "^3.5.2",
|
"@docusaurus/remark-plugin-npm2yarn": "^3.5.2",
|
||||||
"@docusaurus/theme-mermaid": "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