Merge pull request #154 from open-webui/fix-pipes-docs

This commit is contained in:
Timothy Jaeryang Baek 2024-07-20 21:52:24 +02:00 committed by GitHub
commit 4909e4f426
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 22 additions and 17 deletions

View File

@ -1,5 +1,5 @@
--- ---
sidebar_position: 2 sidebar_position: 1
title: "🚀 Getting Started" title: "🚀 Getting Started"
--- ---

View File

@ -1,5 +1,5 @@
--- ---
sidebar_position: 1 sidebar_position: 3
title: "Filter Pipelines" title: "Filter Pipelines"
--- ---
@ -8,7 +8,7 @@ Filters are used to perform actions against incoming user messages and outgoing
<p align="center"> <p align="center">
<a href="#"> <a href="#">
<img src="/static/img/pipelines/filters.png" alt="Filter Workflow" /> <img src="/img/pipelines/filters.png" alt="Filter Workflow" />
</a> </a>
</p> </p>

View File

@ -1,3 +1,8 @@
---
sidebar_position: 1
title: "⚡ Pipelines"
---
import { TopBanners } from "@site/src/components/TopBanners"; import { TopBanners } from "@site/src/components/TopBanners";
<TopBanners /> <TopBanners />

View File

@ -8,6 +8,6 @@ Pipes are functions that can be used to perform actions prior to returning LLM m
<p align="center"> <p align="center">
<a href="#"> <a href="#">
<img src="/static/img/pipelines/pipes.png" alt="Pipe Workflow" /> <img src="/img/pipelines/pipes.png" alt="Pipe Workflow" />
</a> </a>
</p> </p>

View File

@ -1,5 +1,5 @@
--- ---
sidebar_position: 3 sidebar_position: 4
title: "Tutorials" title: "Tutorials"
--- ---

View File

@ -72,12 +72,12 @@ const config: Config = {
srcDark: "img/logo-dark.png", srcDark: "img/logo-dark.png",
}, },
items: [ items: [
{ // {
type: "docSidebar", // type: "docSidebar",
position: "left", // position: "left",
sidebarId: "pipelines", // sidebarId: "pipelines",
label: "Pipelines", // label: "Pipelines",
}, // },
// { // {
// type: "docSidebar", // type: "docSidebar",

View File

@ -14,12 +14,12 @@ import type { SidebarsConfig } from "@docusaurus/plugin-content-docs";
const sidebars: SidebarsConfig = { const sidebars: SidebarsConfig = {
// By default, Docusaurus generates a sidebar from the docs folder structure // By default, Docusaurus generates a sidebar from the docs folder structure
tutorialSidebar: [{ type: "autogenerated", dirName: "." }], tutorialSidebar: [{ type: "autogenerated", dirName: "." }],
pipelines: [ // pipelines: [
{ // {
type: "autogenerated", // type: "autogenerated",
dirName: "pipelines", // dirName: "pipelines",
}, // },
], // ],
// But you can create a sidebar manually // But you can create a sidebar manually
/* /*