diff --git a/docs/docusaurus.md b/docs/docusaurus.md
new file mode 100644
index 0000000000..97487e4000
--- /dev/null
+++ b/docs/docusaurus.md
@@ -0,0 +1,26 @@
+---
+id: docusaurus
+title: docusaurus
+---
+
+
+
Docusaurus
+
+
+
+
+
+
+
+
+
+
+
+
+## Introduction
+
+Docusaurus is a project for easily building, deploying, and maintaining open source project websites.
+
+* **Simple to Start** Docusaurus is built to be easy to [get up and running](https://docusaurus.io/docs/en/installation.html) in as little time possible. We've built Docusaurus to handle the website build process so you can focus on your project.
+* **Localizable** Docusaurus ships with [localization support](https://docusaurus.io/docs/en/translation.html) via CrowdIn. Empower and grow your international community by translating your documentation.
+* **Customizable** While Docusaurus ships with the key pages and sections you need to get started, including a home page, a docs section, a [blog](https://docusaurus.io/docs/en/blog.html), and additional support pages, it is also [customizable](https://docusaurus.io/docs/en/custom-pages.html) as well to ensure you have a site that is [uniquely yours](https://docusaurus.io/docs/en/api-pages.html).
\ No newline at end of file
diff --git a/docs/intro.md b/docs/intro.md
deleted file mode 100644
index b420713204..0000000000
--- a/docs/intro.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-id: intro
-title: Introducing Munseo
----
-
-Introducing Munseo :)
\ No newline at end of file
diff --git a/lib/commands/start.js b/lib/commands/start.js
index 284bd45543..8597da303d 100644
--- a/lib/commands/start.js
+++ b/lib/commands/start.js
@@ -31,10 +31,14 @@ module.exports = async function start(siteDir, cliOptions = {}) {
console.error(chalk.red(err.stack));
});
};
- const fsWatcher = chokidar.watch(['../docs/**/*.md', 'siteConfig.js'], {
- cwd: siteDir,
- ignoreInitial: true
- });
+ const docsRelativeDir = props.siteConfig.customDocsPath || 'docs';
+ const fsWatcher = chokidar.watch(
+ [`../${docsRelativeDir}/**/*.md`, 'blog/**/*.md', 'siteConfig.js'],
+ {
+ cwd: siteDir,
+ ignoreInitial: true
+ }
+ );
fsWatcher.on('add', reload);
fsWatcher.on('change', reload);
fsWatcher.on('unlink', reload);
diff --git a/lib/loader/blog.js b/lib/loader/blog.js
index da54415a74..7d5704d53d 100644
--- a/lib/loader/blog.js
+++ b/lib/loader/blog.js
@@ -22,14 +22,14 @@ function parse(fileString) {
return {metadata, content};
}
-async function loadBlog(siteDir) {
- const blogFiles = await globby(['**/*.md', '!.munseo', '!node_modules'], {
- cwd: siteDir
+async function loadBlog(blogDir) {
+ const blogFiles = await globby(['**/*.md'], {
+ cwd: blogDir
});
const blogDatas = await Promise.all(
blogFiles.map(async file => {
- const filepath = path.resolve(siteDir, file);
+ const filepath = path.resolve(blogDir, file);
const fileString = await fs.readFile(filepath, 'utf-8');
const {metadata, content} = parse(fileString);