Commit graph

22 commits

Author SHA1 Message Date
Yangshun Tay
cefee2dec1
feat(v2): allow plugins to specify paths to watch (#1272) 2019-03-09 13:00:44 -08:00
Endilie Yacop Sucipto
643addb729
feat(v2): enable JSX in markdown using MDX (#1263)
* feat(v2): enable JSX in markdown

* reformat docs

* chore(v2): nits

* remove dummy test

* include .mdx extension

* add syntax highlighting with prismjs
2019-03-08 01:02:47 +08:00
Endilie Yacop Sucipto
2ad7413dd7 refactor(v2): determine all available routes/url (#1264)
* refactor(v2): determine all available routes/url

* nits

* test(v2): routes snapshot

* sort for consistent snapshot test due to async ordering
2019-03-06 10:51:16 -08:00
Yangshun Tay
0f94c062a5 fix(v2): clean build dir only on build command 2019-03-05 00:00:49 -08:00
Yangshun Tay
d64581f2b4 misc(v2): misc fixes 2019-03-04 22:39:07 -08:00
Yangshun Tay
95ca07a646 refactor(v2): shift plugin cache generation into its own dir 2019-03-02 20:29:49 -08:00
Yangshun Tay
8375236db4 fix(v2): s/blogMetadatas/blogMetadata 2019-02-24 23:33:08 -08:00
Yangshun Tay
7eac4827ad fix(v2): lint 2019-02-23 13:26:45 -08:00
Yangshun Tay
c46a894a01 chore(v2): remove hardcoded references to config filename 2019-02-23 11:59:44 -08:00
Yangshun Tay
7dae4bd0d1
chore: rename siteConfig.js to docusaurus.config.js (#1245)
* chore: rename siteConfig.js to docusaurus.config.js

* Prettier
2019-02-23 11:16:24 -08:00
Endilie Yacop Sucipto
a0d229d808
feat(v2): better UX to avoid flashing screen on first page reload (#1100) 2018-11-08 11:19:37 +08:00
Endilie Yacop Sucipto
8695ed89a6
refactor(v2): use react hooks on root app (#1095)
* refactor(v2): use functional component + react hooks for App

* docusaurus/link

* nits

* review
2018-11-08 10:23:07 +08:00
Yangshun Tay
13a21b2374 feat(v2): rewrite docs loading strategy (#1092)
* feat(v2): rewrite docs loading strategy

* Prettify

* Lint

* Allow resolving from library root

* minor changes, refactor

* copyright header
2018-11-07 16:39:47 +08:00
Endilie Yacop Sucipto
85336649d3
feat(v2): headerlinks (#1074)
* feat(v2): headerlinks

* fix test

* nits

* remove tictactoe:

* headerIcon

* nits

* remove lang dropdown

* fix failing test

* search box

* algolia search

* use babel-eslint to resolve dynamic import

* nits

* favicon and title

* Update .eslintignore
2018-10-28 16:32:19 +08:00
Yangshun Tay
c9e29c86a5
chore(v2): add Facebook copyright headers (#1067) 2018-10-25 17:03:19 -07:00
Endilie Yacop Sucipto
fd780f19a2
feat(v2): generate sitemap (#1065)
* feat(v2): generate sitemap

* cannot snapshot sitemap because xml generated in different order
2018-10-25 21:47:13 +08:00
Endilie Yacop Sucipto
12fd204840
feat(v2): implement blog (#1062)
* feat(v2): implement blog

* expect flat blog structure

* \n

* blogpage can import many posts
2018-10-25 14:23:29 +08:00
Endilie Yacop Sucipto
5d60739f7c fix(v2): map loaded modules to bundles (#1056)
* fix(v2): map loaded modules to bundles

* nits
2018-10-23 03:53:18 -04:00
Endilie Yacop Sucipto
ce5610a420
refactor(v2): better page preloading (#976)
* refactor: use native preloadReady for prerender on client

* refactor: rename 'prerender' to 'preload' for correctness
2018-09-22 00:42:06 +08:00
Yangshun Tay
9d4a5d5359
Prettify all JavaScript files (#964)
* Prettify all JavaScript files

* Make trailingComma all

* Delete v2/.prettierignore

* Remove v2 Prettier commands in package.json
2018-09-17 15:34:55 +08:00
Yangshun Tay
a1de6dab04 chore: fix line endings in v2 2018-09-17 12:50:43 +08:00
endiliey
45736200b0 v2: prepare to move 2018-09-17 11:16:07 +08:00