Commit graph

28 commits

Author SHA1 Message Date
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
7475051526 refactor(v2): convert blog page to be added to routes by plugin lifecycle 2019-03-03 22:14:16 -08:00
Yangshun Tay
74d26d4f3d feat(v2): plugin lifecycle - add generateRoutes() API 2019-03-03 18:46:09 -08:00
Yangshun Tay
b13e468b16 refactor(v2): point blog plugin path to v1's blog directory 2019-03-02 20:40:31 -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
92c7e1f44b refactor(v2): convert plugins into a class 2019-03-01 22:44:34 -08:00
Yangshun Tay
e5b7daef33 feat(v2): create docusaurus-content-blog plugin draft 2019-02-24 23:11:15 -08:00
Yangshun Tay
211e04f409 refactor(v2): shift generated files out of core into website dir 2019-02-24 15:20:58 -08:00
Yangshun Tay
63851a6f14 chore(v2): remove prettier from specific projects 2019-02-23 14:28:32 -08:00
Yangshun Tay
b33de00a32 chore(v2): generic styling improvements 2019-02-23 12:50:31 -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
b84754dde8
chore(v2): normalize url properly (#1105)
* refactor(v2): normalize url properly

* nits
2018-11-12 00:25:13 +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
Endilie Yacop Sucipto
f84332d0a0
feat(v2): webpack prefetch for better UX (#1071)
* feat(v2): webpack prefetch for better UX

* test snapshot update

* nits
2018-10-27 13:48:10 +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
Sviatoslav
a2d3f26722 feat(v2): support external links and linking to docs from other sidebars (#1052)
* feat(sidebar): support external links and linking to docs from other sidebars

* Update styles.css
2018-10-25 00:01:39 -04:00
Endilie Yacop Sucipto
3e901f8706 feat(v2): live reload sidebars.json (#1058) 2018-10-23 07:31:30 -04:00
Yangshun Tay
e0d96a4b38 feat(v2): style up sidebar 2018-10-15 23:04:06 -07:00
Endilie Yacop Sucipto
f62029c30e
feat(v2): enable subcategories (#1021)
* feat(v2): enable subcategories

* nits

* eslint issue https://github.com/prettier/prettier/issues/3734
2018-10-08 17:50:28 +08:00
Endilie Yacop Sucipto
8691a2525c
feat: custom pages (#994) 2018-09-29 00:18:38 +08:00
Endilie Yacop Sucipto
604f02edeb
feat: add deploy (formerly publish-gh-pages) command (#979) 2018-09-25 20:26:39 +08:00
Endilie Y
b401a2adc0
refactor(v2): use absolute path instead of alias for metadata source (#967)
refactor(v2): use absolute path instead of alias for metadata source
2018-09-18 12:29:14 +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
endiliey
45736200b0 v2: prepare to move 2018-09-17 11:16:07 +08:00