This is an automated email from the ASF dual-hosted git repository.
mssun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-website.git
The following commit(s) were added to refs/heads/master by this push:
new 76bf4b2 Add vuepress-plugin-clean-urls
76bf4b2 is described below
commit 76bf4b2e73f1c19425b8f3e6eb586ea5f93cde46
Author: Mingshen Sun <[email protected]>
AuthorDate: Tue May 26 00:01:04 2020 -0700
Add vuepress-plugin-clean-urls
---
site/.vuepress/config.js | 17 ++++++++++++++++-
site/package.json | 3 ++-
site/yarn.lock | 5 +++++
3 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/site/.vuepress/config.js b/site/.vuepress/config.js
index c6588f1..2a1d9d7 100644
--- a/site/.vuepress/config.js
+++ b/site/.vuepress/config.js
@@ -11,7 +11,14 @@ module.exports = {
{ text: 'Contributors', link: '/contributors/' },
{ text: 'Documentation', link: '/docs/my-first-function/' },
{ text: 'Blog', link: '/blog/' },
- { text: 'GitHub', link:
'https://github.com/apache/incubator-teaclave' },
+ {
+ text: 'Repository',
+ items: [
+ { text: 'Teaclave', link:
'https://github.com/apache/incubator-teaclave'},
+ { text: 'Teaclave SGX SDK', link:
'https://github.com/apache/incubator-teaclave-sgx-sdk'},
+ { text: 'Teaclave Website', link:
'https://github.com/apache/incubator-teaclave-website'},
+ ]
+ },
{
text: 'ASF',
ariaLabel: 'Apache Software Foundation',
@@ -74,5 +81,13 @@ module.exports = {
],
},
],
+ [
+ 'vuepress-plugin-clean-urls',
+ {
+ normalSuffix: '/',
+ indexSuffix: '/',
+ notFoundPath: '/404.html',
+ },
+ ],
],
}
diff --git a/site/package.json b/site/package.json
index b02de95..0304a2d 100644
--- a/site/package.json
+++ b/site/package.json
@@ -3,6 +3,7 @@
"@vuepress/plugin-back-to-top": "^1.5.0",
"@vuepress/plugin-blog": "^1.9.2",
"vue-feather-icons": "^5.0.0",
- "vuepress": "^1.5.0"
+ "vuepress": "^1.5.0",
+ "vuepress-plugin-clean-urls": "^1.1.1"
}
}
diff --git a/site/yarn.lock b/site/yarn.lock
index a6ab228..1a795f3 100644
--- a/site/yarn.lock
+++ b/site/yarn.lock
@@ -7689,6 +7689,11 @@ vuepress-html-webpack-plugin@^3.2.0:
toposort "^1.0.0"
util.promisify "1.0.0"
+vuepress-plugin-clean-urls@^1.1.1:
+ version "1.1.1"
+ resolved
"https://registry.yarnpkg.com/vuepress-plugin-clean-urls/-/vuepress-plugin-clean-urls-1.1.1.tgz#593f47be643c33c34413ba408e8bee31aaf534bd"
+ integrity
sha512-cEDbqme8rPbkSbjz73ONFSKIZkzC8HFRBY7UD/oa1ZC655HYhQo3JMbJgJXeCQjV/vkl7WuPB/QMNlQY20PXjw==
+
vuepress-plugin-container@^2.0.2:
version "2.1.3"
resolved
"https://registry.yarnpkg.com/vuepress-plugin-container/-/vuepress-plugin-container-2.1.3.tgz#b5873cb8d21b66bd62f7fb15ab254e55dcfeff78"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]