From 3b02b8fc39993588e61a112d033da5ef7a2d3502 Mon Sep 17 00:00:00 2001 From: "qingwei.li" Date: Tue, 20 Dec 2016 22:32:56 +0800 Subject: [PATCH] Update features --- README.md | 48 +++++++++++++++++++++++------------------------- docs/README.md | 6 +++--- 2 files changed, 26 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index 5479efbe..ddbb644d 100644 --- a/README.md +++ b/README.md @@ -19,30 +19,12 @@ - [CLI](https://github.com/QingWei-Li/docsify-cli) ## Features -- Easy and lightweight (~12kb gzipped) -- Custom themes -- No build +- Simple and lightweight (~12kb gzipped) +- Multiple themes +- Not build static html files ## Quick start -Create a `404.html` and `README.md` into `/docs`. - -404.html - -```html - - - - - - - -
- - - -``` - -Or Create a `index.html` and using `hash router`. +Create a `index.html` and using `hash router`. index.html @@ -60,6 +42,12 @@ index.html ``` +Or create a `404.html` and `README.md` into `/docs`. Just remove `data-router` + +```html + +``` + ## CDN - UNPKG [https://unpkg.com/docsify/](https://unpkg.com/docsify/) - jsDelivr [http://www.jsdelivr.com/projects/docsify](http://www.jsdelivr.com/projects/docsify) @@ -70,11 +58,21 @@ These open-source projects are using docsify to generate their sites. Pull reque - [docsify](https://docsify.js.org) - A magical documentation site generator. - [Snipaste](https://docs.snipaste.com/) - A new way to boost your productivity. -## How to contribute +## Contributing - Fork it! -- Run `npm i && npm run dev` -- open `localhost:3000` +- Create your feature branch: git checkout -b my-new-feature +- Commit your changes: git commit -am 'Add some feature' +- Push to the branch: git push origin my-new-feature +- Submit a pull request :D + + +## Development + +```shell +npm i && npm run dev +open http://localhost:3000 +``` ## License MIT diff --git a/docs/README.md b/docs/README.md index 4b3026de..56e713da 100644 --- a/docs/README.md +++ b/docs/README.md @@ -7,9 +7,9 @@

## Features -- Easy and lightweight (~12kb gzipped) -- Custom themes -- No build +- Simple and lightweight (~12kb gzipped) +- Multiple themes +- Not build static html files ## Quick Start