update
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"label": "Hi-Openwrt",
|
"label": "Hi-OP使用指南",
|
||||||
"position": 5,
|
"position": 5,
|
||||||
"link": {
|
"link": {
|
||||||
"type": "generated-index"
|
"type": "generated-index"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"label": "NAS Skill",
|
"label": "NAS 进阶指南",
|
||||||
"position": 4,
|
"position": 4,
|
||||||
"link": {
|
"link": {
|
||||||
"type": "generated-index"
|
"type": "generated-index"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"label": "How to Flash STB",
|
"label": "机顶盒刷机教程",
|
||||||
"position": 2,
|
"position": 2,
|
||||||
"link": {
|
"link": {
|
||||||
"type": "generated-index",
|
"type": "generated-index",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"label": "NAS Basic",
|
"label": "NAS 入门指南",
|
||||||
"position": 3,
|
"position": 3,
|
||||||
"link": {
|
"link": {
|
||||||
"type": "generated-index"
|
"type": "generated-index"
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
|
|||||||
const config = {
|
const config = {
|
||||||
title: '海思机顶盒 NAS 教程',
|
title: '海思机顶盒 NAS 教程',
|
||||||
tagline: '一个极低功耗的 Linux 服务器',
|
tagline: '一个极低功耗的 Linux 服务器',
|
||||||
url: 'https://doc.ecoo.top/',
|
url: 'https://doc.ecoo.top',
|
||||||
baseUrl: '/',
|
baseUrl: '/docs/',
|
||||||
onBrokenLinks: 'throw',
|
onBrokenLinks: 'throw',
|
||||||
onBrokenMarkdownLinks: 'warn',
|
onBrokenMarkdownLinks: 'warn',
|
||||||
favicon: 'img/favicon.ico',
|
favicon: 'img/favicon.ico',
|
||||||
@@ -60,7 +60,7 @@ const config = {
|
|||||||
title: 'histb doc',
|
title: 'histb doc',
|
||||||
logo: {
|
logo: {
|
||||||
alt: 'histb Logo',
|
alt: 'histb Logo',
|
||||||
src: 'img/logo.svg',
|
src: './img/logo.svg',
|
||||||
},
|
},
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
@@ -74,7 +74,7 @@ const config = {
|
|||||||
label: '社区论坛',
|
label: '社区论坛',
|
||||||
position: 'left',
|
position: 'left',
|
||||||
},
|
},
|
||||||
{to: '/blog', label: '作者博客', position: 'left'},
|
{to: './blog', label: '作者博客', position: 'left'},
|
||||||
{
|
{
|
||||||
href: 'https://github.com/teasiu/doc',
|
href: 'https://github.com/teasiu/doc',
|
||||||
label: 'GitHub',
|
label: 'GitHub',
|
||||||
@@ -90,7 +90,7 @@ const config = {
|
|||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
label: '教程',
|
label: '教程',
|
||||||
to: '/docs/intro',
|
to: './docs/intro',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@@ -116,7 +116,7 @@ const config = {
|
|||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
label: '作者博客',
|
label: '作者博客',
|
||||||
to: '/blog',
|
to: './blog',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'GitHub',
|
label: 'GitHub',
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import clsx from 'clsx';
|
|||||||
import Link from '@docusaurus/Link';
|
import Link from '@docusaurus/Link';
|
||||||
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
|
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
|
||||||
import Layout from '@theme/Layout';
|
import Layout from '@theme/Layout';
|
||||||
|
import useBaseUrl from "@docusaurus/useBaseUrl";
|
||||||
import HomepageFeatures from '@site/src/components/HomepageFeatures';
|
import HomepageFeatures from '@site/src/components/HomepageFeatures';
|
||||||
|
|
||||||
import styles from './index.module.css';
|
import styles from './index.module.css';
|
||||||
@@ -17,7 +18,8 @@ function HomepageHeader() {
|
|||||||
<div className={styles.buttons}>
|
<div className={styles.buttons}>
|
||||||
<Link
|
<Link
|
||||||
className="button button--secondary button--lg"
|
className="button button--secondary button--lg"
|
||||||
to="/docs/intro">
|
to={useBaseUrl("docs/intro")}
|
||||||
|
>
|
||||||
我是小盒子 也是大世界
|
我是小盒子 也是大世界
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user