Yangshun Tay
08ca95af01
docs(v2): dark mode syntax highlighting ( #2153 )
2019-12-29 16:40:17 +08:00
Yangshun Tay
da6966d208
feat(v2): add ESLint to Facebook template ( #2155 )
2019-12-29 16:39:28 +08:00
Mattia Astorino
7087425485
docs(v2): update custom webpack configuration snippet ( #2139 )
...
* Update custom webpack configuration snippet
Fix #2097
* Update lifecycle-apis.md
2019-12-29 16:38:50 +08:00
Thiago de Souza
d82615b94b
docs(v2): showcase user neutronjs ( #2154 )
2019-12-29 12:11:25 +08:00
Yangshun Tay
167f71a654
fix(v2): render correct syntax theme for current website theme ( #2150 )
2019-12-27 13:37:39 +08:00
Alexey Pyltsyn
92c68ed742
feat(v2): add support another Prism theme for dark mode ( #1984 )
...
* feat(v2): add support another Prism theme for dark mode
* add dynamically change Prism theme
* Prepare for review
* PR review changes
* feat(v2): useThemeContext
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2019-12-25 22:52:34 +08:00
endiliey
dad50823b6
v2.0.0-alpha.40
2019-12-25 16:41:52 +07:00
Endi
850c3a1deb
chore(v2): add netlify logo for open source plan ( #2147 )
...
* chore(v2): add netlify logo for open source plan
* change logo
* Update website/docusaurus.config.js
Co-Authored-By: Alexey Pyltsyn <lex61rus@gmail.com>
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2019-12-25 16:36:42 +07:00
Endi
578815c620
chore(v2): prepare alpha.40 release ( #2146 )
2019-12-25 16:30:29 +07:00
Endi
b791572617
fix(v2): remove style-loader, use minicssextract in both dev & prod for consistency ( #2145 )
2019-12-25 13:06:00 +08:00
Yangshun Tay
8b26d92a39
chore(v2): upgrade dependencies ( #2142 )
2019-12-22 11:59:36 +08:00
Yangshun Tay
e39d76c40c
chore(v2): turn off import/extensions ESLint rule
2019-12-22 11:34:44 +08:00
Alexey Pyltsyn
22b1f66d11
fix(v2): add HTML lang attribute ( #2130 )
2019-12-18 13:17:29 +08:00
Alexey Pyltsyn
5716953ff1
fix(v2): disable scroll while mobile menu open ( #2129 )
2019-12-18 08:38:36 +08:00
t11s
1ea8c3b11e
docs(v1): add space between "out" and "Docusaurus" ( #2135 )
...
* Add space between "out" and "Docusaurus"
* Add space between "out" and "Docusaurus"
Didn't do this properly, used " " instead of {' '}
2019-12-18 08:36:44 +08:00
Endi
33622c5347
refactor(v2): toggle data-theme with vanilla js instead of react helmet ( #2127 )
...
* refactor(v2): toggle data-theme with vanilla js instead of react helmet
* use document documentElement
2019-12-16 08:57:24 +08:00
Janko Marohnić
ee00ecf569
docs(v1): showcase user Shrine ( #2128 )
2019-12-16 08:53:38 +08:00
Yangshun Tay
19acc44d81
docs: promote Docusaurus 2 usage ( #2126 )
2019-12-15 17:49:25 +08:00
Endi
dcf1fef001
feat(v2): lazy load algolia css so its not render blocking ( #2125 )
...
* perf(v2): algolia css should not be render blocking
* tweak
* lazy load css
* tweak
* tweak
* review
2019-12-15 16:43:46 +07:00
Yangshun Tay
b6315f4136
feat(v2): add Facebook Docusaurus 2 template ( #2124 )
...
* feat(v2): add Facebook Docusaurus 2 template
* -
2019-12-15 17:16:27 +08:00
endiliey
ab8fb2b370
fix(v2): disable minify html unsafe option for inline style
2019-12-15 14:42:43 +07:00
Endi
c036740790
fix(v2): tweak minify html to be safer ( #2122 )
2019-12-13 17:36:54 +08:00
Endi
daa71b2eff
perf(v2): reduce HTML payload by eliminating chunk-map ( #2118 )
...
* perf(v2): eliminate chunk-map bloat while preserving prefetch functionality
* review
* refactor
2019-12-13 15:55:45 +07:00
Alexey Pyltsyn
4f0ae6d117
fix(v2): align GH button in vertical center ( #2119 )
2019-12-12 13:49:37 -08:00
Alexey Pyltsyn
26a3d72c84
feat(v2): auto switch theme depending on the system theme ( #2117 )
2019-12-12 05:06:54 -08:00
Endi
aa87bc5b7b
feat(v2): minify html ( #2116 )
...
* wip: minify html with terser
* tweak
* remove empty attr
2019-12-12 04:47:49 -08:00
Alexey Pyltsyn
5bfa5d6579
feat(v2): hide navbar on scroll ( #2055 )
...
* feat(v2): hide navbar on scroll
* Turn on hide option
* Refactor after review
2019-12-12 04:19:37 -08:00
Endi
ace93c5a14
fix(v2): move metadata export after compiling MDX to avoid weird MDX parsing error. ( #2105 )
...
* fix(v2): move metadata export to mdx-loader to prevent any weird mdx parsing
* refactor
* nits
* nits
* nits
2019-12-11 16:33:47 +07:00
Alexey Pyltsyn
1f0eb37e19
fix(v2): add syntax highlight to generated colors ( #2114 )
2019-12-10 12:50:35 -08:00
Endi
6db29897cf
perf(v2): explicit babel/runtime version ( #2111 )
2019-12-10 12:47:28 -08:00
Endi
9b5266aa7e
docs(v2): fix pages routing inaccurate info ( #2110 )
...
* docs(v2): fix pages routing inaccurate info
* fix CI
2019-12-10 12:47:13 -08:00
Alexey Pyltsyn
bbc1d2cd51
fix(v2): set stored theme only if it exists ( #2113 )
2019-12-10 12:46:29 -08:00
Nick McCurdy
ba7c38cf0f
docs(v1): fix path to sidebars.json in generated readme ( #2108 )
...
* docs(v1): fix path to sidebars.json in generated readme
* test(v1): fix path to sidebars.json in test
2019-12-09 15:57:59 -08:00
Alexey Pyltsyn
172f07116d
fix(v2): add missing hyphen in color generator ( #2106 )
2019-12-09 22:08:26 +07:00
Yangshun Tay
d5919fd962
feat(v2): add color generator for primary colors ( #2104 )
2019-12-09 02:10:38 -08:00
Yangshun Tay
2fcb81596b
docs: mention about moving docs directory into website ( #2103 )
2019-12-08 20:35:22 -08:00
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