docs: rename getting-started folder and add redirects (#4813)
* feat: add docusaurus preset for OpenAPI integration * feat: integrate OpenAPI plugins into Docusaurus configuration * plugins * feat: define custom sidebar structure for documentation * fix-folder-name-and-redirect
This commit is contained in:
parent
394cc55ab7
commit
1b3785ee95
19 changed files with 16626 additions and 116 deletions
|
|
@ -29,12 +29,16 @@ const config = {
|
|||
|
||||
presets: [
|
||||
[
|
||||
"@docusaurus/preset-classic",
|
||||
"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: undefined, // `undefined` to create a fully autogenerated sidebar.
|
||||
sidebarPath: require.resolve("./sidebars.js"), // Use sidebars.js file
|
||||
sidebarCollapsed: false,
|
||||
beforeDefaultRemarkPlugins: [
|
||||
[
|
||||
|
|
@ -88,11 +92,19 @@ const config = {
|
|||
from: [
|
||||
"/whats-new-a-new-chapter-langflow",
|
||||
"/👋 Welcome-to-Langflow",
|
||||
"/getting-started-welcome-to-langflow"
|
||||
],
|
||||
},
|
||||
{
|
||||
to: "/getting-started-installation",
|
||||
from: "/getting-started-common-installation-issues",
|
||||
to: "/get-started-installation",
|
||||
from: [
|
||||
"/getting-started-installation",
|
||||
"/getting-started-common-installation-issues",
|
||||
],
|
||||
},
|
||||
{
|
||||
to: "/get-started-quickstart",
|
||||
from: "/getting-started-quickstart",
|
||||
},
|
||||
{
|
||||
to: "/workspace-overview",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue