Commit graph

133 commits

Author SHA1 Message Date
endiliey
45736200b0 v2: prepare to move 2018-09-17 11:16:07 +08:00
endiliey
dc7ef96849 refactor: css extraction 2018-09-16 14:21:44 +08:00
endiliey
141d6558af refactor: only process translated & versioned if it is enabled 2018-09-16 12:55:19 +08:00
endiliey
15a810fee5 chore: nits 2018-09-16 01:40:56 +08:00
endiliey
85f0fd69c0 feat: add docs sidebar 2018-09-15 16:29:10 +08:00
endiliey
c132c7445f chore: naming consistency 2018-09-15 15:15:30 +08:00
endiliey
5eab627340 feat: avoid flash Of Loading component 2018-09-15 15:01:03 +08:00
endiliey
6b11281247 test: metadata test for next/prev from sidebars 2018-09-15 01:06:35 +08:00
endiliey
e071788f68 refactor: use <Link /> from react-router for next/prev link 2018-09-15 00:29:33 +08:00
endiliey
318ea5fbb5 feat: add next/prev button for docs according to sidebar 2018-09-15 00:25:12 +08:00
endiliey
11b0d15238 feat: pass loaded siteConfig as props for React component 2018-09-14 23:49:03 +08:00
endiliey
c0194a1f53 fix: markdown linking for translated & versioned docs 2018-09-14 23:19:47 +08:00
endiliey
e9f2fabde1 chore: rename data -> metadata for consistency 2018-09-14 22:10:19 +08:00
endiliey
760b9172b0 feat: replace relative markdown link to corrrect url 2018-09-14 20:49:50 +08:00
endiliey
4d10c3b8f3 test: docs ordering from sidebar 2018-09-14 19:13:17 +08:00
endiliey
0365403a75 feat: add uglifyjs webpack plugin 2018-09-14 02:58:29 +08:00
endiliey
ca623d7d38 fix: provide correct paths for build 2018-09-14 01:30:00 +08:00
endiliey
5fcc13572c fix: default theme url typo 2018-09-12 01:27:21 +08:00
endiliey
20f6921b52 chore: normalize permalink to remove trailing slash if user permalink is not good 2018-09-12 01:08:48 +08:00
endiliey
b99605f725 feat: allow custom docsUrl & custom permalink 2018-09-12 01:00:31 +08:00
endiliey
185f7b1ed1 fix: yarn build error 2018-09-08 00:46:15 +08:00
endiliey
59fa427dbd test: add metadata test 2018-09-08 00:41:17 +08:00
endiliey
68518002d7 fix: docs translation & versioning metadata 2018-09-07 22:28:33 +08:00
endiliey
0cef519e7f test: fix inconsistent test 2018-09-07 21:51:18 +08:00
endiliey
0f38ae3979 feat:docs translation + versioning 💥 2018-09-07 20:41:04 +08:00
endiliey
31d333b82f test: add easy setup for test cases 2018-09-07 20:25:04 +08:00
endiliey
b477863a30 chore: prepare for docs sidebar 2018-09-07 14:00:46 +08:00
endiliey
2141e6ea90 test: loadPages 2018-09-07 13:53:14 +08:00
endiliey
988232edd4 wip: trans & versioning 2018-09-07 13:51:01 +08:00
endiliey
d00864d222 feat: add @theme/Markdown to allow user modify their own markdown react component 2018-09-06 21:41:08 +08:00
endiliey
1ff6733464 feat: add loadEnv to check if translation / versioning is enabled 2018-09-04 23:43:38 +08:00
endiliey
828d99dc8e refactor: load theme 2018-09-03 23:30:28 +08:00
endiliey
10b1a38762 feat: allow user to modify generated webpack config 2018-08-30 03:30:44 +08:00
endiliey
2b5ee3e869 feat: enable custom theme with eject 2018-08-30 01:03:38 +08:00
endiliey
8c6bc6dd38 feat: able to specify host for dev (e.g: 0.0.0.0) 2018-08-30 01:00:54 +08:00
endiliey
9965eec798 feat: throw error if there is wrong field on siteConfig.js 2018-08-30 00:14:31 +08:00
endiliey
ef17da741a chore: nits && lint 2018-08-28 22:44:33 +08:00
endiliey
9dc4cc2ff4 chore: add another react pages examples 2018-08-26 20:35:16 +08:00
endiliey
ea37e54477 feat: hljs syntax highlighting & nits 2018-08-26 19:43:22 +08:00
endiliey
0058b20d9e chore: add missing dep & nits :( 2018-08-26 03:19:09 +08:00
endiliey
3530cbe173 test: update test webpack 2018-08-26 03:15:25 +08:00
endiliey
be3d259ac8 chore: better examples 2018-08-26 03:11:28 +08:00
endiliey
d3e12c9455 chore: update docs examples 2018-08-26 03:10:50 +08:00
Endilie Yacop Sucipto
99cc83e88c
chore: update readme 2018-08-24 10:29:44 +08:00
endiliey
23a85d9074 fix: hot reload port should not be hardcoded in case it is used 2018-08-24 00:05:50 +08:00
endiliey
1f2c8a39a9 chore: nits 2018-08-23 23:36:39 +08:00
endiliey
e13e1bffb4 feat: remove/clean your build folder(s) before building 2018-08-23 23:07:42 +08:00
endiliey
406106b67e feat: code split & use react helmet 2018-08-23 21:46:14 +08:00
endiliey
bf1e30dc52 dep: use forked version of static-generator-webpack-plugin 2018-08-12 23:17:56 +08:00
endiliey
3eb9823105 test: validate generated webpack config instead of compiling 2018-08-12 23:17:39 +08:00