VuePress的1.3.0版本发布了,主要更新内容如下:
Bug修正:
- update known command list (#2146) (2b25740)
- $cli: inferUserDocsDirectory ignore all node_modules (#2137) (df59909)
- $core: set NODE_ENV before creating app (#1972) (245be8d)
- $core: temp option in siteConfig has not effect (fix #2038) (#2040) (0bb85a4)
- $default-theme: deep sidebar links rendenring (#1973) (0e5519a)
- $docs: Fixed typo (#1997) (7d6e420)
- $docs: Uniforming VuePress labels in documentation (fix #1998) (6a84126)
- $markdown: Fix four spaces codeblocks rendering (Closes #1921) (#1958) (7bc5825)
- $plugin-google-analytics: duplicate tracking of first page (fix #2017) (#2039) (a69df21)
- $plugin-pwa: no global-ui-component when updatePopup is disabled (#2041) (6f9e478)
- $shared-utils: Add curly quotes to rSpecial (#1934) (28a0ed9)
- $theme-default: close dropdown-links when focusout on the last item (close #1948) (#1952) (cd72acc)
- $theme-default: slots don’t allow customization for Sidebar & Page (close: #1950) (#1951) (890e85d)
- $theme-default: use alias for nested SidebarLinks (close #2049) (ceccca3)
- $theme-default: wrong algolia search route with base config (#2007) (b00b277)
新特性:
- $cli: Notify users of a newer release (#2121) (7a09a72)
- $cli: run debug mode without clearing screen (close #2100) (#2116) (c6a3cb5)
- $core: Add generator meta tag to ssr index.html template (#2133) (2826cd7)
- add variable to config HomePage width (close #2055) (#2086) (b72d145)
- remove unnecessary check in moduleResolver.ts (#2068) (bd71e43)
- $config: Allow overriding badges colors (close #1940) (#1941) (89a4a8d)
- $markdown:
extractHeaders
option (close: #1903) (#1945) (d2fef5d) - $markdown: Support for Rust file extension (73089a0)
- $theme-default: allow optional subtitle (#1981) (a28804c)
- $theme-default: external links in prev/next (close #1962)(#1984) (9f28814)
- $theme-default: markdown details custom block (close #768) (#2044) (7f2a997)
- $theme-default: Support configuring target and rel for nav links (close #1353) (#1734) ([770ba72]
转自 https://www.oschina.net/news/113090/vuepress-1-3-0-released