create-react-doc

0.0.7 • Public • Published

create-react-doc

  • Markdown site generator for React.
  • You only just write Markdown out of the box.
  • Generate menu autoly based files directory.
  • Configuration customly.

Use Case

Quick Overview

Get Started Immediately

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.

Start

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!

Creating a Doc

Install create-react-doc to global system,make sure Node >= 8 in your computer.

npm install create-react-doc -g
  1. init project.
react-doc init doc
  1. run.
cd doc && npm install
npm start
  1. build static html resource.
npm run build
  1. config deploy url in package.json.
{
  "scripts": {
    "deploy": "react-doc --deploy"
    ...
  },
  ...
}
  1. deploy your own website.
npm run deploy

Help

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.

Package Sidebar

Install

npm i create-react-doc@0.0.7

Version

0.0.7

License

MIT

Unpacked Size

601 kB

Total Files

106

Last publish

Collaborators

  • muyunyun