add docs 结构

This commit is contained in:
xie7654
2025-07-05 23:18:24 +08:00
parent 2de86a86a6
commit 6a43b29c1f
26 changed files with 146 additions and 595 deletions

View File

@@ -1,4 +1,4 @@
import type {ReactNode} from 'react';
import React, {ReactNode} from 'react';
import clsx from 'clsx';
import Heading from '@theme/Heading';
import styles from './styles.module.css';
@@ -11,32 +11,29 @@ type FeatureItem = {
const FeatureList: FeatureItem[] = [
{
title: 'Easy to Use',
title: '部门管理与权限控制',
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
description: (
<>
Docusaurus was designed from the ground up to be easily installed and
used to get your website up and running quickly.
</>
),
},
{
title: 'Focus on What Matters',
title: '用户与菜单动态管理',
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
description: (
<>
Docusaurus lets you focus on your docs, and we&apos;ll do the chores. Go
ahead and move your docs into the <code>docs</code> directory.
</>
),
},
{
title: 'Powered by React',
title: '自动化与高效开发',
Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
description: (
<>
Extend or customize your website layout by reusing React. Docusaurus can
be extended while reusing the same header and footer.
Docker
</>
),
},

View File

@@ -20,8 +20,8 @@ function HomepageHeader() {
<div className={styles.buttons}>
<Link
className="button button--secondary button--lg"
to="/docs/intro">
Docusaurus Tutorial - 5min
to="/docs/introduction">
{siteConfig.title} Tutorial
</Link>
</div>
</div>