Commit Graph
375 Commits
Author SHA1 Message Date
ULIVZ 02e99ea176 docs: enable algolia search in production 2018-11-30 00:58:36 +08:00
Alexander SchwartzandULIVZ 0bfd9daab3 refactor: handle SSR when linksWrapMaxWidth is null (#1039) 2018-11-30 00:18:57 +08:00
spiltcoffeeandULIVZ 5d9f87b203 feat($core): AppContext was still expecting --outDir instead of --dest (#1041) 2018-11-30 00:16:07 +08:00
ULIVZandGitHub e570252f0c feat: support debug in dev process (#1051)
'* + Enter' to log the keys of AppContext, while 'key + Enter' is to log the value of corresponding
field in AppContext
2018-11-30 00:14:25 +08:00
ULIVZ d8db81c01d feat($markdown): pass rest options to instantiate markdown-it
Close: #1040

e.g.

  markdown: {
    config: md => {
      md.set({linkify: true});
    }
  }

shortcut:

  markdown: {
    linkify: true
  },
2018-11-30 00:12:41 +08:00
ULIVZ 8dd418efd0 fix($theme-default): Extending Layout.vue causes the Sidebar to disappear (close: #1045) 2018-11-29 23:36:07 +08:00
Jan VennemannandULIVZ c07949dc0a fix: markdown slots doesn't work (close: #1048)(#1054)
It's because we didn't read slotKey prop at Content component
This commit also updated the documentation.
2018-11-29 23:19:41 +08:00
ULIVZ 4f505a81ed fix($core): content property of additionalPages doesn't work (close: #1050) 2018-11-29 22:57:48 +08:00
ULIVZ 8a4b5e8043 chore($core): using hash-sum to generate page's hash 2018-11-29 22:43:47 +08:00
ULIVZandGitHub 1a897cb88d feat($cli): migrate to CAC (#1049) 2018-11-28 00:59:34 +08:00
ULIVZ dbbf4a56eb v1.0.0-alpha.24 2018-11-26 02:25:01 +08:00
ULIVZ de72c91cac feat($core): disable smoothing scroll by default
Will open a new API 'smoothing-scroll' to replace this at next alpha version
2018-11-26 02:23:13 +08:00
ULIVZ e8b78c4e70 fix($markdown): "index" is dropped in a link with "*index" pattern
Reported at #996
2018-11-26 02:04:51 +08:00
ULIVZ b0133e34bf test($shared-utils): improve 2018-11-26 01:45:08 +08:00
ULIVZ 8611c1cb19 fix($test-utils): test failed due to wrong babel version 2018-11-26 01:40:02 +08:00
ULIVZ c059faa6fd fix($theme-default): shouldn't transform date string at client side (close: #1035)
Move the transformation to $plugin-last-updated, BTW, expose `lang` as the 2nd argument
2018-11-26 01:31:35 +08:00
ULIVZ d338468252 fix($theme-default): hard to read in a dark-themed browser (close: #1025) 2018-11-26 00:40:38 +08:00
ULIVZ 1277445210 chore: tweaks 2018-11-26 00:37:48 +08:00
ULIVZ aad86b965c fix($cli): 'vuepress eject' doesn't copy files (close: #1028) 2018-11-26 00:34:10 +08:00
ULIVZ 2a6d896063 chore: sourceDir should be default to cwd 2018-11-25 23:52:30 +08:00
ULIVZ df99cb6e4b feat($cli): '--silent' option 2018-11-25 23:36:30 +08:00
ULIVZ 9c613902c2 feat($core): more concise logger 2018-11-25 21:30:59 +08:00
ULIVZ 58981fb40d fix: distracting and time wasting after importing smoothing scroll
Lervarage 'speedAsDuration: true' to ensure each transition only takes 400ms (Extracted from vuejs.org https://github.com/vuejs/vuejs.org/blob/master/themes/vue/source/js/common.js#L367)
2018-11-24 12:09:32 +08:00
Nulla WuandULIVZ ab0e002b71 fix($plugin-blog): blocking front matter custom layout config (close: #906) (#1027) 2018-11-20 10:01:03 +08:00
Remington CampbellandULIVZ a267b4a507 refactor: fs.remove -> fs.emptyDir (#1030) 2018-11-20 09:54:30 +08:00
ULIVZ c21a21b403 v1.0.0-alpha.23 2018-11-18 09:51:37 +08:00
ULIVZ 844a8c7d89 refactor($core): using cleaner code to update meta. 2018-11-18 09:49:50 +08:00
ULIVZ 6734a608b2 fix($theme-default): IE11 doesn't support shortcut of flex
Default value of flex is `flex: 1 1 auto`, while `flex: 1` is `1 1 0`
2018-11-18 09:47:03 +08:00
ULIVZ 8e555f68d3 fix($plugin-search): collapsed in IE11 2018-11-18 09:31:21 +08:00
ULIVZ 6b9b38b4e5 feat($active-header-links): simplify implementation 2018-11-18 09:28:24 +08:00
ULIVZ 5b0cdcf5b8 feat($core): using 'smooth-scroll' 2018-11-18 09:06:31 +08:00
ULIVZ a3938b27db fix($core): NodeList.prototype.forEach doesn't exist in IE11 2018-11-18 07:29:02 +08:00
ULIVZ 2a4e37f4ca chore($last-updated): ensure build process success if not in git repo. (close: #1007)
During some CI context, the git command would not exist, this change just ensure that the build process does not crash.
2018-11-18 04:47:09 +08:00
ULIVZ e8d728fa09 fix($theme-default): prev/next links disappears when url contains space. (close: #1010) 2018-11-18 04:01:48 +08:00
Daniel CastilloandULIVZ 1a87017cc7 fix: anchor links not updating current URL (closes #1011) (#1014) 2018-11-17 13:50:39 -06:00
ULIVZ 0d45cf4de7 fix: siteConfig.chainWebpack was executed twice. 2018-11-18 01:47:26 +08:00
ULIVZ 17a03f27c6 docs: migrate register-components 2018-11-17 23:38:26 +08:00
Владислав ЛюминарскийandULIVZ efece122e5 fix($theme-default): fit image for hero image (#980) 2018-11-15 23:08:24 -06:00
Brian RettererandULIVZ 100bbf2461 feat($active-header-links): add option for specifying the top offset (#1005) 2018-11-15 23:06:34 -06:00
Jamie HalvorsonandULIVZ dac42da648 chore: fixes typo in the register-components plugin readme (#957) 2018-11-15 07:40:56 -06:00
ULIVZ ed4ca2a3ac chore: update all readme of official plugins. 2018-11-15 21:38:05 +08:00
ULIVZ 82cd300648 v1.0.0-alpha.22 2018-11-14 04:18:01 +08:00
ULIVZ 2dafd88673 chore: upgrade mini-css-extract-plugin and lock version
This commit fixed #977 for 0.x.
2018-11-14 04:16:22 +08:00
ULIVZ c8f6aebd42 chore: fix typo 2018-11-14 04:14:57 +08:00
ULIVZ 6b1deb6ac2 chore: tweaks readme of markkown 2018-11-14 02:51:11 +08:00
ULIVZ dd55269057 v1.0.0-alpha.21 2018-11-14 02:48:06 +08:00
ULIVZ adb08a2194 docs: readme of @vuepress/markdown 2018-11-14 02:47:10 +08:00
ULIVZ 6a20c40f22 chore: enhance scroll behavior of header anchor 2018-11-14 02:23:04 +08:00
ULIVZ 15af271a80 feat($markdown): ability to disable built-in markdown extensions
chainMarkdown (config) {
    require('@vuepress/markdown').removeAllBuiltInPlugins(config)
  }

Note that COMPONENT and ANCHOR plugin are required in VuePress, It is forbidden to delete them!
2018-11-14 01:17:58 +08:00
ULIVZ ca03a1263c chore($markdown): hoist index.js to root dir 2018-11-14 00:38:27 +08:00