mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-24 01:22:23 +08:00
* docs: update file size limit to 1024 mb (#9397)
* update-file-size-limit-to-1024-mb
* docs: clarify available API endpoints and their use cases (#9382)
* available-endpoints
* asterisk
* structure-into-tabs-and-confirm-login-endpoint
* reorg and clarify some usage
---------
Co-authored-by: April M <april.murphy@datastax.com>
---------
Co-authored-by: April M <april.murphy@datastax.com>
* add-lfx-kb-agent-struct-out
* update-release-notes
* docs: docling integration into file component (#9481)
* init
* ui-package-manager
* more-content
* components-page
* dependency-included-for-1.6
* remove-package-management-feature
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* clarify-file-extension-behavior
* config-dir-not-in-1.6
* clarify-outputs
* add-links-andupdate-parameters
* more-params
* clarify-supported-filetypes
* installation-in-bundle
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* Apply suggestions from code review
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: Traceloop SDK integration documentation (#9514)
* Added documentation file for langflow-traceloop-instana integration
* updated sidebar.js
* Updated documentation with metrics integration instructions
* Update docs/docs/Integrations/integrations-instana-traceloop.mdx
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Update docs/docs/Integrations/integrations-instana-traceloop.mdx
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* update doc
* Format correction
* Formatting correction
* Updated Slug title
* style-edit
* Split configure environment variables into steps
* Formatted as per Google developer style guide
* Update docs/docs/Integrations/integrations-instana-traceloop.mdx
Co-authored-by: Edwin Jose <edwinjose900@gmail.com>
* More context added on OTLP security
* Added screenshots of Instana dashboards
* Updated as per the review comments
* Update docs/docs/Integrations/integrations-instana-traceloop.mdx
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
* Update docs/docs/Integrations/integrations-instana-traceloop.mdx
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
* Update docs/docs/Integrations/integrations-instana-traceloop.mdx
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
* Update docs/docs/Integrations/integrations-instana-traceloop.mdx
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
* updated refer documentation links
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwinjose900@gmail.com>
* docling-and-traceloop-links-for-release-notes-remove-duplicates
* traceloop-touchup
* add-component-release-notes
* docs: 1.6 knowledge base feature (#9381)
* sidebars-and-content
* add-kb-components
* completed-basic-outline
* updates-and-new-names
* kb-tutorial-content
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* move-component-docs-to-main-page
* code-review
* reorganize-content
* add-link-to-agents
* fix links, create components-kb
* move and revise kb content
* missing import
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
Co-authored-by: April M <april.murphy@datastax.com>
* docs: Component documentation updates for 1.6.0 (#9627)
* bundles icon
* component menu and bundle icons
* mcp icon extension
* more bundle icon
* workspace gestures and locking
* mcp server stuff
* fix typo and move serper component
* g-assist edit
* simplify hidden param text and update cohere
* amazon components
* nvidia system assist
* use partial for hidden param text
* fix import, add partial for agent summary
* style changes to prep for separating vector page
* rework llm and embedding model pages
* handle legacy components
* remove memories page
* tools page
* applied partials to vector stores before moving
* move redis and ds, fix links
* astra db component updates
* c vector stores
* traceloop copyedits
* advanced parsing
* elastic page and ocr engine edit
* q-w vector stores
* rest of vector stores
* fix build errors
* Revert "mcp icon extension"
This reverts commit 4d1582793a.
* unused imports and build errors
* build errors
* better icon reference
* tip edits
* fixing after preview
* more touchup
* small style edits for ts client page
* replicate pr 9676
* fix style
* KB comments
* Update docs/docs/Components/bundles-mongodb.mdx
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
---------
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
* add deprecated component to release notes
* knowledge and message history
* wording
* legacy components
* capitalization
* docs: OpenAI responses endpoint (#9539)
* init
* more-content-and-examples
* cleanup
* add-response-tabs-and-streaming-example
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* requires-agent-component-to-emit-message
* [autofix.ci] apply automated fixes
* test-and-explain-more
* global-var-and-fallback
* bash-not-curl-codeblock
* tighten-up-intro-para
* add-entry-to-concepts-publish-page
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* fix-merge-mistake
* flow-id-or-endpoint-name
* reformat
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* standardize-table-codefont
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* fix build
* code rabbit comments
* docs: remove knowledge base content from 1.6 (#9784)
* remove-kb-content
* broken links
* random change to restart build
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
Co-authored-by: April M <april.murphy@datastax.com>
* docs: update composio bundle page (#9442)
* update-composio-integrations
* update-doc-to-be-general
* trailing-space
* add-tool-script
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* global-variable
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* reorder-steps-and-move-script
* clarify-connection
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* [autofix.ci] apply automated fixes (attempt 3/3)
* tools slug/name
* test composio steps
* remove unnecessary import
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: April M <april.murphy@datastax.com>
* chore: small misses and sync with 9-Sep-25 release build (#9792)
* io page
* fix slug
* custom models and canvas controls
* message history
* composio slack
* move a flow
* vlm option for docling
* docs: add oauth for mcp (#9626)
* oauth-and-none-options
* mcp-composer-for-server
* updates-from-testing
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* clarify-client-update
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* code-review
* clarify-oauth-values
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* code-review
* double-words
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: include guidance for openai client dummy key (#9871)
* test-client-calls
* less-prose
* clearer-intro
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* remove-indentation-and-correct-example-key-value
* comment-syntax
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: mcp tools troubleshooting (#9866)
* move-mcp-troubleshooting-from-server-page-and-add-issue
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com>
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
Co-authored-by: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com>
* docs: auth changes (#9731)
* initial-content
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* code-review
* Apply suggestions from code review
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: CORS configuration (#9773)
* initial-content
* title
* clarify-default
* cleanup
* cors-defaults-with-warning-for-1.7
* docs-and-code-review
* clarify-cors-in-future-release
* code-review
* developer mode for docling
* auto login
* cors
* auth variables
* environment variables pt 1
* env var pt 2
* env var pt 3
* env var pt 5
* align CLI page with env var
* autologin
* docs: clarify log format behavior (#9945)
clarify-log-format-behavior
* docling dependency exceptions
---------
Co-authored-by: April M <april.murphy@datastax.com>
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
Co-authored-by: Sandesh R <115570766+2getsandesh@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwinjose900@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com>
435 lines
14 KiB
JavaScript
435 lines
14 KiB
JavaScript
// @ts-check
|
|
// Note: type annotations allow type checking and IDEs autocompletion
|
|
|
|
const lightCodeTheme = require("prism-react-renderer/themes/github");
|
|
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
|
|
const { remarkCodeHike } = require("@code-hike/mdx");
|
|
|
|
const isProduction = process.env.NODE_ENV === "production";
|
|
|
|
/** @type {import('@docusaurus/types').Config} */
|
|
const config = {
|
|
title: "Langflow Documentation",
|
|
tagline:
|
|
"Langflow is a low-code app builder for RAG and multi-agent AI applications.",
|
|
favicon: "img/favicon.ico",
|
|
url: "https://docs.langflow.org",
|
|
baseUrl: process.env.BASE_URL ? process.env.BASE_URL : "/",
|
|
onBrokenLinks: "throw",
|
|
onBrokenMarkdownLinks: "warn",
|
|
onBrokenAnchors: "warn",
|
|
organizationName: "langflow-ai",
|
|
projectName: "langflow",
|
|
trailingSlash: false,
|
|
staticDirectories: ["static"],
|
|
i18n: {
|
|
defaultLocale: "en",
|
|
locales: ["en"],
|
|
},
|
|
headTags: [
|
|
{
|
|
tagName: "link",
|
|
attributes: {
|
|
rel: "stylesheet",
|
|
href: "https://fonts.googleapis.com/css2?family=Sora:wght@550;600&display=swap",
|
|
},
|
|
},
|
|
...(isProduction
|
|
? [
|
|
// Ketch consent management script
|
|
{
|
|
tagName: "script",
|
|
attributes: {},
|
|
innerHTML: `!function(){window.semaphore=window.semaphore||[],window.ketch=function(){window.semaphore.push(arguments)};var e=document.createElement("script");e.type="text/javascript",e.src="https://global.ketchcdn.com/web/v3/config/datastax/langflow_org_web/boot.js",e.defer=e.async=!0,document.getElementsByTagName("head")[0].appendChild(e)}();`,
|
|
},
|
|
// Ketch jurisdiction dynamic link and GA4 consent tracking
|
|
{
|
|
tagName: "script",
|
|
attributes: {
|
|
defer: "true",
|
|
},
|
|
innerHTML: `
|
|
;(function () {
|
|
const onKetchConsentGtagTrack = (consent) => {
|
|
if (window.gtag &&
|
|
consent.purposes &&
|
|
'analytics' in consent.purposes &&
|
|
'targeted_advertising' in consent.purposes
|
|
) {
|
|
const analyticsString = consent.purposes.analytics === true ? 'granted' : 'denied'
|
|
const targetedAdsString = consent.purposes.targeted_advertising === true ? 'granted' : 'denied'
|
|
const gtagObject = {
|
|
analytics_storage: analyticsString,
|
|
ad_personalization: targetedAdsString,
|
|
ad_storage: targetedAdsString,
|
|
ad_user_data: targetedAdsString,
|
|
}
|
|
window.gtag('consent', 'update', gtagObject)
|
|
}
|
|
}
|
|
if (window.ketch) {
|
|
window.ketch('on', 'consent', onKetchConsentGtagTrack)
|
|
}
|
|
})()
|
|
`,
|
|
},
|
|
]
|
|
: []),
|
|
],
|
|
|
|
presets: [
|
|
[
|
|
"docusaurus-preset-openapi",
|
|
/** @type {import('@docusaurus/preset-classic').Options} */
|
|
({
|
|
api: {
|
|
path: "openapi.json", // Path to your OpenAPI file
|
|
routeBasePath: "/api", // The base URL for your API docs
|
|
},
|
|
docs: {
|
|
routeBasePath: "/", // Serve the docs at the site's root
|
|
sidebarPath: require.resolve("./sidebars.js"), // Use sidebars.js file
|
|
sidebarCollapsed: true,
|
|
beforeDefaultRemarkPlugins: [
|
|
[
|
|
remarkCodeHike,
|
|
{
|
|
theme: "github-dark",
|
|
showCopyButton: true,
|
|
lineNumbers: true,
|
|
},
|
|
],
|
|
],
|
|
},
|
|
sitemap: {
|
|
// https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-sitemap
|
|
// https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap
|
|
lastmod: "datetime",
|
|
changefreq: null,
|
|
priority: null,
|
|
ignorePatterns: ["/preferences"],
|
|
},
|
|
gtag: {
|
|
trackingID: "G-SLQFLQ3KPT",
|
|
},
|
|
blog: false,
|
|
theme: {
|
|
customCss: [
|
|
require.resolve("@code-hike/mdx/styles.css"),
|
|
require.resolve("./css/custom.css"),
|
|
require.resolve("./css/docu-notion-styles.css"),
|
|
require.resolve(
|
|
"./css/gifplayer.css"
|
|
//"./node_modules/react-gif-player/dist/gifplayer.css" // this gave a big red compile warning which is seaming unrelated " Replace Autoprefixer browsers option to Browserslist config..."
|
|
),
|
|
],
|
|
},
|
|
}),
|
|
],
|
|
],
|
|
plugins: [
|
|
["docusaurus-node-polyfills", { excludeAliases: ["console"] }],
|
|
"docusaurus-plugin-image-zoom",
|
|
["./src/plugins/segment", { segmentPublicWriteKey: process.env.SEGMENT_PUBLIC_WRITE_KEY, allowedInDev: true }],
|
|
["./src/plugins/scroll-tracking", {
|
|
segmentPublicWriteKey: process.env.SEGMENT_PUBLIC_WRITE_KEY,
|
|
allowedInDev: true,
|
|
selectors: [
|
|
{
|
|
selector: 'h1, h2, h3, h4, h5, h6',
|
|
eventName: 'Docs.langflow.org - Heading Viewed',
|
|
properties: {
|
|
element_type: 'heading'
|
|
}
|
|
},
|
|
{
|
|
selector: '.ch-codeblock',
|
|
eventName: 'Docs.langflow.org - Codeblock Viewed',
|
|
properties: {
|
|
element_type: 'code',
|
|
language: 'helper:codeLanguage'
|
|
}
|
|
}
|
|
]
|
|
}],
|
|
[
|
|
"@docusaurus/plugin-client-redirects",
|
|
{
|
|
redirects: [
|
|
{
|
|
to: "/",
|
|
from: [
|
|
"/whats-new-a-new-chapter-langflow",
|
|
"/👋 Welcome-to-Langflow",
|
|
"/getting-started-welcome-to-langflow",
|
|
"/guides-new-to-llms",
|
|
"/about-langflow",
|
|
],
|
|
},
|
|
{
|
|
to: "/get-started-installation",
|
|
from: [
|
|
"/getting-started-installation",
|
|
"/getting-started-common-installation-issues",
|
|
],
|
|
},
|
|
{
|
|
to: "/get-started-quickstart",
|
|
from: "/getting-started-quickstart",
|
|
},
|
|
{
|
|
to: "concepts-overview",
|
|
from: [
|
|
"/workspace-overview",
|
|
"/365085a8-a90a-43f9-a779-f8769ec7eca1",
|
|
"/My-Collection",
|
|
"/workspace",
|
|
"/settings-project-general-settings",
|
|
],
|
|
},
|
|
{
|
|
to: "/concepts-components",
|
|
from: ["/components", "/components-overview"],
|
|
},
|
|
{
|
|
to: "/configuration-global-variables",
|
|
from: "/settings-global-variables",
|
|
},
|
|
{
|
|
to: "/concepts-playground",
|
|
from: [
|
|
"/workspace-playground",
|
|
"/workspace-logs",
|
|
"/guides-chat-memory",
|
|
],
|
|
},
|
|
{
|
|
to: "/data-types",
|
|
from: ["/guides-data-message", "/configuration-objects"],
|
|
},
|
|
{
|
|
to: "/concepts-flows",
|
|
from: [
|
|
"/travel-planning-agent",
|
|
"/starter-projects-travel-planning-agent",
|
|
"/tutorials-travel-planning-agent",
|
|
"/starter-projects-dynamic-agent/",
|
|
"/simple-agent",
|
|
"/math-agent",
|
|
"/starter-projects-simple-agent",
|
|
"/starter-projects-math-agent",
|
|
"/tutorials-math-agent",
|
|
"/sequential-agent",
|
|
"/starter-projects-sequential-agent",
|
|
"/tutorials-sequential-agent",
|
|
"/memory-chatbot",
|
|
"/starter-projects-memory-chatbot",
|
|
"/tutorials-memory-chatbot",
|
|
"/financial-report-parser",
|
|
"/document-qa",
|
|
"/starter-projects-document-qa",
|
|
"/tutorials-document-qa",
|
|
"/blog-writer",
|
|
"/starter-projects-blog-writer",
|
|
"/tutorials-blog-writer",
|
|
"/basic-prompting",
|
|
"/starter-projects-basic-prompting",
|
|
"/vector-store-rag",
|
|
"/starter-projects-vector-store-rag",
|
|
],
|
|
},
|
|
{
|
|
to: "/components-bundle-components",
|
|
from: [
|
|
"/components-rag",
|
|
"/components-vector-stores",
|
|
"/components-loaders",
|
|
],
|
|
},
|
|
{
|
|
to: "/api-keys-and-authentication",
|
|
from: [
|
|
"/configuration-api-keys",
|
|
"/configuration-authentication",
|
|
"/configuration-security-best-practices",
|
|
"/Configuration/configuration-security-best-practices",
|
|
],
|
|
},
|
|
{
|
|
to: "/environment-variables",
|
|
from: [
|
|
"/configuration-auto-saving",
|
|
"/Configuration/configuration-auto-saving",
|
|
"/configuration-backend-only",
|
|
"/Configuration/configuration-backend-only",
|
|
],
|
|
},
|
|
{
|
|
to: "/concepts-publish",
|
|
from: [
|
|
"/concepts-api",
|
|
"/workspace-api",
|
|
],
|
|
},
|
|
{
|
|
to: "/components-custom-components",
|
|
from: "/components/custom",
|
|
},
|
|
{
|
|
to: "/mcp-server",
|
|
from: "/integrations-mcp",
|
|
},
|
|
{
|
|
to: "/integrations-nvidia-g-assist",
|
|
from: "/integrations-nvidia-system-assist",
|
|
},
|
|
{
|
|
to: "/deployment-kubernetes-dev",
|
|
from: "/deployment-kubernetes",
|
|
},
|
|
{
|
|
to: "/contributing-github-issues",
|
|
from: "/contributing-github-discussions",
|
|
},
|
|
{
|
|
to: "/agents",
|
|
from: "/agents-tool-calling-agent-component",
|
|
},
|
|
{
|
|
to: "/concepts-publish",
|
|
from: "/embedded-chat-widget",
|
|
},
|
|
{
|
|
to: "/bundles-google",
|
|
from: "/integrations-setup-google-oauth-langflow",
|
|
},
|
|
{
|
|
to: "/bundles-vertexai",
|
|
from: "/integrations-setup-google-cloud-vertex-ai-langflow",
|
|
},
|
|
{
|
|
to: "/develop-application",
|
|
from: "/develop-overview",
|
|
},
|
|
{
|
|
to: "/data-types",
|
|
from: "/concepts-objects",
|
|
},
|
|
{
|
|
to: "/components-helpers",
|
|
from: "/components-memories",
|
|
},
|
|
// add more redirects like this
|
|
// {
|
|
// to: '/docs/anotherpage',
|
|
// from: ['/docs/legacypage1', '/docs/legacypage2'],
|
|
// },
|
|
],
|
|
},
|
|
],
|
|
// ....
|
|
async function myPlugin(context, options) {
|
|
return {
|
|
name: "docusaurus-tailwindcss",
|
|
configurePostCss(postcssOptions) {
|
|
// Appends TailwindCSS and AutoPrefixer.
|
|
postcssOptions.plugins.push(require("tailwindcss"));
|
|
postcssOptions.plugins.push(require("autoprefixer"));
|
|
return postcssOptions;
|
|
},
|
|
};
|
|
},
|
|
],
|
|
themeConfig:
|
|
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
|
({
|
|
navbar: {
|
|
hideOnScroll: true,
|
|
logo: {
|
|
alt: "Langflow",
|
|
src: "img/lf-docs-light.svg",
|
|
srcDark: "img/lf-docs-dark.svg",
|
|
},
|
|
items: [
|
|
// right
|
|
{
|
|
position: "right",
|
|
href: "https://github.com/langflow-ai/langflow",
|
|
className: "header-github-link",
|
|
target: "_blank",
|
|
rel: null,
|
|
'data-event': 'Docs.langflow.org - Social Clicked',
|
|
'data-platform': 'github'
|
|
},
|
|
{
|
|
position: "right",
|
|
href: "https://twitter.com/langflow_ai",
|
|
className: "header-twitter-link",
|
|
target: "_blank",
|
|
rel: null,
|
|
'data-event': 'Docs.langflow.org - Social Clicked',
|
|
'data-platform': 'x'
|
|
},
|
|
{
|
|
position: "right",
|
|
href: "https://discord.gg/EqksyE2EX9",
|
|
className: "header-discord-link",
|
|
target: "_blank",
|
|
rel: null,
|
|
'data-event': 'Docs.langflow.org - Social Clicked',
|
|
'data-platform': 'discord'
|
|
},
|
|
],
|
|
},
|
|
colorMode: {
|
|
defaultMode: "light",
|
|
/* Allow users to chose light or dark mode. */
|
|
disableSwitch: false,
|
|
/* Respect user preferences, such as low light mode in the evening */
|
|
respectPrefersColorScheme: true,
|
|
},
|
|
prism: {
|
|
theme: lightCodeTheme,
|
|
darkTheme: darkCodeTheme,
|
|
},
|
|
zoom: {
|
|
selector: ".markdown :not(a) > img:not(.no-zoom)",
|
|
background: {
|
|
light: "rgba(240, 240, 240, 0.9)",
|
|
},
|
|
config: {},
|
|
},
|
|
docs: {
|
|
sidebar: {
|
|
hideable: false,
|
|
},
|
|
},
|
|
footer: {
|
|
links: [
|
|
{
|
|
title: null,
|
|
items: [
|
|
{
|
|
html: `<div class="footer-links">
|
|
<span>© ${new Date().getFullYear()} Langflow</span>
|
|
<span id="preferenceCenterContainer"> · <a href="https://langflow.org/preferences">Manage Privacy Choices</a></span>
|
|
</div>`,
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
algolia: {
|
|
appId: "UZK6BDPCVY",
|
|
// public key, safe to commit
|
|
apiKey: "adbd7686dceb1cd510d5ce20d04bf74c",
|
|
indexName: "langflow",
|
|
contextualSearch: true,
|
|
searchParameters: {},
|
|
searchPagePath: "search",
|
|
},
|
|
}),
|
|
};
|
|
|
|
module.exports = config;
|