From 2d28bd6da0178d6767271f570b732f4b7ed76da2 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Sat, 11 Mar 2023 13:15:27 +0530 Subject: [PATCH] docs: use relative links --- docs/guide/asset-handling.md | 4 ++-- docs/guide/cms.md | 2 +- docs/guide/custom-theme.md | 6 +++--- docs/guide/deploy.md | 2 +- docs/guide/extending-default-theme.md | 2 +- docs/guide/frontmatter.md | 4 ++-- docs/guide/getting-started.md | 12 ++++++------ docs/guide/i18n.md | 2 +- docs/guide/markdown.md | 8 ++++---- docs/guide/migration-from-vitepress-0.md | 8 ++++---- docs/guide/routing.md | 14 +++++++------- docs/guide/using-vue.md | 6 +++--- docs/guide/what-is-vitepress.md | 6 +++--- docs/reference/cli.md | 4 ++-- docs/reference/default-theme-footer.md | 2 +- docs/reference/default-theme-layout.md | 4 ++-- docs/reference/default-theme-nav.md | 6 +++--- docs/reference/default-theme-sidebar.md | 2 +- docs/reference/default-theme-team-page.md | 2 +- docs/reference/frontmatter-config.md | 14 +++++++------- docs/reference/runtime-api.md | 8 ++++---- docs/reference/site-config.md | 16 ++++++++-------- 22 files changed, 67 insertions(+), 67 deletions(-) diff --git a/docs/guide/asset-handling.md b/docs/guide/asset-handling.md index c1f46675..0ba57d75 100644 --- a/docs/guide/asset-handling.md +++ b/docs/guide/asset-handling.md @@ -10,7 +10,7 @@ You can reference static assets in your markdown files, your `*.vue` components Common image, media, and font filetypes are detected and included as assets automatically. -All referenced assets, including those using absolute paths, will be copied to the dist folder with a hashed file name in the production build. Never-referenced assets will not be copied. Image assets smaller than 4kb will be base64 inlined - this can be configured via the [`vite`](/reference/site-config#vite) config option. +All referenced assets, including those using absolute paths, will be copied to the dist folder with a hashed file name in the production build. Never-referenced assets will not be copied. Image assets smaller than 4kb will be base64 inlined - this can be configured via the [`vite`](../reference/site-config#vite) config option. All **static** path references, including absolute paths, should be based on your working directory structure. @@ -45,7 +45,7 @@ However, if you are authoring a theme component that links to assets dynamically ``` -In this case it is recommended to wrap the path with the [`withBase` helper](/reference/runtime-api#withbase) provided by VitePress: +In this case it is recommended to wrap the path with the [`withBase` helper](../reference/runtime-api#withbase) provided by VitePress: ```vue