Commit Graph
144 Commits
Author SHA1 Message Date
ULIVZ 4492bcd4e2 feat: @vuepress/plugin-medium-zoom 2018-09-09 05:35:56 +08:00
ULIVZ 4e340fc72a feat: init @vuepress/plugin-pagination 2018-09-09 05:06:25 +08:00
ULIVZ 357e1a56c1 feat($core): detaMixin - expose $themeConfig 2018-09-09 05:05:54 +08:00
ULIVZ 96ddb59e5d refactor($core): refine Page / AppContext 2018-09-09 05:05:10 +08:00
ULIVZ 011c3c3ba6 fix($core): exclude non-content pages from the page components 2018-09-09 05:03:39 +08:00
ULIVZ adb3d564ef chore: avoid Content component throw error 2018-09-09 05:01:47 +08:00
ULIVZ f5e1e99415 refactor($core): simplify Page's interface 2018-09-09 04:00:11 +08:00
ULIVZ 463625c783 feat($theme-blog): add 'type' field to page data and more reasonable layout fallback 2018-09-09 03:03:56 +08:00
ULIVZ 0e34e2d93f refactor($core): clientDynamicModules option - use default value 2018-09-09 01:50:34 +08:00
ULIVZ b507faeaf8 feat: empty temp dir before launching app 2018-09-09 00:22:32 +08:00
ULIVZ 078696e938 feat($plugin-blog): correct Layout for index page and one-level page 2018-09-09 00:20:31 +08:00
ULIVZ 20d612c92f refactor: simplify the implementation of makrdown slots 2018-09-09 00:09:45 +08:00
ULIVZ 1cba9bcee7 feat: init @vuepress/plugin-blog 2018-09-08 23:24:15 +08:00
ULIVZ 99cd91140a feat: markdown slots (close: #594)
Source:

```md
- Evan You

<template slot="projects">

    - Vue.js
    - VueX

</template>
```

Usage:

```
<Content/> // get default slot
<Content slot="projects"> // get named slot
```
2018-09-08 01:33:58 +08:00
ULIVZ f8b8c51e9d chore: clean expired code 2018-09-08 01:20:27 +08:00
ULIVZ fe3c2d15cb Revert "chore: change config load order (#804)"
This reverts commit 04723be4ef.
2018-09-06 23:27:00 +08:00
ULIVZ f0a1f68533 Merge branch 'next' of https://github.com/vuejs/vuepress into next 2018-09-06 23:11:47 +08:00
ULIVZ cf088f556e refactor($core): simplify page components registration 2018-09-06 23:11:29 +08:00
Eko EryantoandULIVZ 04723be4ef chore: change config load order (#804) 2018-09-06 09:19:06 +08:00
ULIVZ 0aa3d950ce chore: tweaks 2018-09-05 01:15:26 +08:00
ULIVZ 44fb133e4e Merge branch 'next' of https://github.com/vuejs/vuepress into next 2018-09-05 01:06:59 +08:00
ULIVZ 7f7fe18d40 feat: support clean and multiple custom layout. / theme default layouts dir
1. Refine ExtendPageDataOption, simplify the implmentation
2. Introduce LayoutDistributor as the unique route layout entry
3. Inject layout components to LayoutDistributor
4. Register layout components located at themedir/layouts
5. Reorganize the default theme's structure
2018-09-05 01:02:19 +08:00
YuChao LiangandULIVZ c19fb3aa5a fix: escape backslash (#787) 2018-09-03 13:49:21 +08:00
ULIVZ e08cc2e901 chore($core): hide internal plugin log 2018-09-02 23:15:59 +08:00
ULIVZ f81f3732f6 feat: refine theme API
1. Support scope package and shortcut like plugin.
2. Support relative path for 'layout' and 'notFound' option.
2018-09-02 22:55:44 +08:00
ULIVZ 76b74b16d9 chore: bump jest 2018-09-02 22:49:59 +08:00
ULIVZ 9622ed8716 chore: clean package.json 2018-09-02 03:16:09 +08:00
ULIVZ 32a3752a54 chore($test-utils): tweaks 2018-09-02 03:15:37 +08:00
ULIVZ 3daac59806 chore($core): clean legacy plugin utils and tests 2018-09-02 02:45:09 +08:00
ULIVZ a8fea3c630 feat($shared-utils): shortcutPackageResolver 2018-09-02 02:38:24 +08:00
ULIVZ b80c81071a feat($shared-utils): enhance datatypes 2018-09-02 02:36:31 +08:00
YuChao LiangandULIVZ adb74b78a6 fix: valid filename for case-sensitive os (#779) 2018-08-30 23:57:56 +08:00
ULIVZ b45633efca refactor($core): move core resuable utilities to 'shared-utils and fix tests 2018-08-29 01:37:56 +08:00
ULIVZ 7f047080f7 feat($core): let 'core' provide a default NotFound component 2018-08-29 01:35:54 +08:00
ULIVZ dc3b0f40d4 Merge branch 'master' into next 2018-08-28 20:50:45 +08:00
ULIVZ eca8a61b04 test: init @vuepress/test-utils and migrate all tests 2018-08-27 19:35:18 +08:00
ULIVZ d708d33123 feat: allow to lanuch multiple apps with isolated context at the same time.
1. Move writeTemp utility from @vuepress/shared-utils to @vuepress/core
2. Support for passing temp path from CLI
3. Create writeTemp dynamically
2018-08-27 17:13:01 +08:00
ULIVZ 11997f0294 chore: normalize prepare API. 2018-08-27 15:44:36 +08:00
ULIVZ 8e84065279 feat($shared-utils): allow change temp path at runtime via env. 2018-08-27 14:48:28 +08:00
ULIVZ c1d7aeb551 test($core): migrate test for markdown 2018-08-27 14:28:33 +08:00
ULIVZ 5599ae0b7a test($core): use es6 import
ref: https://github.com/facebook/jest/issues/6835
2018-08-27 01:59:29 +08:00
ULIVZandGitHub 2bdf88c9eb feat: blog stage 1 - permalink (#763)
* feat: siteConfig.permalink & frontmatter.permalink

* chore: ensure leading and ending slash

* chore: update comment
2018-08-27 01:39:12 +08:00
ULIVZ c7d8ee9638 feat($core): execute 'i18n' (i.e. dataMixin) on both server and client side 2018-08-24 01:35:03 +08:00
ULIVZ 06941fda33 Revert "refactor($core): extract dataMixin, try to reuse it at build time"
This reverts commit 45252a9fd4.
2018-08-24 00:25:17 +08:00
ULIVZ 6a4592d7a0 chore: simplify encode url 2018-08-24 00:13:58 +08:00
ULIVZ abc1d01d04 fix: regression - avoid deliver 'content' to client side 2018-08-24 00:10:06 +08:00
ULIVZandGitHub afa71b582b refactor: refine core implementation (#762) 2018-08-24 00:02:33 +08:00
ULIVZ 45252a9fd4 refactor($core): extract dataMixin, try to reuse it at build time 2018-08-23 22:42:33 +08:00
ULIVZ 6d19b58347 chore: fix typo 2018-08-23 18:06:02 +08:00
ULIVZ c9e0385db5 chore($core): simplify ExtendPageDataOption 2018-08-23 16:34:52 +08:00