From 8788e6e317adef0106e95dfce5ff4e288b5ef7e5 Mon Sep 17 00:00:00 2001 From: sy-records <52o@qq52o.cn> Date: Tue, 22 Mar 2022 08:07:59 +0800 Subject: [PATCH 1/7] chore: update vercel logo --- README.md | 4 +--- docs/README.md | 6 ------ docs/_media/powered-by-vercel.svg | 6 ++++++ docs/_media/vercel_logo.svg | 1 - docs/index.html | 14 +++----------- index.html | 3 ++- 6 files changed, 12 insertions(+), 22 deletions(-) create mode 100644 docs/_media/powered-by-vercel.svg delete mode 100644 docs/_media/vercel_logo.svg diff --git a/README.md b/README.md index bd93206c3..069c8642e 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,4 @@ This project exists thanks to all the people who contribute. [[Contribute](CONTR ## Special Thanks -_Vercel_ has given us a Pro account. - - + diff --git a/docs/README.md b/docs/README.md index 562446de5..63770a4e6 100644 --- a/docs/README.md +++ b/docs/README.md @@ -30,9 +30,3 @@ Please consider donating if you think docsify is helpful to you or that my work ## Community Users and the development team are usually in the [Discord server](https://discord.gg/3NwKFyR). - -## Special Thanks - -_Vercel_ has given us a Pro account. - - diff --git a/docs/_media/powered-by-vercel.svg b/docs/_media/powered-by-vercel.svg new file mode 100644 index 000000000..877828684 --- /dev/null +++ b/docs/_media/powered-by-vercel.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/docs/_media/vercel_logo.svg b/docs/_media/vercel_logo.svg deleted file mode 100644 index 50a17b35e..000000000 --- a/docs/_media/vercel_logo.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/docs/index.html b/docs/index.html index 6e172574a..911caf0ef 100644 --- a/docs/index.html +++ b/docs/index.html @@ -195,18 +195,10 @@ editHtml + html + '\n\n----\n\n' + - 'Powered by docsify' + 'Powered by docsify\n\n' + + 'Vercel' ); - }), - hook.afterEach(function (html) { - if (vm.route.path === '/') { - return html; - } - return ( - html + - '
Vercel has given us a Pro account
Vercel' - ); - }); + }) }, ], }; diff --git a/index.html b/index.html index b8e2fa011..a40ceaba2 100644 --- a/index.html +++ b/index.html @@ -106,7 +106,8 @@ editHtml + html + '\n\n----\n\n' + - 'Powered by docsify' + 'Powered by docsify\n\n' + + 'Vercel' ); }); }, From ca5a75abcf41b75cc42f598d66154e3dbcd65d9e Mon Sep 17 00:00:00 2001 From: sy-records <52o@qq52o.cn> Date: Tue, 22 Mar 2022 08:23:11 +0800 Subject: [PATCH 2/7] chore: update vercel logo --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index a40ceaba2..082e061e9 100644 --- a/index.html +++ b/index.html @@ -107,7 +107,7 @@ html + '\n\n----\n\n' + 'Powered by docsify\n\n' + - 'Vercel' + 'Vercel' ); }); }, From 3b8cbe5f6554e916e17902bb0bc81cc2274da963 Mon Sep 17 00:00:00 2001 From: sy-records <52o@qq52o.cn> Date: Tue, 22 Mar 2022 17:29:13 +0800 Subject: [PATCH 3/7] chore: remove vercel link form github pages --- docs/index.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/index.html b/docs/index.html index 911caf0ef..e8ed4f156 100644 --- a/docs/index.html +++ b/docs/index.html @@ -195,8 +195,7 @@ editHtml + html + '\n\n----\n\n' + - 'Powered by docsify\n\n' + - 'Vercel' + 'Powered by docsify' ); }) }, From 31f8236a35d2c07e62d96130288994c6bf767723 Mon Sep 17 00:00:00 2001 From: sy-records <52o@qq52o.cn> Date: Tue, 22 Mar 2022 17:36:03 +0800 Subject: [PATCH 4/7] chore: update style --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 069c8642e..9ed9a047d 100644 --- a/README.md +++ b/README.md @@ -124,4 +124,4 @@ This project exists thanks to all the people who contribute. [[Contribute](CONTR ## Special Thanks - +Vercel diff --git a/index.html b/index.html index 082e061e9..1e112b233 100644 --- a/index.html +++ b/index.html @@ -107,7 +107,7 @@ html + '\n\n----\n\n' + 'Powered by docsify\n\n' + - 'Vercel' + 'Vercel' ); }); }, From 06a38b35efb0c37224fda02326c572bffea28c1d Mon Sep 17 00:00:00 2001 From: sy-records <52o@qq52o.cn> Date: Tue, 22 Mar 2022 17:44:53 +0800 Subject: [PATCH 5/7] chore: update readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 9ed9a047d..911671399 100644 --- a/README.md +++ b/README.md @@ -124,4 +124,6 @@ This project exists thanks to all the people who contribute. [[Contribute](CONTR ## Special Thanks +_Vercel_ has given us a Pro account. + Vercel From 3b1110f64f6c3edd55c4c27ce8ee8d90de18c451 Mon Sep 17 00:00:00 2001 From: sy-records <52o@qq52o.cn> Date: Wed, 23 Mar 2022 16:28:23 +0800 Subject: [PATCH 6/7] chore: update readme --- README.md | 4 +--- docs/_media/vercel_logo.svg | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 docs/_media/vercel_logo.svg diff --git a/README.md b/README.md index 911671399..a4ab522a8 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,4 @@ This project exists thanks to all the people who contribute. [[Contribute](CONTR ## Special Thanks -_Vercel_ has given us a Pro account. - -Vercel +A preview of Docsify's PR and develop branch is powered by Vercel diff --git a/docs/_media/vercel_logo.svg b/docs/_media/vercel_logo.svg new file mode 100644 index 000000000..50a17b35e --- /dev/null +++ b/docs/_media/vercel_logo.svg @@ -0,0 +1 @@ + From 49124e71a086787c653a3c1da90578e9bce939f9 Mon Sep 17 00:00:00 2001 From: sy-records <52o@qq52o.cn> Date: Wed, 23 Mar 2022 16:34:06 +0800 Subject: [PATCH 7/7] chore: update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a4ab522a8..069b09109 100644 --- a/README.md +++ b/README.md @@ -124,4 +124,4 @@ This project exists thanks to all the people who contribute. [[Contribute](CONTR ## Special Thanks -A preview of Docsify's PR and develop branch is powered by Vercel +A preview of Docsify's PR and develop branch is Powered by Vercel