Commit graph

2446 commits

Author SHA1 Message Date
Tom Brien
852b5e8f13
feat(v2): add CLI option for polling (#2630)
* Add CLI option to polling

Some environments (specifically docker containers) can have issues with file watching for live reloads. [Webpack Dev Server provides a polling alternative](https://webpack.js.org/configuration/watch/#watchoptionspoll) option for this

* Update docusaurus.js

* Update cli.md

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-20 10:49:43 +08:00
Alexey Pyltsyn
2823d73e19
fix(v2): hide doc sidebar on mobiles (#2631) 2020-04-20 10:48:10 +08:00
Alexey Pyltsyn
52d15e0f7e
fix(v2): make border right of doc sidebar equals doc page (#2626) 2020-04-19 21:28:35 +08:00
Alexey Pyltsyn
2c4490a1ff
fix(v2): disable tab focus on collapsed doc sidebar items (#2625) 2020-04-19 21:28:08 +08:00
Yangshun Tay
409f8788dc
fix(v2): hide mobile navbar hamburger when there are no links (#2624) 2020-04-18 12:09:28 +08:00
Reece Dunham
614adca45f
fix(v2): don't include 404 page in sitemaps (#2616)
* fix(v2): don't include 404 page in sitemaps

Signed-off-by: Reece Dunham <me@rdil.rocks>

* fix: improve implementation as requested

Signed-off-by: Reece Dunham <me@rdil.rocks>

* Fix issue with baseUrls
2020-04-18 11:27:11 +08:00
Alexey Pyltsyn
14f4ef875a
feat(v2): add ability set dark mode by default (#2597)
* feat(v2): add ability set dark mode by default

* s/forceDarkMode/defaultDarkMode

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-17 19:19:55 +08:00
Fanny
ea5a50c4de
feat(v2): bootstrap theme blog post page (#2591)
* feat(v2): init the blog post card

* feat(v2): Update card design

* chore(v2): remove unused dependency

* feat(v2): add post list

* feat(v2): improve html tags

* chore(v2): run prettier

* feat(v2): remove old tag

* feat(v2): apply suggestions

* feat(v2): add tags for blog post

* feat(v2): add post content

* feat(v2): add tags

* feat(v2): add specific tag page

* feat(v2): fix tablet layout

* feat(v2): fix tablet layout

* feat(v2): add blog post page

* feat(v2): apply suggestions

* Update 2020-04-14-blog-plugin.md

* Update 2020-04-14-large-blog-post.md

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-15 10:03:23 +08:00
Yangshun Tay
2f2e3cd99d docs(v2): fix doc changes in #2606 2020-04-15 02:38:55 +08:00
Reece Dunham
a7b802f31a
docs(v2): improve grammar (#2606)
Signed-off-by: Reece Dunham <me@rdil.rocks>
2020-04-14 23:26:55 +08:00
Alexey Pyltsyn
6a2fdbe3ca
fix(v2): inherit color for announcement bar close icon (#2602) 2020-04-14 23:04:54 +08:00
Kamil Kisiela
ff0d751d12
docs(v2): showcase GraphQL Inspector (#2600) 2020-04-14 01:35:53 +08:00
Jay Lees
ad425b2652
docs(v2): remove duplicated package.json in installation directory structure (#2596) 2020-04-13 17:33:40 +08:00
Alexey Pyltsyn
b50179071f
refactor(v2): make margin top on blog pages as on docs pages (#2595) 2020-04-13 15:57:40 +08:00
Fanny
1c2e8f92cc
feat(v2): bootstrap theme tags and specific tag page (#2590)
* feat(v2): init the blog post card

* feat(v2): Update card design

* chore(v2): remove unused dependency

* feat(v2): add post list

* feat(v2): improve html tags

* chore(v2): run prettier

* feat(v2): remove old tag

* feat(v2): apply suggestions

* feat(v2): add tags for blog post

* feat(v2): add post content

* feat(v2): add tags

* feat(v2): add specific tag page

* feat(v2): fix tablet layout

* feat(v2): fix tablet layout
2020-04-13 13:58:30 +08:00
Kristóf Poduszló
9c93d53a64
docs(v2): fix a grammatic issue (#2592) 2020-04-13 13:57:22 +08:00
Kristóf Poduszló
109aa6c198
docs(v2): fix 1st custom admonition title example (#2593) 2020-04-13 03:36:58 +08:00
Sam Zhou
5f487f3b02
refactor(v2): Convert docusaurus-core to TypeScript (#2578)
* refactor(v2): Convert docusaurus-core to TypeScript

* Update types.d.ts

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-13 02:05:46 +08:00
Fanny
f6267dc52c
feat(v2): add tags for bootstrap theme blog post (#2587)
* feat(v2): init the blog post card

* feat(v2): Update card design

* chore(v2): remove unused dependency

* feat(v2): add post list

* feat(v2): improve html tags

* chore(v2): run prettier

* feat(v2): remove old tag

* feat(v2): apply suggestions

* feat(v2): add tags for blog post

* feat(v2): add post content
2020-04-13 02:01:40 +08:00
Reece Dunham
354c1d3338
fix(v2): properly link top-level github pages sites in deploy command (#2558)
* fix(v2): properly link top-level github pages sites in deploy command

* Apply style

* prettier format
2020-04-13 00:02:36 +08:00
Alexey Pyltsyn
c663d7c1f7
refactor(v2): remove redundant container on docs page (#2588) 2020-04-12 23:42:30 +08:00
Fanny
f61b92d86a
feat(v2): bootstrap blog post page and card (#2584)
* feat(v2): init the blog post card

* feat(v2): Update card design

* chore(v2): remove unused dependency

* feat(v2): add post list

* feat(v2): improve html tags

* chore(v2): run prettier

* feat(v2): remove old tag

* feat(v2): apply suggestions
2020-04-12 22:41:34 +08:00
Alexey Pyltsyn
9c1abcddab
refactor(v2): use nav link component only where needed (#2585) 2020-04-12 13:34:50 +08:00
Alexey Pyltsyn
52233f7c44 docs(v2): fix formatting 2020-04-12 02:43:22 +03:00
Alexey Pyltsyn
476de09ef5
fix(v2): do not process anchor links by router (#2580) 2020-04-11 23:00:32 +08:00
Alexey Pyltsyn
399fcbd7eb
fix(v2): treat mailto and tel links properly (#2579) 2020-04-11 22:59:32 +08:00
Alexey Pyltsyn
d531735b3a
fix(v2): remove horizontal scroll on docs page (#2582) 2020-04-11 22:58:59 +08:00
Noah Silvera
a8ab0d661e
docs(v2): mention that plugin-ideal-image only perform compression on a production build (#2572)
* Add a note that `plugin-ideal-image` only perform compression on a production build. 

In reference to https://github.com/facebook/docusaurus/issues/2571

* Update using-plugins.md

* Update using-plugins.md

* Update using-plugins.md

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-10 10:48:20 +08:00
Noah Silvera
dcf91ebfe4
docs(v2): fix syntax error for plugin config (#2570)
* Fix syntax error for plugin config

* Update using-plugins.md

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-10 10:43:02 +08:00
Chris Watson
2510d3f18f
docs(v2): add Tourmaline to Showcase page (#2569) 2020-04-09 21:37:38 +03:00
Alexey Pyltsyn
7092daf435
docs(v2): be more polite (#2566)
* docs(v2): be more polite

* Update deployment.md

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-09 15:28:58 +08:00
Fanny
434da1d7ea
feat(v2): bootstrap bootstrap (heh) theme, preset, template (#2557)
* feat(v2): Add bootstrap theme structure

* chore(v2): run prettier

* chore(v2): remove unused dependencies

* feat(v2): add bootstrap preset

* feat(v2): add bootstrap template

* remove unnecessary stuff

* --

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-09 12:58:01 +08:00
Alexey Pyltsyn
8d384b0d10 docs(v2): fix spelling of GitHub 2020-04-08 20:15:31 +03:00
Bartosz Kaszubowski
92729af0ab
chore(v2): fix lint, tweak lqip-loader utils comment (#2563) 2020-04-09 01:08:58 +08:00
Bartosz Kaszubowski
97125ada32
chore(v2): add lqip-loader tests, clarify loader code, improve README (#2561)
* chore(v2): add lqip-loader tests, clarify loader code, improve README

* Rename index.test.js.ts to index.test.ts

* smarter and cleaner approach to the loader export

* Update index.test.ts

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-09 00:05:43 +08:00
Reece Dunham
aeeb8531da
doc(v2): remove legacy blog metadata (#2559) 2020-04-08 22:17:17 +08:00
Yangshun Tay
1766ed0483 misc(v2): revert some stuff in #2556 2020-04-08 13:01:53 +08:00
Reece Dunham
04a420d68f
refactor(v2): enhance CLI experience (#2556)
Signed-off-by: Reece Dunham <me@rdil.rocks>
2020-04-08 12:57:10 +08:00
Fanny
793b2447b8
Merge pull request #2555 from facebook/fanny/add-team-photos
doc(v2): Add team photos
2020-04-07 19:05:52 -03:00
fanny
71ac6d5712 doc(v2): update fanny profile 2020-04-07 09:34:13 -03:00
fanny
d9d7abf5c4 feat(v2): Add team photos 2020-04-07 09:21:02 -03:00
Alexey Pyltsyn
f4c2ae7cee
fix(v2): fix path for footer menu item Help 2020-04-07 14:24:55 +03:00
Sébastien Lorber
a5fe00ff55
misc(v2): remove deprecated/useless lerna field (#2553)
https://github.com/lerna/lerna#legacy-fields
2020-04-06 21:47:46 +08:00
Bartosz Kaszubowski
0f723c34e7
chore(v2): fix lqip-loader README code highlight (#2550) 2020-04-06 03:09:56 +08:00
Bartosz Kaszubowski
980f1041dc
refactor(v2): import lqip-loader, fix build on Node 13 (#2544) 2020-04-06 02:55:36 +08:00
Fanny
6a20183a68
docs(v2): command for swizzling all components (#2549)
* doc(v2): Add swizzle all components doc

* Update using-themes.md

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-06 02:52:46 +08:00
Yangshun Tay
49a2958c96 docs(v2): fix name typoes in team page 2020-04-06 02:01:33 +08:00
Sam Zhou
1b227f6adb
docs(v2): fix typo in team page (#2547)
This is probably a copyover from https://reactjs.org/community/team.html
2020-04-06 01:34:31 +08:00
Yangshun Tay
c1ef488115
docs(v2): add community pages (#2545)
* docs(v2): add community pages

* misc fixes
2020-04-06 01:10:22 +08:00
Alexey Pyltsyn
8f0206b2fe
chore(v2): update Prettier config (#2542)
* chore(v2): update prettier config

* Update .prettierrc

* --

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-05 23:51:47 +08:00