Commit graph

1739 commits

Author SHA1 Message Date
Julia
b6aa6dac89 fix: make scrollbar visible in inner page navigation (#1349)
* fix: make scrollbar visible in inner page navigation

* fix: make scrollbar visible in inner page navigation

* undo

* fix: make scrollbar visible in inner page navigation

* fix: make scrollbar visible in inner page navigation
2019-04-09 09:17:02 -07:00
Endilie Yacop Sucipto
d583c6c7da
chore: fix docusaurus.io error (#1348)
* chore: remove docusaurus.io error

* store it on docusaurus repo
2019-04-09 17:02:54 +07:00
Yangshun Tay
bb4ffdfe3c
feat(v2): use Infima CSS (#1346)
* feat(v2): use Infima CSS

* misc(v2): fixes

* misc(v2): change CSS to Netlify hosting

* misc(v2): shift search to the right
2019-04-09 00:48:37 -07:00
Endilie Yacop Sucipto
6e9b85fe43 feat(v2): upgrade addRoutes API to introduce query (#1345)
* feat(v2): upgrade addRoutes API to enable query

* nits
2019-04-08 11:33:40 -07:00
Endilie Yacop Sucipto
7e6b74b820 refactor(v2): simplify + optimize server (#1343) 2019-04-07 22:34:11 -07:00
Endilie Yacop Sucipto
84c3e0a045
refactor(v2): simplify webpack stuff (#1342)
* refactor(v2): webpack stuff

* nits

* nits test
2019-04-08 01:40:38 +07:00
Endilie Yacop Sucipto
2248b4b927 fix(v2): fix chokidar not watching files correctly (#1340) 2019-04-06 11:52:49 -07:00
Endilie Yacop Sucipto
aa27f82acc
refactor(v2): shift to docusaurus/mdx-loader (#1339) 2019-04-06 23:55:22 +07:00
Yangshun Tay
1a8e12048e feat(v2): docs plugin continued (#1337)
* refactor(v2): shift markdown loader into plugin

* fix(v2): build command configure webpack

* temporary fix for failing test
2019-04-06 21:01:29 +07:00
Endilie Yacop Sucipto
50bbc1dcd7 feat(v2): proper realtime hot reload with react-hot-loader (#1336)
* feat(v2): proper realtime hot reload with react-hot-loader

* nits

* nits again
2019-04-04 08:24:20 -07:00
Endilie Yacop Sucipto
94a4ef55c0 feat(v2): add cache-loader by default especially on babel-loader (#1335) 2019-04-03 12:02:53 -07:00
Endilie Yacop Sucipto
c129c68d1c feat(v2): enable user to analyze production bundle size (#1334)
* feat(v2): enable user to analyze bundle size with --bundle-analyzer for production

* nits
2019-04-03 10:42:11 -07:00
Endilie Yacop Sucipto
5db02f41a9 refactor(v2): hydrate on server existing markup instead of full rerender (#1333) 2019-04-03 09:26:37 -07:00
Pavel Chertorogov
f945f5b757 add graphql-compose to users.js (#1331) 2019-04-02 06:30:09 -07:00
Yangshun Tay
4ac4a7c671 misc(v2): make packages dir more consistent 2019-04-01 22:18:44 -07:00
Yangshun Tay
029aa636a8
refactor(v2): load sidebars from docs plugin (#1328)
* refactor(v2): load sidebars from docs plugin

* fix(v2): update tests

* fix(v2): change to sidebarPath
2019-04-01 19:42:14 -07:00
Endilie Yacop Sucipto
8dd6bc1082
fix(v2): missing scripts/css on statically rendered html (#1329) 2019-04-01 15:02:45 +07:00
Yangshun Tay
a70d9b6720
feat(v2): docs plugin initial work (#1327)
* feat(v2): pluginify docs

* feat(v2): implement docs plugin

* fix(v2): fix bugs in docs plugin for translation and versioning
2019-03-31 11:37:35 -07:00
Endilie Yacop Sucipto
c33e874e1c
fix(v2): don't run terser in parallel for WSL (#1326)
* fix(v2): don't run terser in parallel for WSL

* nits

* Update base.js

* Update base.js
2019-03-31 13:41:28 +07:00
Yangshun Tay
6fd9253328 fix(v2): errornous default include in blog plugin 2019-03-30 15:34:28 -07:00
Yangshun Tay
f0ff211c94
fix(v2): webpack ejs warning during build (#1325) 2019-03-30 10:11:04 -07:00
Endilie Yacop Sucipto
57d06a8da3 feat(v2): webpack chunk naming and splitting (#1323)
* feat(v2): webpack chunk naming & splitting

* component chunkName should be based on component import path

* nits

* css chunk naming

* typo on package.json

* Update routes.js
2019-03-30 08:42:14 -07:00
Endilie Yacop Sucipto
bf6074c4c2 v1.8.0 (#1324)
* v1.8.0

* typo
2019-03-30 08:00:02 -07:00
Yangshun Tay
43e0221b56
refactor(v2): use ejs for SSR HTML template (#1322) 2019-03-29 19:37:51 -07:00
Endilie Yacop Sucipto
afed949136
feat(v2): docusaurus-link prefetch chunk within perimeter (#1321)
* feat(v2): docusaurus-link prefetch chunk within perimeter

* smaller padding

* dont hardcode padding
2019-03-29 21:33:46 +07:00
Yangshun Tay
542d02403b feat(v2): use __docusaurus as app root id (#1320) 2019-03-29 20:23:25 +07:00
Yangshun Tay
b31d502684
fix(v2): use docusaurus v2 as peer dependency (#1319) 2019-03-29 06:11:02 -07:00
Yangshun Tay
76596f0956 misc: make v1 docs MDX-compatible (#1318) 2019-03-29 19:20:26 +07:00
Endilie Yacop Sucipto
f96ba2d381 refactor(v2): cli and loads (#1317)
* refactor(v2): cli, load

* nits
2019-03-29 02:45:20 -07:00
Parth Patel
d279836c40 feat: Add --skip-next-release option to yarn build (#1292) 2019-03-29 16:17:46 +07:00
Endilie Yacop Sucipto
f04eea6b48 chore(v2): modify docusaurus-2 homepage (#1315)
* chore(v2): modify docusaurus-2 homepage

* Update styles.module.css
2019-03-28 08:31:15 -07:00
Endilie Yacop Sucipto
94928f8e53 chore: fold versions & cleanup (#1313) 2019-03-28 08:26:32 -07:00
Endilie Yacop Sucipto
1bd2640749
chore(v2): update dependency (#1316) 2019-03-28 23:12:28 +08:00
Endilie Yacop Sucipto
087fef7806
fix: autogenerated versions.js should not be confusing (#1314) 2019-03-28 20:35:13 +08:00
Yangshun Tay
edec1a9eda misc: s/Circle CI/CircleCI 2019-03-26 23:16:34 -07:00
Yangshun Tay
431510e9ab fix: broken links due to monorepo migration 2019-03-26 22:03:53 -07:00
Endilie Yacop Sucipto
94f623938d
chore: fix wrong url for adding user 2019-03-27 12:21:27 +08:00
Endilie Yacop Sucipto
4bd5d3937e
feat(v2): enhance @docusaurus/plugin-content-blog (#1311)
* feat(v2): @docusaurus/plugin-content-blog

* address code review
2019-03-26 01:39:58 +07:00
Yangshun Tay
bd0cdbc701
feat: change landing images to illustrations (#1304)
* feat: change landing images to illustrations

* misc: attribute unDraw in footer
2019-03-25 09:03:00 -07:00
Endilie Yacop Sucipto
aa6b497ec8
refactor(v2): mdx-loader (#1310) 2019-03-25 22:35:37 +07:00
Endilie Yacop Sucipto
d51f2c9f92
fix: anchors links for underscore character (#1309) 2019-03-25 16:54:23 +07:00
Endilie Yacop Sucipto
12d4ca7b70
chore: optimize continuous integration (#1308)
* chore: CI should skip deploying v1 if no related changes

* fix regex

* test commit only

* remove static site build test on ci
2019-03-25 16:41:34 +07:00
Endilie Yacop Sucipto
c6c22a8271
feat(v2): faster production server build (#1306)
* feat(v2): faster production server build

* nits
2019-03-25 15:21:37 +07:00
Endilie Yacop Sucipto
290ccc5315
fix(v2): enable plugin not having pathsToWatch (#1305) 2019-03-25 15:07:00 +07:00
Endilie Yacop Sucipto
72242dddf4
feat(v2): postBuild() - plugin lifecycle (#1302)
* feat(v2): build() - plugin lifecycle

* rename to postBuild
2019-03-25 14:30:42 +07:00
Endilie Yacop Sucipto
c5d8e2d641 chore(v2): webpack-serve -> webpack-dev-server (#1303)
* chore(v2): webpack-serve -> webpack-dev-server

* Update start.js
2019-03-24 18:28:15 -07:00
Yangshun Tay
1edbeecbe5 chore(v2): add ESLint rule to check for Facebook copyright headers in JS files (#1301) 2019-03-24 14:50:26 +07:00
Endilie Yacop Sucipto
3f9cc96330
Merge pull request #1300 from facebook/lerna-path-fix
fix: update non-coding files affected by monorepo change
2019-03-24 12:10:01 +07:00
Yangshun Tay
1602b459da fix: update paths for monorepo 2019-03-23 21:53:32 -07:00
Endilie Yacop Sucipto
73b89658cc refactor(v2): plugins lifecycle (#1299)
* refactor(v2): plugins lifecycle

* dont allow duplicate plugin & fix typo
2019-03-23 16:08:36 -07:00