From 7e7b6b158c67a10c6c66d64b17e6b9b069a27b1c Mon Sep 17 00:00:00 2001
From: wanjia <553039491@qq.com>
Date: Wed, 15 Mar 2023 10:38:43 +0800
Subject: [PATCH] init
---
.gitignore | 23 +
babel.config.js | 3 +
blog/2018-08-08-first-post.md | 11 +
blog/2019-05-28-hola.md | 11 +
blog/2019-05-29-hello-world.md | 17 +
blog/2019-05-30-welcome.md | 13 +
blog/2021-07-20-last-post.md | 11 +
docs/intro.md | 35 +
docs/tutorial-basics/_category_.json | 4 +
docs/tutorial-basics/congratulations.md | 21 +
docs/tutorial-basics/create-a-blog-post.md | 29 +
docs/tutorial-basics/create-a-document.md | 55 +
docs/tutorial-basics/create-a-page.md | 43 +
docs/tutorial-basics/deploy-your-site.md | 31 +
docs/tutorial-basics/markdown-features.mdx | 144 +
docs/tutorial-extras/_category_.json | 4 +
docs/tutorial-extras/manage-docs-versions.md | 55 +
docs/tutorial-extras/translate-your-site.md | 88 +
docusaurus.config.js | 117 +
package.json | 42 +
sidebars.js | 26 +
src/components/HomepageFeatures.js | 64 +
src/components/HomepageFeatures.module.css | 13 +
src/css/custom.css | 29 +
src/pages/index.js | 33 +
src/pages/index.module.css | 25 +
src/pages/markdown-page.md | 7 +
static/.nojekyll | 0
static/img/docusaurus.png | Bin 0 -> 5142 bytes
static/img/dynamic-antd-theme.png | Bin 0 -> 79201 bytes
static/img/favicon.ico | Bin 0 -> 3626 bytes
static/img/logo.png | Bin 0 -> 8546 bytes
static/img/logo.svg | 1 +
static/img/mini-dynamic-antd-theme.png | Bin 0 -> 101422 bytes
static/img/next-antd-scaffold.jpg | Bin 0 -> 168874 bytes
static/img/tutorial/brand.png | Bin 0 -> 8546 bytes
static/img/tutorial/docsVersionDropdown.png | Bin 0 -> 25102 bytes
static/img/tutorial/localeDropdown.png | Bin 0 -> 30020 bytes
static/img/undraw_docusaurus_mountain.svg | 170 +
static/img/undraw_docusaurus_react.svg | 169 +
static/img/undraw_docusaurus_tree.svg | 1 +
yarn.lock | 9067 ++++++++++++++++++
42 files changed, 10362 insertions(+)
create mode 100644 .gitignore
create mode 100644 babel.config.js
create mode 100644 blog/2018-08-08-first-post.md
create mode 100644 blog/2019-05-28-hola.md
create mode 100644 blog/2019-05-29-hello-world.md
create mode 100644 blog/2019-05-30-welcome.md
create mode 100644 blog/2021-07-20-last-post.md
create mode 100644 docs/intro.md
create mode 100644 docs/tutorial-basics/_category_.json
create mode 100644 docs/tutorial-basics/congratulations.md
create mode 100644 docs/tutorial-basics/create-a-blog-post.md
create mode 100644 docs/tutorial-basics/create-a-document.md
create mode 100644 docs/tutorial-basics/create-a-page.md
create mode 100644 docs/tutorial-basics/deploy-your-site.md
create mode 100644 docs/tutorial-basics/markdown-features.mdx
create mode 100644 docs/tutorial-extras/_category_.json
create mode 100644 docs/tutorial-extras/manage-docs-versions.md
create mode 100644 docs/tutorial-extras/translate-your-site.md
create mode 100644 docusaurus.config.js
create mode 100644 package.json
create mode 100644 sidebars.js
create mode 100644 src/components/HomepageFeatures.js
create mode 100644 src/components/HomepageFeatures.module.css
create mode 100644 src/css/custom.css
create mode 100644 src/pages/index.js
create mode 100644 src/pages/index.module.css
create mode 100644 src/pages/markdown-page.md
create mode 100644 static/.nojekyll
create mode 100644 static/img/docusaurus.png
create mode 100644 static/img/dynamic-antd-theme.png
create mode 100644 static/img/favicon.ico
create mode 100644 static/img/logo.png
create mode 100644 static/img/logo.svg
create mode 100644 static/img/mini-dynamic-antd-theme.png
create mode 100644 static/img/next-antd-scaffold.jpg
create mode 100644 static/img/tutorial/brand.png
create mode 100644 static/img/tutorial/docsVersionDropdown.png
create mode 100644 static/img/tutorial/localeDropdown.png
create mode 100644 static/img/undraw_docusaurus_mountain.svg
create mode 100644 static/img/undraw_docusaurus_react.svg
create mode 100644 static/img/undraw_docusaurus_tree.svg
create mode 100644 yarn.lock
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..85abeed
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,23 @@
+# deploy
+deploy.sh
+
+# Dependencies
+/node_modules
+
+# Production
+/build
+
+# Generated files
+.docusaurus
+.cache-loader
+
+# Misc
+.DS_Store
+.env.local
+.env.development.local
+.env.test.local
+.env.production.local
+
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
diff --git a/babel.config.js b/babel.config.js
new file mode 100644
index 0000000..e00595d
--- /dev/null
+++ b/babel.config.js
@@ -0,0 +1,3 @@
+module.exports = {
+ presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
+};
diff --git a/blog/2018-08-08-first-post.md b/blog/2018-08-08-first-post.md
new file mode 100644
index 0000000..52cb642
--- /dev/null
+++ b/blog/2018-08-08-first-post.md
@@ -0,0 +1,11 @@
+---
+slug: first-post
+title: First Post
+author: luffyZh
+author_title: 第一篇文章 @ Facebook
+author_url: https://github.com/luffyZh
+author_image_url: https://avatars.githubusercontent.com/u/17840558?s=60&v=4
+tags: [test]
+---
+
+## 第一篇文章
\ No newline at end of file
diff --git a/blog/2019-05-28-hola.md b/blog/2019-05-28-hola.md
new file mode 100644
index 0000000..4adbc32
--- /dev/null
+++ b/blog/2019-05-28-hola.md
@@ -0,0 +1,11 @@
+---
+slug: hola
+title: Hola
+author: Gao Wei
+author_title: Docusaurus Core Team
+author_url: https://github.com/wgao19
+author_image_url: https://avatars1.githubusercontent.com/u/2055384?v=4
+tags: [hola, docusaurus]
+---
+
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
diff --git a/blog/2019-05-29-hello-world.md b/blog/2019-05-29-hello-world.md
new file mode 100644
index 0000000..6fd2083
--- /dev/null
+++ b/blog/2019-05-29-hello-world.md
@@ -0,0 +1,17 @@
+---
+slug: hello-world
+title: Hello
+author: Endilie Yacop Sucipto
+author_title: Maintainer of Docusaurus
+author_url: https://github.com/endiliey
+author_image_url: https://avatars1.githubusercontent.com/u/17883920?s=460&v=4
+tags: [hello, docusaurus]
+---
+
+Welcome to this blog. This blog is created with [**Docusaurus 2**](https://docusaurus.io/).
+
+
+
+This is a test post.
+
+A whole bunch of other information.
diff --git a/blog/2019-05-30-welcome.md b/blog/2019-05-30-welcome.md
new file mode 100644
index 0000000..d35d57b
--- /dev/null
+++ b/blog/2019-05-30-welcome.md
@@ -0,0 +1,13 @@
+---
+slug: welcome
+title: Welcome
+author: Yangshun Tay
+author_title: Front End Engineer @ Facebook
+author_url: https://github.com/yangshun
+author_image_url: https://avatars0.githubusercontent.com/u/1315101?s=400&v=4
+tags: [facebook, hello, docusaurus]
+---
+
+Blog features are powered by the blog plugin. Simply add files to the `blog` directory. It supports tags as well!
+
+Delete the whole directory if you don't want the blog features. As simple as that!
diff --git a/blog/2021-07-20-last-post.md b/blog/2021-07-20-last-post.md
new file mode 100644
index 0000000..9f735ed
--- /dev/null
+++ b/blog/2021-07-20-last-post.md
@@ -0,0 +1,11 @@
+---
+slug: last-post
+title: Last Post
+author: luffyZh
+author_title: 最后一篇文章 @ Facebook
+author_url: https://github.com/yangshun
+author_image_url: https://avatars.githubusercontent.com/u/17840558?s=60&v=4
+tags: [test]
+---
+
+## 我是最后一篇文章
\ No newline at end of file
diff --git a/docs/intro.md b/docs/intro.md
new file mode 100644
index 0000000..03b6b8b
--- /dev/null
+++ b/docs/intro.md
@@ -0,0 +1,35 @@
+---
+sidebar_position: 1
+---
+
+# Tutorial Intro
+
+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/intro.md` and edit some lines: the site **reloads automatically** and display your changes.
diff --git a/docs/tutorial-basics/_category_.json b/docs/tutorial-basics/_category_.json
new file mode 100644
index 0000000..135e4a6
--- /dev/null
+++ b/docs/tutorial-basics/_category_.json
@@ -0,0 +1,4 @@
+{
+ "label": "Tutorial - Basics",
+ "position": 2
+}
diff --git a/docs/tutorial-basics/congratulations.md b/docs/tutorial-basics/congratulations.md
new file mode 100644
index 0000000..9ef99bb
--- /dev/null
+++ b/docs/tutorial-basics/congratulations.md
@@ -0,0 +1,21 @@
+---
+sidebar_position: 6
+---
+
+# Congratulations!
+
+You have just learned the **basics of Docusaurus** and made some changes to the **initial template**.
+
+Docusaurus has **much more to offer**!
+
+Have **5 more minutes**? Take a look at **[versioning](../tutorial-extras/manage-docs-versions.md)** and **[i18n](../tutorial-extras/translate-your-site.md)**.
+
+Anything **unclear** or **buggy** in this tutorial? [Please report it!](https://github.com/facebook/docusaurus/discussions/4610)
+
+## What's next?
+
+- Read the [official documentation](https://docusaurus.io/).
+- Add a custom [Design and Layout](https://docusaurus.io/docs/styling-layout)
+- Add a [search bar](https://docusaurus.io/docs/search)
+- Find inspirations in the [Docusaurus showcase](https://docusaurus.io/showcase)
+- Get involved in the [Docusaurus Community](https://docusaurus.io/community/support)
diff --git a/docs/tutorial-basics/create-a-blog-post.md b/docs/tutorial-basics/create-a-blog-post.md
new file mode 100644
index 0000000..d893e1c
--- /dev/null
+++ b/docs/tutorial-basics/create-a-blog-post.md
@@ -0,0 +1,29 @@
+---
+sidebar_position: 3
+---
+
+# Create a Blog Post
+
+Docusaurus creates a **page for each blog post**, but also a **blog index page**, a **tag system**, an **RSS** feed...
+
+## Create your first Post
+
+Create a file at `blog/2021-02-28-greetings.md`:
+
+```md title="blog/2021-02-28-greetings.md"
+---
+slug: greetings
+title: Greetings!
+author: Steven Hansel
+author_title: Docusaurus Contributor
+author_url: https://github.com/ShinteiMai
+author_image_url: https://github.com/ShinteiMai.png
+tags: [greetings]
+---
+
+Congratulations, you have made your first post!
+
+Feel free to play around and edit this post as much you like.
+```
+
+A new blog post is now available at `http://localhost:3000/blog/greetings`.
diff --git a/docs/tutorial-basics/create-a-document.md b/docs/tutorial-basics/create-a-document.md
new file mode 100644
index 0000000..b4a072e
--- /dev/null
+++ b/docs/tutorial-basics/create-a-document.md
@@ -0,0 +1,55 @@
+---
+sidebar_position: 2
+---
+
+# Create a Document
+
+Documents are **groups of pages** connected through:
+
+- a **sidebar**
+- **previous/next navigation**
+- **versioning**
+
+## Create your first Doc
+
+Create a markdown file at `docs/hello.md`:
+
+```md title="docs/hello.md"
+# Hello
+
+This is my **first Docusaurus document**!
+```
+
+A new document is now available at `http://localhost:3000/docs/hello`.
+
+## Configure the Sidebar
+
+Docusaurus automatically **creates a sidebar** from the `docs` folder.
+
+Add metadatas to customize the sidebar label and position:
+
+```md title="docs/hello.md" {1-4}
+---
+sidebar_label: 'Hi!'
+sidebar_position: 3
+---
+
+# Hello
+
+This is my **first Docusaurus document**!
+```
+
+It is also possible to create your sidebar explicitly in `sidebars.js`:
+
+```diff title="sidebars.js"
+module.exports = {
+ tutorialSidebar: [
+ {
+ type: 'category',
+ label: 'Tutorial',
+- items: [...],
++ items: ['hello'],
+ },
+ ],
+};
+```
diff --git a/docs/tutorial-basics/create-a-page.md b/docs/tutorial-basics/create-a-page.md
new file mode 100644
index 0000000..e112b00
--- /dev/null
+++ b/docs/tutorial-basics/create-a-page.md
@@ -0,0 +1,43 @@
+---
+sidebar_position: 1
+---
+
+# Create a Page
+
+Add **Markdown or React** files to `src/pages` to create a **standalone page**:
+
+- `src/pages/index.js` -> `localhost:3000/`
+- `src/pages/foo.md` -> `localhost:3000/foo`
+- `src/pages/foo/bar.js` -> `localhost:3000/foo/bar`
+
+## Create your first React Page
+
+Create a file at `src/pages/my-react-page.js`:
+
+```jsx title="src/pages/my-react-page.js"
+import React from 'react';
+import Layout from '@theme/Layout';
+
+export default function MyReactPage() {
+ return (
+ This is a React pageMy React page
+
{description}
+{siteConfig.tagline}
+车到山前必有路,船到桥头自然直~
+&L{&Gf6-TKsE35Pv%1
z;bJcxPO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