From dafb356b426da4bcd6990edb910b237bff6cb758 Mon Sep 17 00:00:00 2001 From: hffariel <527305622@qq.com> Date: Wed, 6 May 2020 11:57:03 +0800 Subject: [PATCH] [Bugfix] Fix navbar not showing on mobile clients(#3419) & image relative path problem (#3427) --- .travis.yml | 1 + docs/.vuepress/sidebar/en.js | 2 +- docs/.vuepress/theme/components/NavLinks.vue | 56 -------------------- docs/.vuepress/theme/layouts/Layout.vue | 23 +++++++- 4 files changed, 23 insertions(+), 59 deletions(-) delete mode 100644 docs/.vuepress/theme/components/NavLinks.vue diff --git a/.travis.yml b/.travis.yml index cf4b04f9bf..b84d94e06d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,6 +34,7 @@ before_script: - echo $BRANCH - sed -i 's/base:.*,/base:\"\/'$BRANCH'\/\",/g' .vuepress/config.js - sed -i 's/docsBranch:.*,/docsBranch:\"'$BRANCH'\",/g' .vuepress/config.js + - find ./ -name "*.md" -exec sed -i -e 's/!\[\(.*\)\][(]\(.*\)[)]/\"\1\"/g' {} \; - rm -rf site-repo script: diff --git a/docs/.vuepress/sidebar/en.js b/docs/.vuepress/sidebar/en.js index 5c24f34952..cb5e56c3a1 100644 --- a/docs/.vuepress/sidebar/en.js +++ b/docs/.vuepress/sidebar/en.js @@ -427,7 +427,7 @@ module.exports = [ children: ["debug-tool", "format-code"], }, { - title: "Apache Commnity", + title: "Apache Community", directoryPath: "community/", children: [ "gitter", diff --git a/docs/.vuepress/theme/components/NavLinks.vue b/docs/.vuepress/theme/components/NavLinks.vue deleted file mode 100644 index 66f1023fe4..0000000000 --- a/docs/.vuepress/theme/components/NavLinks.vue +++ /dev/null @@ -1,56 +0,0 @@ - - - - diff --git a/docs/.vuepress/theme/layouts/Layout.vue b/docs/.vuepress/theme/layouts/Layout.vue index 34b0b570c8..57936255fd 100644 --- a/docs/.vuepress/theme/layouts/Layout.vue +++ b/docs/.vuepress/theme/layouts/Layout.vue @@ -18,7 +18,7 @@ under the License. -->