@@ -106,3 +106,5 @@ dist
|
||||
.docusaurus
|
||||
|
||||
build
|
||||
|
||||
.idea
|
||||
@@ -34,7 +34,7 @@
|
||||
```
|
||||
|
||||
|
||||
## [三]、运行启动(默认使用H2数据库,可以在配置文件切换MYSQL)
|
||||
## [三]、运行启动
|
||||
|
||||
```
|
||||
// 1、代码导入IDE
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"label": "LeetCode刷题",
|
||||
"position": 3
|
||||
"position": 4
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"label": "文档教程 - 基础",
|
||||
"position": 4
|
||||
"position": 14
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"label": "文档教程 - 高级",
|
||||
"position": 5
|
||||
"position": 15
|
||||
}
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"label": "React系列",
|
||||
"position": 3
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
# Hello React
|
||||
|
||||
|
||||
|
||||
```shell
|
||||
Hello React
|
||||
|
||||
```
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"label": "Vue系列",
|
||||
"position": 2
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
# Hello Vue
|
||||
|
||||
|
||||
|
||||
```shell
|
||||
Hello Vue
|
||||
|
||||
```
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"label": "技术文档(前端)",
|
||||
"position": 3
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
# 技术文档前端说明
|
||||
|
||||
Let's discover **Docusaurus in less than 5 minutes**.
|
||||
|
||||
## Getting Started
|
||||
|
||||
Get started by **creating a new site**.
|
||||
|
||||
Or **try Docusaurus immediately** with **[new.docusaurus.io](https://new.docusaurus.io)**.
|
||||
|
||||
## Generate a new site
|
||||
|
||||
Generate a new Docusaurus site using the **classic template**:
|
||||
|
||||
```shell
|
||||
npx @docusaurus/init@latest init my-website classic
|
||||
```
|
||||
|
||||
## Start your site
|
||||
|
||||
Run the development server:
|
||||
|
||||
```shell
|
||||
cd my-website
|
||||
|
||||
npx docusaurus start
|
||||
```
|
||||
|
||||
Your site starts at `http://localhost:3000`.
|
||||
|
||||
Open `docs/getting-started.md` and edit some lines: the site **reloads automatically** and display your changes.
|
||||
@@ -14,6 +14,17 @@ module.exports = {
|
||||
locales: ['zh-cn','en'],
|
||||
},
|
||||
themeConfig: {
|
||||
algolia: {
|
||||
apiKey: '204335ce5ba2700fd04046b290498627',
|
||||
indexName: 'code-docs',
|
||||
// Optional: see doc section below
|
||||
contextualSearch: true,
|
||||
// Optional: see doc section below
|
||||
appId: 'D8PEAPGLZ3',
|
||||
// Optional: Algolia search parameters
|
||||
searchParameters: {},
|
||||
//... other Algolia params
|
||||
},
|
||||
navbar: {
|
||||
title: 'CodeDocs 编程文档',
|
||||
logo: {
|
||||
|
||||
Reference in New Issue
Block a user