Commit graph

30 commits

Author SHA1 Message Date
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
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
68518002d7 fix: docs translation & versioning metadata 2018-09-07 22:28:33 +08:00
endiliey
0f38ae3979 feat:docs translation + versioning 💥 2018-09-07 20:41:04 +08:00
endiliey
b477863a30 chore: prepare for docs sidebar 2018-09-07 14:00:46 +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
9965eec798 feat: throw error if there is wrong field on siteConfig.js 2018-08-30 00:14:31 +08:00
endiliey
1f2c8a39a9 chore: nits 2018-08-23 23:36:39 +08:00
endiliey
406106b67e feat: code split & use react helmet 2018-08-23 21:46:14 +08:00
endiliey
0f28b6f311 test: fix load test 2018-08-11 14:22:50 +08:00
endiliey
8a5807418d test: genRoutesConfig 2018-08-11 01:34:35 +08:00
endiliey
084063eabe chore: eslint & prettier nits 2018-08-11 01:33:24 +08:00
endiliey
cfd11fbb6d test: utils for load 2018-08-11 00:38:22 +08:00
endiliey
bf94bf96f8 test: add test for load config 2018-08-10 15:03:44 +08:00
endiliey
d36c17f368 refactor: use alias for docs & eslint 2018-08-08 20:51:00 +08:00
endiliey
d9def2865a fix: use exact path & handle non-index pages 2018-08-08 14:45:54 +08:00
endiliey
77ec02a278 chore: eslint fix 2018-08-08 02:27:44 +08:00
endiliey
bc7b2835b0 feat: prototype custom pages site generation 2018-08-08 01:33:25 +08:00
endiliey
9e7729ad74 feat: react router config generation for docs 2018-08-08 00:39:17 +08:00
endiliey
9fef99cb18 refactor: rename loader to load as not to confuse webpack loader 2018-08-07 00:41:05 +08:00