docs: change the hub slug into /docs and the latests /docs into /framework

This commit is contained in:
Arista Indrajaya 2024-03-04 12:42:59 +07:00
parent fabc279db6
commit 3ca6699d54
28 changed files with 8 additions and 29 deletions

View File

@ -1,6 +1,6 @@
---
title: Overview
slug: /docs
slug: /framework
---
The following low-level docs are aimed at core contributors.

View File

Before

Width:  |  Height:  |  Size: 105 KiB

After

Width:  |  Height:  |  Size: 105 KiB

View File

Before

Width:  |  Height:  |  Size: 402 KiB

After

Width:  |  Height:  |  Size: 402 KiB

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

Before

Width:  |  Height:  |  Size: 172 KiB

After

Width:  |  Height:  |  Size: 172 KiB

View File

Before

Width:  |  Height:  |  Size: 629 KiB

After

Width:  |  Height:  |  Size: 629 KiB

View File

Before

Width:  |  Height:  |  Size: 105 KiB

After

Width:  |  Height:  |  Size: 105 KiB

View File

Before

Width:  |  Height:  |  Size: 96 KiB

After

Width:  |  Height:  |  Size: 96 KiB

View File

@ -293,13 +293,9 @@ const config = {
{
type: "dropdown",
label: "Docs",
to: "docs",
position: "right",
items: [
{
type: "docSidebar",
sidebarId: "quickstartSidebar",
label: "Quickstart",
},
{
type: "docSidebar",
sidebarId: "guidesSidebar",
@ -314,18 +310,13 @@ const config = {
to: "/api-reference",
label: "API Reference",
},
{
type: "docSidebar",
sidebarId: "docsSidebar",
label: "Framework",
},
// {
// type: "docSidebar",
// sidebarId: "docsSidebar",
// label: "Framework",
// },
],
},
{
to: "trial",
label: "Trial",
position: "right",
},
{
to: "blog",
label: "Blog",

View File

@ -162,18 +162,6 @@ const sidebars = {
dirName: "developer",
},
],
docsSidebar: [
{
type: "autogenerated",
dirName: "docs",
},
],
quickstartSidebar: [
{
type: "autogenerated",
dirName: "quickstart",
},
]
};
module.exports = sidebars;

View File

@ -2,7 +2,7 @@ import clsx from 'clsx'
import useDocusaurusContext from '@docusaurus/useDocusaurusContext'
import Layout from '@theme/Layout'
import Heading from '@theme/Heading'
import styles from './trial.module.css'
import styles from './docs.module.css'
import HomepagePrimaryFeatures from '../components/HomepagePrimaryFeatures'
import HomepageSecondaryFeatures from '../components/HomepageSecondaryFeatures'
import HomepageTerinaryFeatures from '../components/HomepageTerinaryFeatures'