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
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
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
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
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
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
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
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
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
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
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
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
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
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
3430fbf5f4
fix(v2): markdown reference to file should not be page not found ( #2064 )
2019-11-28 20:04:46 -08: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
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