Commit graph

2757 commits

Author SHA1 Message Date
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
endiliey
ceea69df2f test(v2): add more test to normalizeUrl 2019-11-26 18:26:55 +07:00
endiliey
1aff2087b4 chore: revert delete loadSetup.ts 2019-11-26 16:54:10 +07:00
endiliey
2856b328a5 chore(v2): fix typo in docs, remove dead/redundant stuff 2019-11-26 16:49:58 +07:00
Endi
2607e86059 perf(v2): use webpack future version of asset emitting logic to free memory faster (#2046) 2019-11-25 10:33:34 -08:00
Endi
be396168d1 perf(v2): unblock metadata processing when possible (#2054) 2019-11-25 10:32:38 -08:00
Endi
91b261af7a docs(v2): more examples on lifecycle apis, cleanup (#2051)
* docs(v2): more examples on lifecycle apis, cleanup

* typo
2019-11-25 10:31:57 -08:00
Alexey Pyltsyn
085f522817 fix(v2): make friendlier title on home page for SEO (#2049) 2019-11-25 10:31:14 -08:00
Alexey Pyltsyn
10cd99b3e4 fix(v2): remove auto wrap for code blocks (#2048) 2019-11-25 10:24:52 -08:00
Alexey Pyltsyn
91ef5c67cf
docs(v2): make proper spelling of Stack Overflow (#2053) 2019-11-25 16:50:00 +03:00
Wei Gao
2254e08785 docs(v2): Reorganize migration guide (#2036)
* reorganize migration guide headings

* wip about <AUTOGENERATED_TABLE_OF_CONTENTS>

* add description about AUTOGENERATED_TABLE_OF_CONTENTS

* Update website/docs/migrating-from-v1-to-v2.md
2019-11-25 19:45:22 +07:00
Alexey Pyltsyn
9b4715a70d fix(v2): make proper spelling of Yarn in tabs (#2052) 2019-11-25 17:07:36 +07:00
Alexey Pyltsyn
82c751f092 fix(v2): hide past versions if it does not exist (#2050) 2019-11-25 16:16:23 +07:00
Endi
421f862701 breaking(v2): required nodejs version >=8.9 -> >=8.10 so we can use es2017 (#2045) 2019-11-24 21:40:57 -08:00
Endi
3abd2814b8 fix(v2): remove css order warning if css imports are not sorted (#2042) 2019-11-24 09:45:07 -08:00
Endi
0b463a0912 refactor(v2): stronger typing for route gen (#2043) 2019-11-24 09:44:42 -08:00
Binary Logic
3d4d89f332 docs(v2): showcase user vector.dev :) (#2040)
* chore(v2): Add vector.dev to the showcase :)

Signed-off-by: Ben Johnson <bjohnson@binarylogic.com>

* Fix preview image to remove tooltip

Signed-off-by: Ben Johnson <bjohnson@binarylogic.com>
2019-11-24 09:44:20 -08:00
Endi
05a2f46a9b
chore(v2): bump deps and run yarn upgrade (#2044) 2019-11-24 23:06:25 +07:00
endiliey
163c455b6c chore(v2): fix a11y contrast color, shorter announcement 2019-11-24 20:47:22 +07:00
Endi
160f6f53e0
docs(v2): add documentation on versioning (#2038)
* docs(v2): add documentation on versioning

* Proofread

* add section on using absolute import
2019-11-24 18:01:48 +07:00
endiliey
e15ab76542 chore(v2): fix remarkplugin unnecessary extra divs 2019-11-24 18:00:01 +07:00
Endi
9862a6821a feat(v2): allow non sidebar category to be first item of sidebar (#2032)
* feat(v2): allow non sidebar category to be first item of sidebar

* better error messages

* edit the react component

* Update website/docs/sidebar.md

* nits

* add @babel/plugin-transform-runtime
2019-11-23 20:08:19 -08:00
Endi
c533adc4aa docs(v2): display yarn and npm command on website (#2037)
* docs(v2): display yarn and npm command on website

* more

* fix div cannot be descendant p
2019-11-23 18:32:26 -08:00
Alexey Pyltsyn
3265dda895 refactor(v2): make better a11y for tabs (#1990)
* refactor(v2): make better a11y for tabs

* Update styles.module.css
2019-11-23 18:31:04 -08:00
Endi
3aa2ab6ab3 perf(v2): replace unnecessary json stringify(string) with inline string (#2039) 2019-11-23 18:24:19 -08:00
Endi
cea224b03d refactor(v2): move unused generated files out from build folder (#2033) 2019-11-23 18:16:04 -08:00
Endi
d1f84709e0 chore(v2): cut 2.0.0-alpha.36 docs & create versions page (#2030) 2019-11-23 18:13:16 -08:00
Endi
baabe1fdf9 perf(v2): use @babel/runtime plugin to reduce codesize (#2035) 2019-11-23 17:50:11 -08:00
Endi
670fd4e182 feat(v2): style sidebar on overflow (#2034) 2019-11-23 17:47:51 -08:00