mirror of
https://github.com/zhigang1992/docsify.git
synced 2026-04-03 17:16:16 +08:00
3fbcd876aea2c6f3c813cac59565dda4ab56fe6f
docsify
🃏 A magical documentation site generator.
Links
Features
- Easy and lightweight
- Custom themes
- No build
Quick start
Create a 404.html and README.md into /docs.
404.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="//unpkg.com/docsify/themes/vue.css">
</head>
<body>
<div id="app"></div>
</body>
<script src="//unpkg.com/docsify"></script>
</html>
Or Create a index.html and using hash router.
index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="//unpkg.com/docsify/themes/vue.css">
</head>
<body>
<div id="app"></div>
</body>
<script src="//unpkg.com/docsify" data-router></script>
</html>
Showcase
These open-source projects are using docsify to generate their sites. Pull requests welcome : )
How to contribute
- Fork it!
- Run
npm i && npm run dev - open
localhost:3000
License
MIT
Support on Beerpay
Hey dude! Help me out for a couple of 🍻!
Languages
JavaScript
79.9%
Stylus
17.5%
HTML
2%
Shell
0.6%