mirror of
https://github.com/docsifyjs/docsify.git
synced 2026-10-17 04:31:18 +08:00
first commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>docsify</title>
|
||||
<link rel="stylesheet" href="themes/vue.css">
|
||||
</head>
|
||||
<body></body>
|
||||
<script src="//unpkg.com/marked/marked.min.js"></script>
|
||||
<script src="//unpkg.com/prismjs/prism.js"></script>
|
||||
<script src="docsify.js"></script>
|
||||
</html>
|
||||
@@ -0,0 +1,27 @@
|
||||
# docsify
|
||||
> A magical documentation generator.
|
||||
|
||||
## Usage
|
||||
Create `404.html` into `/docs`
|
||||
|
||||
```html
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="//unpkg.com/docsify/themes/vue.css">
|
||||
</head>
|
||||
<body></body>
|
||||
<script src="//unpkg.com/marked/marked.min.js"></script>
|
||||
<script src="//unpkg.com/highlight.js/lib/highlight.js"></script>
|
||||
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
|
||||
</html>
|
||||
```
|
||||
|
||||
```javascript
|
||||
var a = require('a')
|
||||
console.log(a)
|
||||
```
|
||||
|
||||
## License
|
||||
MIT
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../lib/docsify.js
|
||||
@@ -0,0 +1,8 @@
|
||||
const server = require('http').createServer()
|
||||
const buffet = require('buffet')({ root: './test' })
|
||||
|
||||
server.on('request', buffet)
|
||||
|
||||
server.listen(6677, function () {
|
||||
console.log('Ready! Listening on http://localhost:6677')
|
||||
})
|
||||
@@ -0,0 +1 @@
|
||||
# Themes
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../themes
|
||||
Reference in New Issue
Block a user