Skip to content

Commit

Permalink
doc: add docsify for project
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Nov 13, 2021
1 parent c7dc094 commit ce925d0
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
11 changes: 11 additions & 0 deletions _examples/navbar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
* Translates
* [English](/README.md)
* [中文说明](/README.zh-CN.md)

* Gookit
* [Color](https://gookit.github.io/color/ "console color render")
* [Config](https://gookit.github.io/config/ "config management")
* [Gcli](https://gookit.github.io/gcli/ "console application build")
* [Goutil](https://gookit.github.io/goutil/ "Helper utils for go")
* [Rux](https://gookit.github.io/rux/ "Rux is an simple and fast web framework")
* [Validate](https://gookit.github.io/validate/ "Data validate for go")
25 changes: 25 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta charset="UTF-8">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/vue.css">
<title>Color - A command-line color library with true color support, universal API methods and Windows support.</title>
</head>
<body>
<div id="app"></div>
<script>
window.$docsify = {
repo: 'gookit/color',
maxLevel: 3,
// 加载 _navbar.md
// loadNavbar: true,
loadNavbar: '_examples/navbar.md',
// 加载 _sidebar.md
// loadSidebar: true,
}
</script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
</body>
</html>

0 comments on commit ce925d0

Please sign in to comment.