Commit graph

5274 commits

Author SHA1 Message Date
Endi
4a30bf8947
fix(v2): fix wrong dependency problem (#1460) 2019-05-15 20:54:41 +07:00
endiliey
8055d59131 v2.0.0-alpha.14 2019-05-15 19:37:46 +08:00
endiliey
4a4bf43e5d chore(v2): fix typo 2019-05-15 19:35:14 +08:00
endiliey
badb067b4b test(v2): test different type of sidebar item 2019-05-15 19:16:28 +08:00
Yangshun Tay
f47059b5bd feat(v2): list blog tags on posts (#1456)
* feat(v2): list blog tags on posts

* fix date handling on blog header

* fix console log error due to non unique key
2019-05-15 16:56:08 +07:00
Endi
55d7920825
fix(v2): handle non existent blog, docs, pages (#1459)
* fix(v2): handle non existent blog, docs, pages

* nits
2019-05-15 13:55:07 +07:00
Endi
f84abfe2d1
fix: right TOC should not strip special chars (#1458)
* fix: right TOC should not strip special chars

* nits
2019-05-14 23:55:35 +07:00
endiliey
a0089aa9f5 chore(v2): use remark-slug so that rightToc can benefit from it 2019-05-14 16:04:52 +08:00
Yangshun Tay
ba6724281e fix(v2): slugify tags 2019-05-13 21:31:12 -07:00
Yangshun Tay
fd270bdceb
feat(v2): blog tags (#1453)
* feat(v2): blog tags

* feat(v2): blog tags
2019-05-13 10:14:44 -07:00
endiliey
ffdd3e60fc chore(v2): remove docsearch a11y workaround 2019-05-13 22:19:31 +08:00
Endi
b61cab5e9b
chore(v2): better error message style (#1454) 2019-05-13 18:47:57 +07:00
Endi
f9c0cd2e56 fix(v2): transpiling, window scroll and console error (#1452) 2019-05-13 01:07:47 -07:00
Yangshun Tay
23b50f17a1
refactor(v2): blog data revamp (#1450)
* refactor(v2): blog data revamp

* fix(v2): fix incorrect blog total count

* misc: remove console.log

* feat(v2): export frontMatter as an object within MDX file (#1451)

* refactor. Don't confuse metadata & frontmatter

* export frontMatter in content itself

* nits

* nits name

* dont truncate first four lines in blog
2019-05-13 00:16:15 -07:00
Endi
070723697f fix(v2): docsearch a11y issue (#1449) 2019-05-11 08:47:22 -07:00
Endi
6136fbe1d2
feat(v2): meta description (#1447)
* feat(v2): meta description

* add description for blog as well

* fix non-descriptive text link

* remove font awesome

* switch front-matter -> gray-matter
2019-05-10 22:37:56 +07:00
endiliey
34195e4c30 chore: point website-1.x to correct version so that it can pick latest code 2019-05-10 17:59:06 +08:00
Endi
64fb7a2d0c
chore(v2): tweak eslint config (#1445) 2019-05-09 20:01:48 +07:00
Endi
56cd3a22ce
chore(v2): rm flowtype (#1444) 2019-05-09 18:32:56 +07:00
Endi
c2ebde997a
refactor(v2): add flowtype + refactor test (#1443)
* chore(v2): add flow setup

* nits

* fix

* add flow-typed

* ignore compiled library

* fix error

* fix typing

* fix module name mapper

* setup for @docusaurus/core

* dont try remove type without @flow

* fix can't find @docusaurus/utils

* fix test

* remove obscure relative paths

* more refactoring

* add typing for server/load/theme.js

* no need to ship .flow source
2019-05-08 23:03:52 +07:00
endiliey
6f011d8e7a chore(v2): better chunk naming 2019-05-08 16:54:48 +08:00
Endi
174ad279a6
refactor(v2): move headerLinks -> themeConfig & rm dead code (#1442)
* refactor(v2): move headerLinks -> themeConfig & rm dead code

* rm -rf dead code
2019-05-08 15:47:32 +07:00
Yangshun Tay
384fd5708f feat(v2): Algolia search theme (#1440)
* feat(v2): Algolia search plugin

* patch PR #1440 (#1441)

* alternative implementation

* typo

* refactor noop

* rename SearchAlgolia -> SearchBar

* changes.md
2019-05-08 15:21:11 +07:00
Alireza
8aef4ec791 fix(v2-cli): passes the missing host option to start (#1439) 2019-05-08 07:22:18 +07:00
Endi
0834784455
feat(v2): easier plugin theme components swizzling (#1436)
* feat(v2): easier plugin theme components override

* add context

* refactor again

* rename eject -> swizzle

* nits
2019-05-07 13:56:43 +07:00
endiliey
3298d8cd23 fix(v2): add missing layout alias on theme-classic plugin 2019-05-06 20:32:49 +08:00
Yangshun Tay
eedd4c481c feat(v2): implement theme component overriding (#1435)
* feat(v2): implement component overriding

* siteDir theme overriding should work for > 1 level directory

* fallback for essential component like Loading

* rename default -> classic
2019-05-06 19:25:04 +07:00
endiliey
1697f9cebb chore(v2): optimize webpack config 2019-05-06 13:35:57 +08:00
Yangshun Tay
637047af2c refactor(v2): remove page plugin component 2019-05-05 12:33:54 -07:00
Yangshun Tay
1827c6f333 misc(v2): rename Blog components 2019-05-04 15:42:38 -07:00
Yangshun Tay
fb56f853af
misc(v2): rename components (#1434)
* misc(v2): clean up work

* misc(v2): rename components
2019-05-04 15:16:10 -07:00
Yangshun Tay
ab4f4bd802 docs: make navbar less cluttered 2019-05-04 14:06:05 -07:00
Hongarc
3b78b66e0d docs: showcase user Taro (#1425) 2019-05-03 09:20:43 -07:00
endiliey
c32706ef50 chore(v2/core): update dependencies 2019-05-03 12:38:24 +08:00
Yangshun Tay
c84860d9fa
doc: remove references to F8 in tutorial (#1432)
* doc: remove references to F8 in tutorial

* misc: use correct bold syntax

* misc: fix path
2019-05-02 19:16:05 -07:00
Yangshun Tay
64fdafbcea fix: replace use of deepmerge with _.merge (#1430) 2019-05-02 22:00:28 +07:00
endiliey
578c53a936 fix(v2): fix deploy to GitHub pages script 2019-05-02 19:49:04 +08:00
Endi
373d17ee72
refactor(v2): simplify code by removing wip i18n & translation (#1431)
* refactor(v2): remove i18n & versioning + cleaner code

* totally remove i18n and versioning from plugin
2019-05-02 17:24:47 +07:00
Zach Badgett
0813920349 refactor: refactor code tab split (#1369)
* refactor: refactor code tab split

* Add split tab unit test

* Fix code tab list bug
2019-05-01 20:57:13 -07:00
James George
5030952a8f feat(v2-cli): Added new environment info command (#1410)
* Adds new info command

Shows up essential debugging information about the environment

* Minor fix

* Remove npmGlobalPackages from envinfo

* Fix up glob pattern

* Minor fix

* Update glob pattern

* fix envinfo glob pattern and params

* prettier

* simplify glob
2019-05-01 21:24:45 +07:00
endiliey
76d210f1f1 v2.0.0-alpha.13 2019-05-01 21:27:50 +08:00
Endi
ff14666450
fix(v2): fix SSR mismatch location for non default baseurl (#1429) 2019-05-01 20:21:39 +07:00
endiliey
ec221f5b7c docs(v2): write abit about plugin api 2019-05-01 19:48:55 +08:00
Endi
a1ee1ab140
chore(v2): use normalizeUrl instead of path.join (#1428)
* chore(v2): use normalizeUrl instead of path.join

* address review
2019-04-30 23:05:27 +07:00
Zhonglei Qiu
a4ca603222 docs: showcase user minapp (#1421) 2019-04-30 07:59:47 -07:00
Endi
15f84d401e fix(v2): anchor css not working on blog (#1426)
* fix(v2): anchor css not working on blog

* spacing
2019-04-30 07:53:10 -07:00
Hongarc
4721d9dc48 docs: update image of showcase user Vuls (#1420) 2019-04-30 07:47:11 -07:00
endiliey
bc83a81e2d fix(v2): fix blog ordering 2019-04-30 22:39:20 +08:00
endiliey
aee5834c8a fix(v2): deploy script should force push 2019-04-30 22:13:04 +08:00
endiliey
fbe2fb879f fix(v2): plugin-content-blog should have mdx-loader as dependency 2019-04-30 16:42:36 +08:00