Skip to content

Commit 6d48ae7

Browse files
committed
chore: update vuepress configuration
1 parent 3240865 commit 6d48ae7

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

.github/workflows/website.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Build pages
2323
env:
2424
CI: true
25-
run: yarn api:build && yarn vitepress:docs:build
25+
run: yarn api:build && yarn vuepress:docs:build
2626
- name: Publish pages
2727
env:
2828
CI: true

docs/.vuepress/config.base.js

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ module.exports = ({title, description, base = "", url, apiRedirectUrl = "", them
3232
["meta", {name: "twitter:title", content: title}],
3333
["meta", {name: "twitter:description", content: description}],
3434
["meta", {name: "twitter:card", content: "summary"}],
35+
["meta", {name: "robots", content: "noindex, nofollow"}],
3536
["link", {rel: "preconnect", href: `https://${ALGOLIA.appId}-dsn.algolia.net`, crossOrigin: true}]
3637
],
3738
themeConfig: {

docs/.vuepress/public/robots.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
User-agent: *
2+
Disallow: /

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@
185185
"productionBranch": "production",
186186
"developBranch": "production",
187187
"npmAccess": "public",
188+
"npmDistTag": "v7-latest",
188189
"ignoreSyncDependencies": [
189190
"express",
190191
"@types/express"

0 commit comments

Comments
 (0)