docsify/README.md

84 lines
2.4 KiB
Markdown
Raw Normal View History

<p align="center">
<a href="https://docsify.js.org">
<img alt="docsify" src="./media/docsify.png">
</a>
</p>
<p align="center">
A magical documentation site generator.
</p>
<p align="center">
2016-12-18 19:43:58 +08:00
<a href="https://travis-ci.org/QingWei-Li/docsify"><img alt="Travis Status" src="https://img.shields.io/travis/rust-lang/rust/master.svg?style=flat-square"></a>
<a href="https://www.npmjs.com/package/docsify"><img alt="npm" src="https://img.shields.io/npm/v/docsify.svg?style=flat-square"></a>
2017-02-12 16:30:45 +08:00
<a href="https://github.com/QingWei-Li/donate"><img alt="donate" src="https://img.shields.io/badge/%24-donate-ff69b4.svg?style=flat-square"></a>
</p>
2016-11-20 15:56:37 +08:00
2016-11-26 18:08:00 +08:00
## Links
2016-11-28 15:39:35 +08:00
- [Documentation](https://docsify.js.org)
2016-11-26 18:08:00 +08:00
- [CLI](https://github.com/QingWei-Li/docsify-cli)
2016-11-26 14:09:06 +08:00
2016-11-20 15:56:37 +08:00
## Features
2017-02-13 22:43:58 +08:00
- Not build static html files
2017-01-04 21:49:16 +08:00
- Simple and lightweight (~13kB gzipped)
2017-02-13 22:43:58 +08:00
- Smart full-text search plugin
2016-12-20 22:32:56 +08:00
- Multiple themes
2017-02-13 22:43:58 +08:00
- Useful plugin API
- Compatible with IE9+
2016-11-20 15:56:37 +08:00
## Quick start
2017-02-05 09:50:08 +08:00
Create a `index.html`.
2016-11-20 15:56:37 +08:00
2016-12-20 22:32:56 +08:00
index.html
2016-11-20 15:56:37 +08:00
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
2016-11-20 22:49:32 +08:00
<link rel="stylesheet" href="//unpkg.com/docsify/themes/vue.css">
2016-11-20 15:56:37 +08:00
</head>
2016-12-17 15:25:03 +08:00
<body>
<div id="app"></div>
</body>
2017-02-05 09:50:08 +08:00
<script src="//unpkg.com/docsify"></script>
2016-11-20 15:56:37 +08:00
</html>
```
2017-02-05 09:50:08 +08:00
## Browser Support
Modern browsers and Internet Explorer 9+.
2016-11-28 14:03:54 +08:00
## Showcase
2016-12-01 10:18:00 +08:00
These open-source projects are using docsify to generate their sites. Pull requests welcome : )
2016-11-28 14:03:54 +08:00
2016-12-01 10:18:00 +08:00
- [Snipaste](https://docs.snipaste.com/) - A new way to boost your productivity.
- [puck](https://puck.zz173.com/) - A small & magical php framework.
2017-01-12 11:32:45 +08:00
- [Samaritan](http://samaritan.stockdb.org) - An Algorithmic Trading Framework for Digital Currency.
- [Vudash](http://vudash.github.io/vudash/) - Powerful, Flexible, Open Source dashboards for anything
2017-01-17 08:05:12 +08:00
- [Trilogy](http://trilogy.js.org) - No-hassle SQLite with a Promise-based, document store style API.
- [Mybatis-Plus](http://mp.baomidou.com/) - An enhanced toolkit of Mybatis to simplify development
2016-11-28 14:03:54 +08:00
2016-12-23 09:25:30 +08:00
## Similar projects
- [docute](https://github.com/egoist/docute) - 📜 Effortlessly documentation done right
- [docpress](https://github.com/docpress/docpress) - Documentation website generator
2016-12-20 22:32:56 +08:00
## Contributing
2016-11-26 18:37:17 +08:00
2016-12-01 10:18:00 +08:00
- Fork it!
2016-12-20 22:34:13 +08:00
- 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`
2016-12-20 22:32:56 +08:00
- Submit a pull request :D
## Development
2017-01-10 23:55:58 +08:00
```bash
2016-12-20 22:32:56 +08:00
npm i && npm run dev
open http://localhost:3000
```
2016-11-26 18:37:17 +08:00
2016-11-20 15:56:37 +08:00
## License
MIT