337 Commits
Author SHA1 Message Date
meteorlxy b4853c3e60 style: lint code 2019-12-03 19:27:05 +08:00
meteorlxy 8d0c27b69b style($core): lint types defs 2019-11-28 17:16:28 +08:00
meteorlxy 48ca07aa8c style: lint the codebase 2019-11-28 16:22:53 +08:00
Sun Haoranandmeteorlxy 0bb85a4d86 fix($core): temp option in siteConfig has not effect (fix #2038) (#2040) 2019-11-27 15:26:38 +08:00
Franck Abgrallandmeteorlxy 245be8dbb8 fix($core): set NODE_ENV before creating app (#1972) 2019-11-27 10:55:24 +08:00
Nicolas BrousseandULIVZ a058638d20 chore: fix English typo on error message (#1994)
It should be "encountered" not "encounted".
2019-11-02 15:30:34 +08:00
Franck AbgrallandGitHub 89a4a8d954 feat($config): Allow overriding badges colors (close #1940) (#1941) 2019-10-26 16:39:54 +02:00
Franck AbgrallandULIVZ d2fef5d8f6 feat($markdown): extractHeaders option (close: #1903) (#1945) 2019-10-21 23:36:21 +08:00
Martin MuzatkoandULIVZ cdbfd757ac feat($core): support async function exported in vuepress config (close: #1185) (#1925) 2019-10-12 06:49:20 +09:00
Eduard Cotandfgiraud 1f3e4e297b feat($core): config pattern of resolved files (#1705)
* feat($core): config pattern of resolved files

Thank's for your work @eduardcotmrf  good job

fix #1700
2019-10-08 20:03:20 +02:00
meteorlxyandULIVZ 830de80886 chore($core): fix typo in types defs (#1892) 2019-10-05 00:34:30 +08:00
ULIVZ 974ef91c45 chore: fix lint & update lockfile 2019-10-05 00:29:38 +08:00
Alexey IskhakovandULIVZ 8d0767543f fix($core): cannot read property 'path' of undefined (#1906) 2019-10-04 23:56:39 +08:00
Franck AbgrallandGitHub c17c70e96a feat($core): Upgrade vue version (#1876) 2019-09-24 19:08:37 +02:00
ShigmaandULIVZ 51de6cfde8 fix($core): optimize error log (close: #1296) (#1413) 2019-09-24 01:07:18 +08:00
Antoine CaronandFranck Abgrall 543fd6c853 feat($config): make extendPageData async ready without breaking changes (#1546) 2019-09-10 18:22:09 +02:00
Billyyyyy3320andfgiraud 9050871b0d refactor($core): stop watching unnecessary events (#1827) 2019-09-08 11:46:31 -04:00
Shigmaandfgiraud 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 SianiandULIVZ 6460b0c840 fix($core): transpile all scripts under core (close: #1623) (#1685) 2019-07-30 01:48:59 +08:00
Colin KinlochandULIVZ 52f421bc3b fix($core): prioritise vuepress dependencies over cwd node_modules (close: #1708) (#1720) 2019-07-29 02:03:12 +08:00
zthxxxandULIVZ 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
云游君andULIVZ 17ba325008 fix($core): url display in dev log (#1670) 2019-06-22 23:22:26 +08:00
Craig MorrisandULIVZ 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
ULIVZandGitHub 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
ShigmaandULIVZ 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
ocavueandULIVZ 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
zyxdandULIVZ 2c930c907e feat($core): infer page's date via directory name (#1553) 2019-04-24 04:51:31 +08:00
Haoqun JiangandULIVZ 0970954078 chore: update dependencies (#1555) 2019-04-24 04:46:05 +08:00
ShigmaandULIVZ 441f0232c8 feat($core): prevent duplicate route (#1525) 2019-04-15 01:22:51 +08:00
Rahul KadyanandULIVZ 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
ShigmaandULIVZ 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