diff --git a/README.md b/README.md index 4debf4e8..0e706281 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ --- -VitePress is [VuePress](https://vuepress.vuejs.org)' spiritual successor, built on top of [vite](https://github.com/vuejs/vite). +VitePress is [VuePress](https://vuepress.vuejs.org)' spiritual successor, built on top of [vite](https://github.com/vitejs/vite). ## Documentation diff --git a/docs/config/algolia-search.md b/docs/config/algolia-search.md index f4c79693..28e4e5fd 100644 --- a/docs/config/algolia-search.md +++ b/docs/config/algolia-search.md @@ -13,7 +13,7 @@ module.exports = { } ``` -For more options, check out [Algolia DocSearch's documentation](https://docsearch.algolia.com/docs/api). You can pass any extra option alongside other options, e.g. passing `searchParameters`: +For more options, check out [Algolia DocSearch's documentation](https://docsearch.algolia.com/docs/api/). You can pass any extra option alongside other options, e.g. passing `searchParameters`: ```js module.exports = { diff --git a/docs/guide/deploy.md b/docs/guide/deploy.md index 9223a38a..9623e22f 100644 --- a/docs/guide/deploy.md +++ b/docs/guide/deploy.md @@ -158,7 +158,7 @@ pages: ## Netlify -1. On [Netlify](https://netlify.com), setup up a new project from GitHub with the following settings: +1. On [Netlify](https://www.netlify.com/), setup up a new project from GitHub with the following settings: - **Build Command:** `vitepress build docs` or `yarn docs:build` or `npm run docs:build` - **Publish directory:** `docs/.vitepress/dist` @@ -255,9 +255,9 @@ $ heroku open ## Vercel -To deploy your VitePress app with a [Vercel for Git](https://vercel.com/docs/git), make sure it has been pushed to a Git repository. +To deploy your VitePress app with a [Vercel for Git](https://vercel.com/docs/concepts/git), make sure it has been pushed to a Git repository. -Go to https://vercel.com/import/git and import the project into Vercel using your Git of choice (GitHub, GitLab or BitBucket). Follow the wizard to select the project root with the project's `package.json` and override the build step using `yarn docs:build` or `npm run docs:build` and the output dir to be `./docs/.vitepress/dist` +Go to https://vercel.com/new and import the project into Vercel using your Git of choice (GitHub, GitLab or BitBucket). Follow the wizard to select the project root with the project's `package.json` and override the build step using `yarn docs:build` or `npm run docs:build` and the output dir to be `./docs/.vitepress/dist` ![Override Vercel Configuration](../images/vercel-configuration.png) diff --git a/docs/guide/differences-from-vuepress.md b/docs/guide/differences-from-vuepress.md index 01d0363e..b6c6eab5 100644 --- a/docs/guide/differences-from-vuepress.md +++ b/docs/guide/differences-from-vuepress.md @@ -20,7 +20,7 @@ In case you decide to move your project to VitePress, this is a list of differen - Missing - YAML and TOML are not supported formats for site config. Only javascript is supported for `.vitepress/config.js` - - [Plugins](https://vuepress.vuejs.org/plugin) support, features are implemented in themes + - [Plugins](https://vuepress.vuejs.org/plugin/) support, features are implemented in themes - [permalink support](https://vuepress.vuejs.org/guide/permalinks.html) - `.vitepress/templates` - Components in `.vitepress/components` [are not auto registered as global components](https://vuepress.vuejs.org) diff --git a/docs/guide/markdown.md b/docs/guide/markdown.md index 375a70ae..f2cb916a 100644 --- a/docs/guide/markdown.md +++ b/docs/guide/markdown.md @@ -53,7 +53,7 @@ Outbound links automatically get `target="_blank" rel="noopener noreferrer"`: ## Frontmatter -[YAML frontmatter](https://jekyllrb.com/docs/frontmatter) is supported out of the box: +[YAML frontmatter](https://jekyllrb.com/docs/front-matter/) is supported out of the box: ```yaml --- diff --git a/docs/guide/using-vue.md b/docs/guide/using-vue.md index 17632c55..d6d5ce7c 100644 --- a/docs/guide/using-vue.md +++ b/docs/guide/using-vue.md @@ -208,7 +208,7 @@ VitePress provides Built-In Vue Components like `ClientOnly` and `OutboundLink`, ## Browser API Access Restrictions -Because VitePress applications are server-rendered in Node.js when generating static builds, any Vue usage must conform to the [universal code requirements](https://ssr.vuejs.org/en/universal.html). In short, make sure to only access Browser / DOM APIs in `beforeMount` or `mounted` hooks. +Because VitePress applications are server-rendered in Node.js when generating static builds, any Vue usage must conform to the [universal code requirements](https://vuejs.org/guide/scaling-up/ssr.html). In short, make sure to only access Browser / DOM APIs in `beforeMount` or `mounted` hooks. If you are using or demoing components that are not SSR-friendly (for example, contain custom directives), you can wrap them inside the built-in `` component: