diff --git a/CHANGELOG.md b/CHANGELOG.md index 92f71fcd..134cf6cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## 1.1.6 +### Features +- Add logo 😂 + +### Bug fixes +- Remove table background color + ## 1.1.5 ### Features - Add table style diff --git a/README.md b/README.md index 6daf8029..f3397acb 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,25 @@ -# docsify -[](https://travis-ci.org/QingWei-Li/docsify) -[](https://www.npmjs.com/package/docsify) +
+
+
+
+
+ A magical documentation site generator. +
+ + ## Links - [Documentation](https://docsify.js.org) - [CLI](https://github.com/QingWei-Li/docsify-cli) ## Features -- Easy and lightweight +- Easy and lightweight (~12kB gzipped) - Custom themes - No build @@ -65,7 +75,3 @@ These open-source projects are using docsify to generate their sites. Pull reque ## License MIT -## Support on Beerpay -Hey dude! Help me out for a couple of :beers:! - -[](https://beerpay.io/QingWei-Li/docsify) [](https://beerpay.io/QingWei-Li/docsify?focus=wish) \ No newline at end of file diff --git a/docs/.nojekyll b/docs/.nojekyll new file mode 100644 index 00000000..e69de29b diff --git a/docs/README.md b/docs/README.md index 44ebf25c..0dfd45b0 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,9 +1,13 @@ -# docsify +
+
+
+ A magical documentation site generator. +
## Features -- Easy and lightweight +- Easy and lightweight (~12kB gzipped) - Custom themes - No build @@ -213,7 +217,7 @@ If you write a sub level list, it will generate a dropdown list. - [chinese](/zh-cn) ``` -### router +#### router Hash router. You can replace `404.html` with `index.html`. @@ -221,7 +225,7 @@ Hash router. You can replace `404.html` with `index.html`. ``` -### auto2top +#### auto2top Scroll to the top on changing hash. diff --git a/docs/favicon.ico b/docs/favicon.ico new file mode 100644 index 00000000..da9dd342 Binary files /dev/null and b/docs/favicon.ico differ diff --git a/docs/index.html b/docs/index.html index 0c3e3419..0b0a13b1 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3,6 +3,7 @@
+
+
+ 无需构建快速生成文档页 +
## 特性 - 无需构建,写完 markdown 直接发布 - 支持自定义主题 -- 容易使用并且轻量 +- 容易使用并且轻量 (~12kB gzipped) ## 快速上手 @@ -214,7 +218,7 @@ Sidebar 开关按钮 ``` -### router +#### router 开启 hash router 功能,此时可以创建 `index.html` 作为入口文件,同时多页面切换不会重新加载资源。资源路径会被替换成 `/#/` 的形式。 @@ -222,7 +226,7 @@ Sidebar 开关按钮 ``` -### auto2top +#### auto2top 切换路由时自动跳转到页面顶部 diff --git a/media/docsify.png b/media/docsify.png new file mode 100644 index 00000000..211d9a21 Binary files /dev/null and b/media/docsify.png differ diff --git a/src/themes/basic/_layout.css b/src/themes/basic/_layout.css index f79dd312..a05ce760 100644 --- a/src/themes/basic/_layout.css +++ b/src/themes/basic/_layout.css @@ -241,6 +241,7 @@ main { overflow: auto; border-spacing: 0; border-collapse: collapse; + margin-bottom: 1em; } .markdown-section th { @@ -255,7 +256,6 @@ main { } .markdown-section tr { - background-color: #fff; border-top: 1px solid #ccc; &:nth-child(2n) { background-color: #f8f8f8; diff --git a/src/themes/buble.css b/src/themes/buble.css index e0b1cf48..4f11b4e9 100644 --- a/src/themes/buble.css +++ b/src/themes/buble.css @@ -54,6 +54,8 @@ body { .markdown-section ul, .markdown-section ol { word-spacing: 0.05em; + line-height: 1.6em; + margin: 0 0 1em 0; } .markdown-section h1 { @@ -95,13 +97,6 @@ body { margin: 1.2em 0; } -.markdown-section p, -.markdown-section ul, -.markdown-section ol { - margin: 0 0 1em 0; - line-height: 1.5; -} - .markdown-section ul, .markdown-section ol { padding-left: 1.5em; diff --git a/src/themes/vue.css b/src/themes/vue.css index a6a41896..1d753643 100644 --- a/src/themes/vue.css +++ b/src/themes/vue.css @@ -55,12 +55,6 @@ body { font-weight: 600; } -.markdown-section p, -.markdown-section ul, -.markdown-section ol { - word-spacing: 0.05em; -} - .markdown-section h1 { margin: 0 0 1em; font-size: 2em; @@ -100,6 +94,7 @@ body { .markdown-section ul, .markdown-section ol { line-height: 1.6em; + word-spacing: 0.05em; } .markdown-section ul,