From f5bc66647e70df20331fe58333f4b7f76185c8ce Mon Sep 17 00:00:00 2001 From: "qingwei.li" Date: Wed, 21 Dec 2016 23:53:49 +0800 Subject: [PATCH 1/6] Add cover page --- docs/README.md | 13 ------ docs/_coverpage.md | 13 ++++++ docs/_media/icon.svg | 30 ++++++++++++++ docs/index.html | 8 ++-- docs/zh-cn.md | 7 ---- src/event.js | 18 +++++++-- src/index.js | 14 ++++++- src/render.js | 26 ++++++++++-- src/themes/basic/_coverpage.css | 72 +++++++++++++++++++++++++++++++++ src/themes/basic/_layout.css | 23 +++++------ src/themes/buble.css | 1 + src/themes/vue.css | 2 + src/tpl.js | 19 +++++++-- 13 files changed, 199 insertions(+), 47 deletions(-) create mode 100644 docs/_coverpage.md create mode 100644 docs/_media/icon.svg create mode 100644 src/themes/basic/_coverpage.css diff --git a/docs/README.md b/docs/README.md index 56e713daa..cc220bcee 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,16 +1,3 @@ -

- docsify -

- -

- A magical documentation site generator. -

- -## Features -- Simple and lightweight (~12kb gzipped) -- Multiple themes -- Not build static html files - ## Quick Start ### Create a project diff --git a/docs/_coverpage.md b/docs/_coverpage.md new file mode 100644 index 000000000..9711afb13 --- /dev/null +++ b/docs/_coverpage.md @@ -0,0 +1,13 @@ +![logo](_media/icon.svg) + +# docsify 1.2.0 + +> A magical documentation site generator. + +- Simple and lightweight (~12kb gzipped) +- Multiple themes +- Not build static html files + + +[GitHub](https://github.com/QingWei-Li/docsify/) +[Get Started](#quick-start) diff --git a/docs/_media/icon.svg b/docs/_media/icon.svg new file mode 100644 index 000000000..7f125e6da --- /dev/null +++ b/docs/_media/icon.svg @@ -0,0 +1,30 @@ + + + + Codestin Search App + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 7969eae1c..3e9cfc50f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -6,7 +6,7 @@ - +