Commit graph

2085 commits

Author SHA1 Message Date
Yangshun Tay
55e676cb25
misc: add command to run prettier on docs (#2102)
* misc: add command to run prettier on docs

* Fix GH issue template

* Fix tests

* Add prettier-docs command to precommit
2019-12-07 21:56:30 -08:00
endiliey
cfc313d7c7 v2.0.0-alpha.39 2019-12-07 13:18:13 +07:00
Endi
bcf39019f7
chore: v2.0.0-alpha.39 changelog & docs (#2101)
* chore: v2.0.0-alpha.39 changelog & docs

* remove useless
2019-12-07 13:12:04 +07:00
Endi
3246939539
Merge pull request #2100 from facebook/endiliey-windows
chore: docusaurus build on Windows with GitHub actions
2019-12-07 12:36:14 +07:00
Endi
8d24e31df4
Update nodejs-windows.yml
tweak for docusaurus build on v1 and v2
2019-12-07 10:27:10 +07:00
Endi
2b47dc66a3
Just use one node version 2019-12-07 10:19:43 +07:00
Endi
968844eac0
chore: add GitHub actions for v2 windows build 2019-12-07 10:16:01 +07:00
Endi
5c39041dc8
fix(v2): escape import path on windows (#2099) 2019-12-07 09:52:23 +07:00
Endi
e62a93863f feat(v2): better & nice looking error overlay (#2096)
* wip: better error overlay and use websocket instead of sockjs

* refactor
2019-12-06 01:33:13 -08:00
Endi
c45a2c649f fix(v2): metadata error if markdown does not have line break (#2095) 2019-12-06 00:14:44 -08:00
endiliey
3bb251904b v2.0.0-alpha.38 2019-12-06 14:15:48 +07:00
Endi
fb77c1c137
chore: v2.0.0-alpha.38 changelog & docs (#2094)
* chore: v2.0.0-alpha.38 changelog & docs

* nits
2019-12-06 14:03:24 +07:00
Endi
7f8aca2ddc
perf(v2): smaller bundlesize by embedding metadata to content (#2088)
* wip embed metadata to content

* embed metadata in blog as well

* refactor

* update test

* yarn lock

* avoid overwriting file everytime we run new nodejs process

* nits
2019-12-06 12:34:21 +07:00
Endi
32c9d07b90
perf(v2): improve dev build time by not overwriting file if possible (#2089)
* perf(v2): improve sequential build time by not overwriting file if possible

* minor improvement

* docs
2019-12-06 12:17:41 +07:00
kaichu
ff4851982c docs(v1): showcase user Bottender (#2092)
* add Bottender

* Update users.js
2019-12-05 19:30:21 -08:00
KYY
381ed59416 fix(v1): add key to versions.map in versions.js (#2087) 2019-12-05 00:02:37 -08:00
Endi
d592e3c470
fix(v2): windows compatibility regression (#2086)
* Revert "perf(v2): replace unnecessary json stringify(string) with inline string (#2039)"

This reverts commit 3aa2ab6ab3.

* add comment

* Comment bois
2019-12-05 12:43:59 +07:00
Yangshun Tay
4927f764e5 misc(v2): nitpicky formatting 2019-12-04 00:55:52 -08:00
KYY
e0425358ee refactor(v1): fix props for ProjectTitle (#2083)
* v1 website index.js fix props for ProjectTitle

* Update index.js
2019-12-03 21:51:00 -08:00
Endi
dd6b10da30 feat(v2): algolia search result no longer cause full page refresh (#2079) 2019-12-03 21:40:31 -08:00
Endi
718b1e11b5 refactor(v2): move scripts/stylesheets siteConfigclient side injection to server side using injectHtmlTag API (#2081) 2019-12-03 21:40:15 -08:00
Endi
b26948d485 refactor(v2): minor code refactoring on component creator (#2080) 2019-12-03 12:10:13 -08:00
Shivangna Kaistha
af059e61de misc(v2): update mdx loader plugin README (#2085)
fix typo
2019-12-03 12:07:46 -08:00
Endi
cc2201e997 perf(v2): load algolia JS only when user interacts with search (#2076)
* perf(v2): lazy load algolia JS when the user interacts with the search input

* useref
2019-12-02 01:15:43 -08:00
endiliey
7a6516ce5d chore(v2): optimize images 2019-12-02 14:51:07 +07:00
Endi
8a948102c3
fix(v2): fix plugin-ideal-image breaking website (exports not defined) (#2074)
* fix(v2): fix plugin-ideal-image breaking website (exports not defined)

* nits

* add npm ignore

* lint
2019-12-01 21:59:02 +07:00
endiliey
464d8e529a v2.0.0-alpha.37 2019-12-01 20:29:59 +07:00
endiliey
1f82f03123 chore(v2): v2.0.0-alpha.37 changelog & docs 2019-12-01 20:28:49 +07:00
Endi
070a49e679
chore: prepare 1.14.3 release (#2073) 2019-12-01 20:20:00 +07:00
Endi
4d5b62ae47
feat(v2): support prefers-color-scheme & fix dark mode FOUC on refresh (#2069)
* fix(v2): dark mode should not have flash on refresh

* refactoring

* address review
2019-12-01 20:01:35 +07:00
Endi
046a53ebf4
perf(v2): more performant gtag and analytics plugin (#2070)
* perf(v2): more performant gtag and analytics plugin

* more spec compliant

* optimize n refactor

* typo

* review
2019-12-01 19:55:21 +07:00
Yangshun Tay
750d1654a5 misc(v2): update yarn.lock 2019-11-30 16:33:26 -08:00
Dongwoo Gim
104733914a refactor(v2): convert @docusaurus/plugin-ideal-image to TypeScript (#2011)
* refactor @docusaurus/plugin-ideal-image
refactor @docusaurus/plugin-ideal-image

* Update react-ideal-image.d.ts

* Update types.ts

* Update IdealImage.tsx

* Update package.json
2019-11-30 16:09:26 -08:00
Endi
39e9e755c3 Revert "fix(v2): remove auto wrap for code blocks (#2048)" (#2071)
This reverts commit 10cd99b3e4.
2019-11-30 12:57:56 -08:00
Alexey Pyltsyn
3caff0d221 feat(v2): add meta RSS/Atom feed links to head (#2000)
Co-authored-by: Endi <endiliey@gmail.com>

* feat(v2): add meta RSS/Atom feed links to head

* refactor(v2): use new API

* Better typing

* fix typing
2019-11-30 23:05:53 +07:00
Endi
2297ae9f57
refactor(v2): stronger typing for blog plugin (#2072)
* refactor(v2): stronger typing for blog plugin

* Explicit
2019-11-30 22:26:28 +07:00
endiliey
6155115280 chore(v2): configure algolia options to search latest version 2019-11-30 18:05:45 +07:00
endiliey
0e23e4ce32 docs(v2): fix typo in lifecycle api docs 2019-11-30 15:46:46 +07:00
Endi
97491c5cfb
feat(v2): injectHtmlTags API to inject head and/or body html tags (#2057)
* wip: define html tag definition

* feat(v2): implement injectHtmlTags api

* remove useless file

* nits

* documentation

* allow string, use prebodyTags and postBodyTags

* typo

* refactor typing

* chore(v2): bump deps
2019-11-30 11:52:26 +07:00
Endi
522dd2d206 docs(v2): quick proofread docs (#2068) 2019-11-29 12:26:49 -08:00
Alexey Pyltsyn
dffa984b05 refactor(v2): add title attribute to anchor link (#2066)
* fix(v2): add title attribute to anchor link

* Lint

* Wording
2019-11-28 22:19:58 -08:00
Endi
d6143868a4 fix(v2): toc should not be broken for heading with html inline code (#2067) 2019-11-28 21:33:51 -08:00
Endi
3b060ad171
docs(v2): add manual migration guide for versioning (#2047)
* docs(v2): add manual migration guide for versioning

* fix typo

* review
2019-11-29 11:48:04 +07:00
Endi
3430fbf5f4 fix(v2): markdown reference to file should not be page not found (#2064) 2019-11-28 20:04:46 -08:00
endiliey
2f9a368da8 chore: fix typo 2019-11-29 10:41:19 +07:00
Huáng Jùnliàng
34e942e835 fix(v1): convert scripts to ES5 syntax for IE 10 (#2063) 2019-11-28 11:44:11 -08:00
Alexey Pyltsyn
25207df4a7 fix(v2): add h1 to versions page (#2065) 2019-11-28 11:01:59 -08:00
Endi
6ff66567e5 fix(v2): fix docs sidebar highlighting if link is partially matched (#2061) 2019-11-27 09:18:33 -08:00
Endi
5adb58380c fix(v2): clean generated manifest from previous build so we dont use the wrong one (#2060) 2019-11-27 08:13:12 -08:00
endiliey
bd5bdb91f7 chore: add missing facebook copyright header 2019-11-27 16:50:20 +07:00