Skip to content

Commit 7a20954

Browse files
committed
doc: use docsify render doc on pages
1 parent 37bbd03 commit 7a20954

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed

.nojekyll

Whitespace-only changes.

_examples/navbar.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
* Translates
2+
* [English](/README.md)
3+
* [中文说明](/README.zh-CN.md)
4+
5+
* Gookit
6+
* [Cache](https://gookit.github.io/cache/ "cache management")
7+
* [Color](https://gookit.github.io/color/ "console color render")
8+
* [Config](https://gookit.github.io/config/ "config management")
9+
* [Event](https://gookit.github.io/event/ "event management")
10+
* [Filter](https://gookit.github.io/filter/ "data filter and convert")
11+
* [I18n](https://gookit.github.io/i18n/ "i18n management")
12+
* [Ini](https://gookit.github.io/ini/ "ini file parse and management")
13+
* [Gcli](https://gookit.github.io/gcli/ "console application build")
14+
* [Goutil](https://gookit.github.io/goutil/ "Helper utils for go")
15+
* [Rux](https://gookit.github.io/rux/ "Rux is an simple and fast web framework")
16+
* [Slog](https://gookit.github.io/slog/ "Lightweight, extensible logging library")
17+
* [Validate](https://gookit.github.io/validate/ "Data validate for go")

index.html

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!DOCTYPE html>
2+
<html lang="">
3+
<head>
4+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
5+
<meta name="viewport" content="width=device-width,initial-scale=1">
6+
<meta charset="UTF-8">
7+
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/vue.css">
8+
<title>GCli - command-line application and tool library written in Golang.</title>
9+
</head>
10+
<body>
11+
<div id="app"></div>
12+
<script>
13+
window.$docsify = {
14+
repo: 'gookit/gcli',
15+
maxLevel: 3,
16+
// 加载 _navbar.md
17+
// loadNavbar: true,
18+
loadNavbar: '_examples/navbar.md',
19+
// 加载 _sidebar.md
20+
// loadSidebar: true,
21+
}
22+
</script>
23+
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
24+
</body>
25+
</html>

0 commit comments

Comments
 (0)