diff --git a/docs/adding-pages.md b/docs/adding-pages.md index fde7872d5..474aaf044 100644 --- a/docs/adding-pages.md +++ b/docs/adding-pages.md @@ -27,7 +27,7 @@ docs/zh-cn/guide.md => http://domain.com/#/zh-cn/guide In order to have a sidebar, you can create your own `_sidebar.md` (see [this documentation's sidebar](https://github.com/docsifyjs/docsify/blob/main/docs/_sidebar.md) for an example): -First, you need to set `loadSidebar` to **true**. Details are available in the [configuration paragraph](configuration#loadsidebar). +First, you need to set `loadSidebar` to **true**. Details are available in the [configuration paragraph](configuration.md#loadsidebar). ```html @@ -115,7 +115,7 @@ A page's `title` tag is generated from the _selected_ sidebar item name. For bet Once you've created `_sidebar.md`, the sidebar content is automatically generated based on the headers in the markdown files. -A custom sidebar can also automatically generate a table of contents by setting a `subMaxLevel`, compare [subMaxLevel configuration](configuration#submaxlevel). +A custom sidebar can also automatically generate a table of contents by setting a `subMaxLevel`, compare [subMaxLevel configuration](configuration.md#submaxlevel). ```html diff --git a/docs/configuration.md b/docs/configuration.md index 16d1fded4..d493552c3 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -211,7 +211,7 @@ window.$docsify = { - Type: `Boolean` - Default: `null` -Execute the script on the page. Only parses the first script tag ([demo](themes)). If Vue is detected, this is `true` by default. +Execute the script on the page. Only parses the first script tag ([demo](themes.md)). If Vue is detected, this is `true` by default. ```js window.$docsify = { @@ -389,7 +389,7 @@ window.$docsify = { - Type: `Boolean|Object` - Default: `Object` - \\ Toggle the sidebar menu - - / Focus on [search](plugins#full-text-search) field. Also supports alt / ctrl + k. + - / Focus on [search](plugins.md#full-text-search) field. Also supports alt / ctrl + k. Binds key combination(s) to a custom callback function. @@ -1059,7 +1059,7 @@ For more details, see [#1131](https://github.com/docsifyjs/docsify/issues/1131). ## themeColor ⚠️ :id=themecolor -> [!IMPORTANT] Deprecated as of v5. Use the `--theme-color` [theme property](themes#theme-properties) to [customize](themes#customization) your theme color. +> [!IMPORTANT] Deprecated as of v5. Use the `--theme-color` [theme property](themes.md#theme-properties) to [customize](themes.md#customization) your theme color. - Type: `String` @@ -1073,7 +1073,7 @@ window.$docsify = { ## topMargin ⚠️ :id=topmargin -> [!IMPORTANT] Deprecated as of v5. Use the `--scroll-padding-top` [theme property](themes#theme-properties) to specify a scroll margin when using a sticky navbar. +> [!IMPORTANT] Deprecated as of v5. Use the `--scroll-padding-top` [theme property](themes.md#theme-properties) to specify a scroll margin when using a sticky navbar. - Type: `Number|String` - Default: `0` diff --git a/docs/cover.md b/docs/cover.md index a992831fe..44c83ff34 100644 --- a/docs/cover.md +++ b/docs/cover.md @@ -1,6 +1,6 @@ # Cover -Activate the cover feature by setting `coverpage` to **true**. See [coverpage configuration](configuration#coverpage). +Activate the cover feature by setting `coverpage` to **true**. See [coverpage configuration](configuration.md#coverpage). ## Basic usage @@ -31,7 +31,7 @@ window.$docsify = { ## Customization -The cover page can be customized using [theme properties](themes#theme-properties): +The cover page can be customized using [theme properties](themes.md#theme-properties): ```css @@ -60,7 +60,7 @@ Alternatively, a background color or image can be specified in the cover page ma ## Coverpage as homepage -Normally, the coverpage and the homepage appear at the same time. Of course, you can also separate the coverpage by [`onlyCover`](configuration#onlycover) option. +Normally, the coverpage and the homepage appear at the same time. Of course, you can also separate the coverpage by [`onlyCover`](configuration.md#onlycover) option. ## Multiple covers diff --git a/docs/custom-navbar.md b/docs/custom-navbar.md index 8f2ad880f..11cdf284d 100644 --- a/docs/custom-navbar.md +++ b/docs/custom-navbar.md @@ -20,7 +20,7 @@ If you need custom navigation, you can create a HTML-based navigation bar. ## Markdown -Alternatively, you can create a custom markdown-based navigation file by setting `loadNavbar` to **true** and creating `_navbar.md`, compare [loadNavbar configuration](configuration#loadnavbar). +Alternatively, you can create a custom markdown-based navigation file by setting `loadNavbar` to **true** and creating `_navbar.md`, compare [loadNavbar configuration](configuration.md#loadnavbar). ```html @@ -84,7 +84,7 @@ renders as ## Combining custom navbars with the emoji plugin -If you use the [emoji plugin](plugins#emoji): +If you use the [emoji plugin](plugins.md#emoji): ```html diff --git a/docs/emoji.md b/docs/emoji.md index 84a4fd56f..442ef7e3b 100644 --- a/docs/emoji.md +++ b/docs/emoji.md @@ -1,6 +1,6 @@ # Emoji -Below is a complete list of emoji shorthand codes. Docsify can be configured to render emoji using GitHub-style emoji images or native emoji characters using the [`nativeEmoji`](configuration#nativeemoji) configuration option. +Below is a complete list of emoji shorthand codes. Docsify can be configured to render emoji using GitHub-style emoji images or native emoji characters using the [`nativeEmoji`](configuration.md#nativeemoji) configuration option.