You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***markdown:** decode assets link to ensure bundler can find the file ([#144](https://github.com/vuepress/vuepress-next/issues/144)) ([d3e5409](https://github.com/vuepress/vuepress-next/commit/d3e5409246a47edae93209c9ce5dd2614e14c936))
33
+
***theme-default:** handle rotate events on iPad ([#150](https://github.com/vuepress/vuepress-next/issues/150)) ([bbdda60](https://github.com/vuepress/vuepress-next/commit/bbdda60bba0a56590535f3e762dec55767ec031c))
34
+
***theme-default:** show header anchors when being focused ([#164](https://github.com/vuepress/vuepress-next/issues/164)) ([8de5f0f](https://github.com/vuepress/vuepress-next/commit/8de5f0fa2873f64be0622aced46e1512c7f4fac5))
35
+
36
+
37
+
### Features
38
+
39
+
***bundler-webpack:** bump webpack-dev-server to 4.0.0-beta.3 ([2e86826](https://github.com/vuepress/vuepress-next/commit/2e8682680eba7736bcf3325014a927a87503ba0b))
***plugin-search:** improve a11y support ([#165](https://github.com/vuepress/vuepress-next/issues/165)) ([205aafe](https://github.com/vuepress/vuepress-next/commit/205aafe4e6600987e06730b926abe2be3e4d5d73))
43
+
***theme-default:** support dark mode (close [#29](https://github.com/vuepress/vuepress-next/issues/29)) ([680e429](https://github.com/vuepress/vuepress-next/commit/680e4298a80ddb06b0381af48644124ffb0b0c4c))
44
+
***theme-default:** support full link for github repo ([#152](https://github.com/vuepress/vuepress-next/issues/152)) ([8a5055b](https://github.com/vuepress/vuepress-next/commit/8a5055b57d2068e73b4a1c52601c94bdbbc1a7c5))
45
+
***theme-default:** support Gitee repo ([5cad664](https://github.com/vuepress/vuepress-next/commit/5cad664bd7224a08e679dc06f61f17af6c790b97))
46
+
47
+
48
+
### BREAKING CHANGES
49
+
50
+
***theme-default:** most sass variables are migrated to css variables
Copy file name to clipboardExpand all lines: docs/guide/migration.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -147,7 +147,7 @@ The palette system is extracted to [@vuepress/plugin-palette](../reference/plugi
147
147
148
148
Theme authors can use their own way to allow users to custom styles, and not be limited with stylus.
149
149
150
-
If you are using default theme, the palette system is still available but migrated to SASS. See [Default Theme > Styles](../reference/default-theme/styles.md).
150
+
If you are using default theme, the palette system is still available but migrated to SASS, while most variables have been migrated to CSS variables. See [Default Theme > Styles](../reference/default-theme/styles.md).
151
151
152
152
### Conventional Files Change
153
153
@@ -228,7 +228,7 @@ Removed.
228
228
229
229
#### Palette System
230
230
231
-
The palette system of default theme has migrated to SASS.
231
+
The palette system of default theme has migrated to SASS and CSS variables.
232
232
233
233
See [Default Theme > Styles](../reference/default-theme/styles.md).
Copy file name to clipboardExpand all lines: docs/reference/default-theme/config.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -146,7 +146,7 @@ module.exports = {
146
146
// If you set it in the form of `organization/repository`
147
147
// we will take it as a GitHub repo
148
148
repo:'vuejs/vuepress',
149
-
//Use url directly if you are not using GitHub
149
+
//You can also set it to a URL directly
150
150
repo:'https://gitlab.com/foo/bar',
151
151
},
152
152
}
@@ -362,7 +362,7 @@ module.exports = {
362
362
363
363
This will be used for generating the _edit this page_ link.
364
364
365
-
If you don't set this option, the pattern will be inferred from the [docsRepo](#docsrepo) option. But if your documentation repository is not hosted on a common platform, for example, GitHub, GitLab, Bitbucket, etc., you have to set this option explicitly to make the _edit this page_ link work.
365
+
If you don't set this option, the pattern will be inferred from the [docsRepo](#docsrepo) option. But if your documentation repository is not hosted on a common platform, for example, GitHub, GitLab, Bitbucket, Gitee, etc., you have to set this option explicitly to make the _edit this page_ link work.
366
366
367
367
- Usage:
368
368
@@ -495,7 +495,7 @@ module.exports = {
495
495
496
496
- Type: `string`
497
497
498
-
- Default: `'WARNING'`
498
+
- Default: `'DANGER'`
499
499
500
500
- Details:
501
501
@@ -535,7 +535,7 @@ module.exports = {
535
535
536
536
This is mainly for a11y purpose.
537
537
538
-
## Plugins
538
+
## Plugins Config
539
539
540
540
### themePlugins
541
541
@@ -545,7 +545,7 @@ module.exports = {
545
545
546
546
Default theme is using some plugins by default. You can disable a plugin if you really do not want to use it. Make sure you understand what the plugin is for before disabling it.
547
547
548
-
####themePlugins.activeHeaderLinks
548
+
### themePlugins.activeHeaderLinks
549
549
550
550
- Type: `boolean`
551
551
@@ -555,7 +555,7 @@ module.exports = {
555
555
556
556
Enable [@vuepress/plugin-active-header-links](../plugin/active-header-links.md) or not.
557
557
558
-
####themePlugins.backToTop
558
+
### themePlugins.backToTop
559
559
560
560
- Type: `boolean`
561
561
@@ -565,7 +565,7 @@ module.exports = {
565
565
566
566
Enable [@vuepress/plugin-back-to-top](../plugin/back-to-top.md) or not.
0 commit comments