- Markdown site generator for React.
- You only just write Markdown out of the box.
- Generate menu autoly based files directory.
- Configuration customly.
Get Started Immediately You don't need to install or configure tools like webpack or Babel. They are preconfigured and hidden so that you can focus on the doc.
Create a project, and you’re good to go.
create-react-doc is very easy to use, you only install it as a package so that you can create your own website or blog. Let's start!
Install create-react-doc
to global system,make sure Node >= 8
in your computer.
npm install create-react-doc -g
- init project.
react-doc init doc
- run.
cd doc && npm install
npm start
- build static html resource.
npm run build
- config deploy url in
package.json
.
{
"scripts": {
"deploy": "react-doc --deploy"
...
},
...
}
- deploy your own website.
npm run deploy
Usage: react-doc [options]
Options:
-i, init [path] Create an empty website or reinitialize an existing one.
start Documents generated.
build Build the documents generated.
deploy Deploy site to gh-page.
-h, --help help document.