From c78cb112924fda7fb4f78d90ccf8ee06867e5e1d Mon Sep 17 00:00:00 2001 From: Anirudh Emmadi Date: Thu, 2 Jul 2020 11:03:13 -0500 Subject: [PATCH] docs: removed codefund docs and plugin (#1262) --- cypress/fixtures/tpl/docs.index.html | 220 ++++++++++----------- cypress/integration/sidebar/config.spec.js | 1 - docs/index.html | 13 +- docs/plugins.md | 16 -- 4 files changed, 109 insertions(+), 141 deletions(-) diff --git a/cypress/fixtures/tpl/docs.index.html b/cypress/fixtures/tpl/docs.index.html index 6a8b41a4c..a4b4c831f 100644 --- a/cypress/fixtures/tpl/docs.index.html +++ b/cypress/fixtures/tpl/docs.index.html @@ -1,123 +1,111 @@ - - - docsify-e2e-tests - - - - - - - - - - - - - - -
Loading Docsify e2e tests suite...
- - - - - - - - + paths: 'auto', + placeholder: { + '/de-de/': 'Suche', + '/zh-cn/': '搜索', + '/': 'Search' + } + }, + formatUpdated: '{MM}/{DD} {HH}:{mm}', + plugins: [ + function (hook, vm) { + hook.beforeEach(function (html) { + if (/githubusercontent\.com/.test(vm.route.file)) { + url = vm.route.file + .replace('raw.githubusercontent.com', 'github.com') + .replace(/\/master/, '/blob/master') + } else { + url = + 'https://github.com/docsifyjs/docsify/blob/master/docs/' + + vm.route.file + } + var editHtml = '[:memo: Edit Document](' + url + ')\n' + return ( + editHtml + + html + + '\n\n----\n\n' + + 'Powered by docsify' + ) + }) + } + ] + } + + + + + + + + - - - - + + + + + \ No newline at end of file diff --git a/cypress/integration/sidebar/config.spec.js b/cypress/integration/sidebar/config.spec.js index 4c1b511a7..f1e2b454f 100644 --- a/cypress/integration/sidebar/config.spec.js +++ b/cypress/integration/sidebar/config.spec.js @@ -157,7 +157,6 @@ context('sidebar.configurations', () => { 'disqus', 'gitalk', 'pagination', - 'codefund', 'tabs', 'more-plugins', ]; diff --git a/docs/index.html b/docs/index.html index 050b21dde..c6957a7f3 100644 --- a/docs/index.html +++ b/docs/index.html @@ -15,8 +15,6 @@ - -