* langflow-webhook-auth-enable
* add-not-contains-filter-operator
* does-not-contains-operator
* less-redundant-explanation
* docs: add jq and path selection to data operations (#10083)
add-jq-and-path-to-data-operations
* smart transform historical names
* change back to smart transform
* jq expression capitalization/package name
* small edit for clarity of not contains operator
* read/write file component name changes
* docs: add smart router component (#10097)
* init
* add-to-release-notes
* remove-dynamic-output-as-parameter
* Apply suggestion from @aimurphy
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* Apply suggestion from @aimurphy
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* Apply suggestion from @aimurphy
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* Apply suggestion from @aimurphy
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: screenshot audit (#10166)
* remove-unused
* agent-examples
* main-ui-screenshots
* components-screenshots
* combine-web-search-components
* simple-agent-flow-in-playground
* round-screenshots
* my-projects
* combine-data-components
* docs: component paths updates for lfx (#10130)
* contributing-bundles-path
* api-monitor-example
* concepts-components-page
* contribute-components-path
* Apply suggestion from @aimurphy
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: auto-add projects as MCP servers (#10096)
* add-mcp-auto-auth-as-default-behavior
* Apply suggestion from @aimurphy
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* Apply suggestion from @aimurphy
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: Edwin Jose <edwin.jose@datastax.com>
* docs: amazon bedrock converse (#10289)
* use-bedrock-converse
* Apply suggestion from @aimurphy
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* Update docs/docs/Components/bundles-amazon.mdx
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs 1.7 release: add mock data component (#10288)
* add-component-and-release-note
* Apply suggestion from @aimurphy
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: update custom component docs (#10323)
* add-partial
* update-lfx-component-paths
* move-partial
* completed-quickstart
* clean up intro
* try-docker-with-custom-mount
* up-to-typed-annotations
* typed-annotations
* dynamic-fields
* end-of-file
* bundles-naming
* chore: update component index
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* docs: add cometapi back for 1.7 release (#10445)
* add-comet-bundle-back-for-1.7
* add-comet-to-release-notes
* docs: add back docling remote vlm for release 1.7 (#10489)
* add-back-docling-vlm-content
* add-release-note
* docs: ALTK component (#10511)
* broken-anchor
* sidebar-and-page
* add-release-note
* add-context-on-output
* docs: SSRF warning (#10573)
* add-ssrf-protection-env-var
* api-request-component
* Update docs/docs/Components/components-data.mdx
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* move-note-to-table
* release-note
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: dynamic create data component (#10517)
* add-dynamic-create-data-component-and-release-note
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* clarify-message-types
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: cuga component bundle (#10589)
* initlal-content
* cuga-specific-component-connections
* cleanup
* use-the-same-name
* add-lite-mode-remove-api-flag-and-mode
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* public-or-private-internet
* agent-doesnt-check-urls
* peer-review
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: remove docling vlm component from 1.7 release branch (#10630)
remove-vlm-component
* docs: rename component categories and make all components single pages (#10648)
* docs: OpenAPI spec version upgraded from 1.6.5 to 1.6.8 (#10627)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
* up to models and agents
* sidebars
* fix-broken-links
* chore: Fix indentation on bundles-docling.mdx (#10640)
* sidebars
* redo-intros
* link-to-models
* data-components
* files-components-no-kb
* io-components
* helper-utility-components
* llm-ops-components
* logic-components
* processing-pages
* sidebars
* combine-legacy-components-into-one-page
* update-links
* remove-overview-pages-and-redirect
* make-mcp-tools-page
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* no-cap
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: combined web search component (#10664)
* combine-pages
* remove-rss-and-news-search-and-update-links
* remove-vlm-link
* leave-old-release-note-but-remove-link
* docs: add altk reflection component (#10660)
* add-new-component
* differentiate-components
* docs: mcp streamable http client (#10621)
* release note
* mcp-client-changes
* update-astra-example
* icons-and-copy
* order-of-names
* docs: add cuga decomposition strategy as advanced parameter (#10672)
* update-component-link
* init
* add-decomp-as-advanced-param
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* [autofix.ci] apply automated fixes (attempt 3/3)
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* update-component-index
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* [autofix.ci] apply automated fixes (attempt 3/3)
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: datastax bundles page (#10686)
* init
* 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>
* docs: llm router changed to llm selector (#10663)
* update-component-name
* previous-name-and-release-note
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* [autofix.ci] apply automated fixes (attempt 3/3)
* docs: log alembic to stdout (#10711)
* docs-alembic-log-env-var
* cleanup
* remove-legacy-component-link
* docs: configure s3 for file storage backend (#10678)
* configure-file-storage-s3
* 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>
* clarify-s3-credentials
* add-storage-tags-and-cleanup-creds-seciton
* role-link-name
* fix-parse-error
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: allow rest tweaks to mcp tools component (#10833)
* typo
* tweak-mcp-tools-component
* 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>
* add-release-note
* docs: use mustache templates in prompts (#11262)
* mustache-templating
* syntax
* release-note
* peer-review
* docs: smart transform supports Message type (#11306)
* component-supports-message-type
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* peer-review
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: modular dependency imports for langflow-base (#11250)
* modular-base-dependencies
* syntax-and-clarification
* release-note
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* [autofix.ci] apply automated fixes
* clarify-base-and-langflow
* component-index
* delete-component-index
* [autofix.ci] apply automated fixes
* set-agentic-experience
* potential-breaking-changes
* not-audio-package
* cleanup-and-syntax
* 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>
* docs: symmetric and asymmetric JWT (#11159)
* initial-content
* cleanup
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* [autofix.ci] apply automated fixes
* docs-peer-review
* [autofix.ci] apply automated fixes
---------
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>
* docs: add markdown output to url component (#11336)
* add-markdown-output-format
* raw-content
* Apply suggestions from code review
* docs: Add global variable support for MCP server headers (#11397)
* add-global-var-in-mcp-headers
* revert-curl-syntax-change
* remove-duplicate-tab
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* remove-code-block
* add-release-note
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* Update docs/docs/Develop/install-custom-dependencies.mdx
* Update docs/docs/Develop/jwt-authentication.mdx
* docs: global model provider feature (#11231)
* initial-changes-to-model-providers
* add-icon-for-model-partial
* syntax
* adding-custom-language-model
* release-note
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* peer-review
* use-anthropic-model-with-agent
* [autofix.ci] apply automated fixes
* design-changes
---------
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>
* mustache-limitations
* release-note-for-jwt
* docs: playground refactor and screenshots (#11639)
* screenshots
* new-playground-and-icon
* release-note
* 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>
* docs: component inspection panel (#11675)
* docs-component-inspection-panel
* cleanup
* docs: add tool shortlisting and remove web_apps from CUGA component (#11669)
docs-add-shortlist-tools-and-remove-webapps-parameters
* fix-details-tab-error
* docs: workflow API draft build (#11323)
* delete-unused-yaml-file
* initial-content
* add-python-and-ts-to-example-requests
* separate-pages
* test-spec-presentation
* hide-async-and-make-workflows-plural
* fix-broken-link
* add-changes-to-async
* use-workflow-spec-from-sdk-build
* make-setup-partial
* add-fetch-script-for-openapi-spec
* update-workflows-spec
* remove-stream-for-now
* remove-reconnect-to-stream
* consolidate-pages
* remove-force-boolean
* [autofix.ci] apply automated fixes
* docs: add guardrails component (#11674)
* docs-add-guardrails-component
* cleanup
* example-and-heuristic-check
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* [autofix.ci] apply automated fixes
* add-note-about-llm
* add-release-note
---------
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>
* docs: pass env var to run command and endpoint as header (#11447)
* pass-env-var-to-lfx
* add-env-var-passing-to-run-endpoint
* add-python-and-js-commands
* docs: responses api token usage tracking (#11564)
* initlal-content
* add-release-note
* changes-for-accessing-advanced-parameters
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* small-playground-changes
* [autofix.ci] apply automated fixes
* Revert "docs: OpenAPI spec content updated without version change (#11787)"
This reverts commit a0d5618ac9.
* [autofix.ci] apply automated fixes
* docs: add LiteLLM proxy bundle (#11867)
* docs-add-litellm-proxy-component
* Update docs/docs/Components/bundles-lite-llm.mdx
* docs: 1.8 changes from QA (#11998)
* remove-rightside-playground
* tutorials
* image-size-update
* component-release-notes
* 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>
* docs: pass API keys to args and not env (#11997)
* remove-rightside-playground
* tutorials
* image-size-update
* docs-troubleshoot-mcp-proxy-header-keys
* 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>
* docs: knowledge bases (#11924)
* docs-add-back-kb-content
* update-with-release-candidate-branch
* fix-linking-error
* remove-advanced-flag
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* add-release-note
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: traces v0 (#12014)
* env-var-release-note-and-sidebars
* traces-and-database
* traces-ui-and-api-retrieval
* cleanup
* space
* move-section
* move-what-traces-capture-section
* docs: remove kb ingestion and rename kb retrieval (#12065)
remove-knowledge-ingestion-and-rename-knowledge-retrieval
* docs: add link to secret key rotation script (#12072)
* add-link-to-secret-key-rotation
* 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>
* docs: openlayer follow-on (#12073)
* add-openlayer-to-sidebars-and-release-notes
* Update docs/docs/Support/release-notes.mdx
---------
Co-authored-by: April M <36110273+aimurphy@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
524 lines
16 KiB
JavaScript
524 lines
16 KiB
JavaScript
// @ts-check
|
|
// Note: type annotations allow type checking and IDEs autocompletion
|
|
|
|
const path = require("path");
|
|
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",
|
|
onBrokenAnchors: "warn",
|
|
organizationName: "langflow-ai",
|
|
projectName: "langflow",
|
|
trailingSlash: false,
|
|
staticDirectories: ["static"],
|
|
markdown: {
|
|
hooks: {
|
|
onBrokenMarkdownLinks: "warn",
|
|
},
|
|
},
|
|
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
|
|
? [
|
|
// Google Consent Mode - Set defaults before Google tags load
|
|
{
|
|
tagName: "script",
|
|
attributes: {},
|
|
innerHTML: `
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
|
|
// Set default consent to denied
|
|
gtag('consent', 'default', {
|
|
'ad_storage': 'denied',
|
|
'ad_user_data': 'denied',
|
|
'ad_personalization': 'denied',
|
|
'analytics_storage': 'denied'
|
|
});
|
|
`,
|
|
},
|
|
// TrustArc Consent Update Listener
|
|
{
|
|
tagName: "script",
|
|
attributes: {},
|
|
innerHTML: `
|
|
(function() {
|
|
function updateGoogleConsent() {
|
|
if (typeof window.truste !== 'undefined' && window.truste.cma) {
|
|
var consent = window.truste.cma.callApi('getConsent', window.location.href) || {};
|
|
|
|
// Map TrustArc categories to Google consent types
|
|
// Category 0 = Required, 1 = Functional, 2 = Advertising, 3 = Analytics
|
|
var hasAdvertising = consent[2] === 1;
|
|
var hasAnalytics = consent[3] === 1;
|
|
|
|
gtag('consent', 'update', {
|
|
'ad_storage': hasAdvertising ? 'granted' : 'denied',
|
|
'ad_user_data': hasAdvertising ? 'granted' : 'denied',
|
|
'ad_personalization': hasAdvertising ? 'granted' : 'denied',
|
|
'analytics_storage': hasAnalytics ? 'granted' : 'denied'
|
|
});
|
|
}
|
|
}
|
|
|
|
// Listen for consent changes
|
|
if (window.addEventListener) {
|
|
window.addEventListener('cm_data_subject_consent_changed', updateGoogleConsent);
|
|
window.addEventListener('cm_consent_preferences_set', updateGoogleConsent);
|
|
}
|
|
|
|
// Initial check after TrustArc loads
|
|
if (document.readyState === 'complete') {
|
|
updateGoogleConsent();
|
|
} else {
|
|
window.addEventListener('load', updateGoogleConsent);
|
|
}
|
|
})();
|
|
`,
|
|
},
|
|
]
|
|
: []),
|
|
],
|
|
|
|
presets: [
|
|
[
|
|
"@docusaurus/preset-classic",
|
|
/** @type {import('@docusaurus/preset-classic').Options} */
|
|
({
|
|
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: [],
|
|
},
|
|
gtag: {
|
|
trackingID: "G-SLQFLQ3KPT",
|
|
},
|
|
blog: false,
|
|
theme: {
|
|
customCss: [
|
|
require.resolve("@code-hike/mdx/styles.css"),
|
|
require.resolve("./css/custom.css"),
|
|
],
|
|
},
|
|
}),
|
|
],
|
|
[
|
|
"redocusaurus",
|
|
{
|
|
openapi: {
|
|
path: "openapi",
|
|
routeBasePath: "/api",
|
|
},
|
|
specs: [
|
|
{
|
|
id: "api",
|
|
spec: "openapi/openapi.json",
|
|
route: "/api",
|
|
},
|
|
{
|
|
id: "workflow",
|
|
spec: "openapi/langflow-workflows-openapi.json",
|
|
route: "/api/workflow",
|
|
},
|
|
],
|
|
theme: {
|
|
primaryColor: "#7528FC",
|
|
},
|
|
},
|
|
],
|
|
],
|
|
plugins: [
|
|
// Alias so MDX can import code from the Langflow repo with !!raw-loader!@langflow/src/...
|
|
function langflowCodeImportPlugin(context) {
|
|
return {
|
|
name: "langflow-code-import",
|
|
configureWebpack() {
|
|
return {
|
|
resolve: {
|
|
alias: {
|
|
"@langflow": path.resolve(context.siteDir, ".."),
|
|
},
|
|
},
|
|
};
|
|
},
|
|
};
|
|
},
|
|
["docusaurus-node-polyfills", { excludeAliases: ["console"] }],
|
|
"docusaurus-plugin-image-zoom",
|
|
["./src/plugins/segment", { segmentPublicWriteKey: process.env.SEGMENT_PUBLIC_WRITE_KEY, allowedInDev: true }],
|
|
[
|
|
"@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",
|
|
"/components-processing",
|
|
"/components-data",
|
|
"/components-files",
|
|
"/components-logic",
|
|
"/components-tools",
|
|
"/components-io",
|
|
"/components-helpers",
|
|
"/components-memories",
|
|
],
|
|
},
|
|
{
|
|
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: "/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",
|
|
"/integrations-google-big-query",
|
|
],
|
|
},
|
|
{
|
|
to: "/bundles-vertexai",
|
|
from: "/integrations-setup-google-cloud-vertex-ai-langflow",
|
|
},
|
|
{
|
|
to: "/develop-application",
|
|
from: "/develop-overview",
|
|
},
|
|
{
|
|
to: "/data-types",
|
|
from: "/concepts-objects",
|
|
},
|
|
{
|
|
to: "/bundles-apify",
|
|
from: "/integrations-apify",
|
|
},
|
|
{
|
|
to: "/bundles-assemblyai",
|
|
from: "/integrations-assemblyai",
|
|
},
|
|
{
|
|
to: "/bundles-cleanlab",
|
|
from: "/integrations-cleanlab",
|
|
},
|
|
{
|
|
to: "/bundles-composio",
|
|
from: "/integrations-composio",
|
|
},
|
|
{
|
|
to: "/bundles-docling",
|
|
from: "/integrations-docling",
|
|
},
|
|
{
|
|
to: "/bundles-notion",
|
|
from: [
|
|
"/integrations/notion/setup",
|
|
"/integrations/notion/notion-agent-meeting-notes",
|
|
"/integrations/notion/notion-agent-conversational",
|
|
],
|
|
},
|
|
{
|
|
to: "/bundles-nvidia",
|
|
from: [
|
|
"/integrations-nvidia-ingest-wsl2",
|
|
"/integrations-nvidia-ingest",
|
|
"/integrations-nvidia-g-assist",
|
|
"/integrations-nvidia-system-assist",
|
|
]
|
|
}
|
|
// 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': 'UI Interaction',
|
|
'data-action': 'clicked',
|
|
'data-channel': 'docs',
|
|
'data-element-id': 'social-github',
|
|
'data-namespace': 'header',
|
|
'data-platform-title': 'Langflow'
|
|
},
|
|
{
|
|
position: "right",
|
|
href: "https://twitter.com/langflow_ai",
|
|
className: "header-twitter-link",
|
|
target: "_blank",
|
|
rel: null,
|
|
'data-event': 'UI Interaction',
|
|
'data-action': 'clicked',
|
|
'data-channel': 'docs',
|
|
'data-element-id': 'social-twitter',
|
|
'data-namespace': 'header',
|
|
'data-platform-title': 'Langflow'
|
|
},
|
|
{
|
|
position: "right",
|
|
href: "https://discord.gg/EqksyE2EX9",
|
|
className: "header-discord-link",
|
|
target: "_blank",
|
|
rel: null,
|
|
'data-event': 'UI Interaction',
|
|
'data-action': 'clicked',
|
|
'data-channel': 'docs',
|
|
'data-element-id': 'social-discord',
|
|
'data-namespace': 'header',
|
|
'data-platform-title': 'Langflow'
|
|
},
|
|
],
|
|
},
|
|
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,
|
|
autoCollapseCategories: true,
|
|
},
|
|
},
|
|
footer: {
|
|
links: [
|
|
{
|
|
title: null,
|
|
items: [
|
|
{
|
|
html: `<div class="footer-links">
|
|
<span>© ${new Date().getFullYear()} Langflow</span>
|
|
<span id="preferenceCenterContainer"> · <a href="#" onclick="if(typeof window !== 'undefined' && window.truste && window.truste.eu && window.truste.eu.clickListener) { window.truste.eu.clickListener(); } return false;" style="cursor: pointer;">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;
|