mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-04 12:18:24 +00:00
docs: baseUrl for ganalytics (0.1) (#21456)
This commit is contained in:
parent
264f677528
commit
d0f043a765
@ -9,6 +9,8 @@ require("dotenv").config();
|
||||
const baseLightCodeBlockTheme = require("prism-react-renderer/themes/vsLight");
|
||||
const baseDarkCodeBlockTheme = require("prism-react-renderer/themes/vsDark");
|
||||
|
||||
const baseUrl = "/v0.1/";
|
||||
|
||||
/** @type {import('@docusaurus/types').Config} */
|
||||
const config = {
|
||||
title: "🦜️🔗 LangChain",
|
||||
@ -18,7 +20,7 @@ const config = {
|
||||
url: "https://python.langchain.com",
|
||||
// Set the /<baseUrl>/ pathname under which your site is served
|
||||
// For GitHub pages deployment, it is often '/<projectName>/'
|
||||
baseUrl: "/v0.1/",
|
||||
baseUrl: baseUrl,
|
||||
trailingSlash: true,
|
||||
onBrokenLinks: "throw",
|
||||
onBrokenMarkdownLinks: "throw",
|
||||
@ -323,7 +325,7 @@ const config = {
|
||||
}),
|
||||
|
||||
scripts: [
|
||||
"/js/google_analytics.js",
|
||||
baseUrl + "js/google_analytics.js",
|
||||
{
|
||||
src: "https://www.googletagmanager.com/gtag/js?id=G-9B66JQQH2F",
|
||||
async: true,
|
||||
|
Loading…
Reference in New Issue
Block a user