Antoine Caron and Franck Abgrall
543fd6c853
feat($config): make extendPageData async ready without breaking changes ( #1546 )
2019-09-10 18:22:09 +02:00
Billyyyyy3320 and fgiraud
9050871b0d
refactor($core): stop watching unnecessary events ( #1827 )
2019-09-08 11:46:31 -04:00
Shigma and fgiraud
3b68913996
feat($core): better layout check ( #1455 )
...
* better layout check
* enhance resolve SFCs
* fix(layout): fix broken class content
* fix(delete): delete useless use of context
2019-09-07 00:58:17 -04:00
Haoqun Jiang
b69b107e0d
fix($core): do not transpile core packages' dependencies
2019-08-12 17:19:15 +08:00
Massimo Siani and ULIVZ
6460b0c840
fix($core): transpile all scripts under core ( close : #1623 ) ( #1685 )
2019-07-30 01:48:59 +08:00
Colin Kinloch and ULIVZ
52f421bc3b
fix($core): prioritise vuepress dependencies over cwd node_modules ( close : #1708 ) ( #1720 )
2019-07-29 02:03:12 +08:00
zthxxx and ULIVZ
2a59800677
fix($core): '[Vue warn]: Unknown custom element' when using <Content /> in a custom page without markdown ( #1699 )
...
**Bug**: example, , will raise `[Vue warn]: Unknown custom element`, like #1173 #1426
**Reason**: because it not inject any content in `@internal/page-components` while not find markdown file, `Vue.component` of `pageKey` must be `undefined`, then `h(pageKey)` raise this error
**Fix**: judge as `if (Vue.component(pageKey))`, unnecessary to render if no component existed
2019-07-20 14:41:20 +08:00
ULIVZ
1aaa6e3210
fix($core): cannot resolve agreement file from parent theme
2019-06-23 05:19:36 +08:00
云游君 and ULIVZ
17ba325008
fix($core): url display in dev log ( #1670 )
2019-06-22 23:22:26 +08:00
Craig Morris and ULIVZ
9923f83140
chore: remove parentheses around site url ( #1666 )
...
As VSCode makes `http://localhost:8080/ )` including trailing parentheses which leads to a 404.
2019-06-22 23:07:44 +08:00
ULIVZ
d1a17a8880
chore: remove layout component options directly
2019-06-05 14:58:44 +08:00
ULIVZ
83b02ba517
fix($core): failed to render <Content /> with dynamic pageKey from current $page.
2019-06-05 11:10:56 +08:00
ULIVZ
d30e078b3c
fix($core): window is not defined
2019-06-04 03:34:54 +08:00
ULIVZ
7eed1f49f2
fix($core): cannot load theme with shortcut.
2019-06-03 22:00:28 +08:00
ULIVZ
bd0bdf989d
feat($core): global variable "__VUEPRESS__" to store runtime key infos
2019-06-02 23:54:59 +08:00
ULIVZ
50f64b473f
fix($core): cannot retrieve the correct theme name when them path is a local absolute path linked to a javascript file.
2019-06-02 21:32:39 +08:00
ULIVZ
7d0542e33e
feat($core): safer class name of content outlet
...
We shouldn't let the core render the `.content` class, so once we use custom layout in the default theme, the styles of default theme will pollute the styles of custom layout.
2019-06-02 14:51:53 +08:00
ULIVZ and GitHub
e6af68fa01
fix($core): Search result cannot jump to the correct hash anchor ( close : #1594 ) ( #1599 )
2019-05-14 13:22:49 +08:00
ULIVZ
fbbd677f56
Revert "feat($markdown): TOC component ( close : #1275 ) ( #1375 )"
...
This reverts commit 760f90b914 .
2019-05-13 00:12:49 +08:00
ULIVZ
8013417d9a
Revert "refactor($theme-default): leverage markdown-it-table-of-contents ( #1436 )"
...
This reverts commit cab5b8318e .
2019-05-12 23:58:31 +08:00
Shigma and ULIVZ
cab5b8318e
refactor($theme-default): leverage markdown-it-table-of-contents ( #1436 )
2019-05-12 23:00:48 +08:00
ULIVZ
4d9b7754ca
chore: refactor code style
2019-05-12 22:56:02 +08:00
ocavue and ULIVZ
057d8bf31c
fix($core): failed to load theme when using "layouts/Layout.vue" as entry file ( close : #1563 ) ( #1564 )
2019-05-12 01:24:04 +08:00
zyxd and ULIVZ
2c930c907e
feat($core): infer page's date via directory name ( #1553 )
2019-04-24 04:51:31 +08:00
Haoqun Jiang and ULIVZ
0970954078
chore: update dependencies ( #1555 )
2019-04-24 04:46:05 +08:00
Shigma and ULIVZ
441f0232c8
feat($core): prevent duplicate route ( #1525 )
2019-04-15 01:22:51 +08:00
Rahul Kadyan and ULIVZ
9efc6785b2
fix($core): use directory name to compute slug if filename is readme or index ( close : #1443 ) ( #1535 )
2019-04-14 00:14:42 +08:00
ULIVZ
fb324d54c7
fix($core): webpack externals (ref: #451 )
2019-04-14 00:06:27 +08:00
ULIVZ
9420ca9233
chore: bump to optimize-css-assets-webpack-plugin@5.0.1
2019-04-07 01:29:01 +08:00
ULIVZ
6da9a5f112
feat($core): emit warning if the source directory doesn't exist ( close : #1521 )
2019-04-07 01:08:05 +08:00
Shigma and ULIVZ
74887c50da
feat($core): assert return type for functional plugin ( #1516 )
2019-04-07 00:55:49 +08:00
ULIVZ
dabf506022
fix($core): Index.styl is not injected at the end of the style bundle ( close : #1523 )
...
BTW, A theme cannot require the theme's styles at the layout but need use `Index.styl` instead.
2019-04-07 00:45:06 +08:00
ULIVZ
9fba54931c
fix($core): routerBase will always get '/' ( close : #1503 )
2019-04-03 00:03:18 +08:00
ULIVZ
5e12b4929f
fix($core): regression of introducing dynamic routerBase ( close : #1498 )
...
Also renaming __VUEPRESS_ROUTE_BASE__ to __VUEPRESS_ROUTER_BASE__
2019-04-01 00:45:53 +08:00
ULIVZ
fc99d59f64
feat($core): allow dynamic routeBase at runtime
...
Setting it via window.__VUEPRESS_ROUTE_BASE__ at enhance app file.
2019-03-31 23:44:13 +08:00
ULIVZ
699492ad57
fix($core): should default host be 0.0.0.0
...
ref: https://github.com/CompuIves/codesandbox-client/pull/1652
2019-03-31 23:42:21 +08:00
Shigma and ULIVZ
9e07b1e090
feat($core): support array as plugin options ( #1493 )
2019-03-31 01:56:34 +08:00
Shigma and ULIVZ
c88f9830ee
chore: remove plugin-container ( #1462 )
2019-03-31 01:38:57 +08:00
Shigma and ULIVZ
19e05697a6
feat($core): functional siteConfig.evergreen ( #1489 )
2019-03-31 01:36:12 +08:00
Shigma and ULIVZ
cc193d5cc1
refactor($markdown): use relativePath instead of relPath ( #1485 )
2019-03-28 01:09:21 +08:00
Shigma and ULIVZ
d7b8dafd8b
feat($core): export version ( #1486 )
...
const { version } = require('vuepress')
2019-03-28 01:05:56 +08:00
Shigma and ULIVZ
d34e0389a5
fix($core): do not use stylus in outbound link
2019-03-27 22:29:51 +08:00
ULIVZ
ec7c1ea9fe
chore: remove outdated code
2019-03-17 23:12:20 +08:00
Shigma and ULIVZ
9caada0221
chore: fix lint ( #1451 )
2019-03-15 23:31:14 +08:00
Rahul Kadyan and ULIVZ
ef82c4715e
fix($core): do not register component in render function ( #1449 )
2019-03-15 09:44:56 +08:00
Shigma and ULIVZ
93b2ca1d45
feat($core): decode page path for better readablility ( #1438 )
2019-03-14 00:47:35 +08:00
Shigma and ULIVZ
9734a581d6
feat($markdown): markdown plugin ( close : #585 ) ( #1422 )
2019-03-13 02:06:48 +08:00
Shigma and ULIVZ
3b14375e27
fix($theme-default): fix wrong editLink ( close : #1115 , #1125 ) ( #1419 )
2019-03-13 01:50:14 +08:00
ULIVZ
1c2a6b2563
feat($core): return current app instance in node api
2019-03-11 02:47:53 +08:00
ULIVZ
547e4f98a7
feat($core): optional callback when socket connection is ready under dev.
2019-03-11 01:40:53 +08:00