https://docusaurus.io/docs/en/installation.html
安装
npm install --global docusaurus-init
//初始化
docusaurus-init
root-of-repo
├── docs-examples-from-docusaurus
│ └── doc1.md
│ └── doc2.md
│ └── doc3.md
│ └── exampledoc4.md
│ └── exampledoc5.md
└── website
│ └── blog-examples-from-docusaurus
│ └── 2016-03-11-blog-post.md
│ └── 2017-04-10-blog-post-two.md
│ └── core
│ └── Footer.js
│ └── node_modules
│ └── package.json
│ └── pages
│ └── sidebars.json
│ └── siteConfig.js
│ └── static
2.重命名
docs-examples-from-docusaurus改 docs
website / blog-examples-from-docusaurus 改 blog
npm start
http://localhost:3000/
website/core/Footer.js //footer 网页底部
website/blog
/ 2016-03-11-blog-post.md
---
title: Blog Title
author: Blog Author
authorURL: http://twitter.com/
authorFBID: 100002976521003
---
docs
---
id: doc1
title: Latin-ish
sidebar_label: Example Page
---
website/pages
网友评论