Commit graph

1797 commits

Author SHA1 Message Date
Swalah Amani
c541e2d83c
misc: replace all "Metadatas" with "Metadata" (#5871)
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-09 19:46:10 +01:00
Joshua Chen
eab8c7c010
feat(core): give more hints when plugins have duplicate IDs (#5899) 2021-11-09 19:32:55 +01:00
Devtato
1c024470e0
feat(content-blog): allow sorting posts in ascending order (#5787) 2021-11-09 18:25:43 +01:00
Joshua Chen
f12c390a17
fix(content-docs): do not echo git history to console (#5906) 2021-11-08 21:03:21 +08:00
Joshua Chen
a835c9bc48
misc(plugin-docs): fix Windows test snapshot for git history retrieval (#5905)
* misc(plugin-docs): fix test snapshot

* Fix again
2021-11-08 17:09:58 +08:00
Joshua Chen
334b4397e7
refactor(content-docs): use shelljs instead of execa (#5904) 2021-11-08 15:33:06 +08:00
Sergio Moreno
cbcaa52f88
fix(cli): update notifier should be shown if current is less than latest (#5798) 2021-11-04 17:12:20 +01:00
Sébastien Lorber
bc99d1e8a1
fix(theme-classic): fix announcementBar css (#5873) 2021-11-04 17:10:25 +01:00
Paden Clayton
fa6d15b35f
feat(core): Add React ErrorBoundary component + theme default boundaries (#3104)
Co-authored-by: Paden Clayton <paden.clayton@monkedia.com>
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-11-04 16:07:32 +01:00
Alexey Pyltsyn
aeeacc3b52
fix: respect base URL when serving content by webpack dev server (#5864) 2021-11-03 19:12:22 +01:00
Joshua Chen
1363a25819
refactor: use js-yaml to parse both JSON and YAML (#5806) 2021-11-03 17:55:14 +01:00
Alexey Pyltsyn
91ec2509b7
chore: prepare v2.0.0-beta.9 release (#5859)
* chore: prepare v2.0.0-beta.9 release

* v2.0.0-beta.9
2021-11-02 20:40:01 +03:00
Sébastien Lorber
c2009ab6b7
fix(content-blog): Fix blog feeds not generated (#5835) 2021-11-02 19:28:40 +03:00
Joshua Chen
0e5057bdb3
refactor(live-codeblock): migrate package to TS (#5851)
* refactor(live-codeblock): migrate package to TS

* Migrate test
2021-11-02 12:28:41 +08:00
Devtato
41ef9daafd
feat(theme-classic): allow specifying width/height in logo (#5770)
* feat: changed the logo properties to allow width/height specification

* fixup! feat: changed the logo properties to allow width/height specification

* fixup! feat: changed the logo properties to allow width/height specification

* Rework: add fields to logo object

* Fix

* More fixes

* Wrong width!

* No need for optional chaining

* Doc writeup

Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-01 18:09:30 +08:00
William Poetra Yoga
ca9bd244aa
feat: allow user to specify deploymentBranch property in docusaurus.config.js (#5841)
* feat: allow user to specify deploymentBranch property in docusaurus.config.js

* docs: remove extra backtick

* docs: fix broken code block
2021-10-31 12:29:22 +08:00
Joshua Chen
9247332334
feat(preset-classic): guard against unknown keys in options (#5831) 2021-10-30 12:39:12 +08:00
Sergio Moreno
adbc02ea38
feat(search-algolia): algolia externalUrl regex to navigate with window.href (#5795) 2021-10-29 19:53:47 +02:00
Varun Sivapalan
8c12983a2a
fix: include all branch tips for shallow clone in deploy command (#5828) 2021-10-29 18:12:20 +02:00
Sébastien Lorber
3b66c68e92
feat: Support Node 17 (#5814) 2021-10-29 17:21:01 +02:00
Sergio Moreno
8eaf02fe15
fix: baseUrl passed to sortConfig (#5824) 2021-10-29 16:07:12 +02:00
Alexey Pyltsyn
d1fa1b5d35
refactor: some improvements for webpack-dev-server (#5815) 2021-10-29 14:46:50 +02:00
Sébastien Lorber
0b2d3483a1
fix: use @docusaurus/react-loadable as package alias + include types (#5819) 2021-10-29 11:04:07 +02:00
Sébastien Lorber
768600e5d9
fix: handle SIGTERM in build command (#5813) 2021-10-28 19:20:07 +02:00
Avi Vahl
96da25e422
feat(core): upgrade to webpack-dev-server@4 (#5420)
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-10-28 18:06:20 +02:00
Sébastien Lorber
1ce6253cc1
chore: require Node 14 (#5812) 2021-10-28 17:11:25 +02:00
Joshua Chen
7a6607cfa1
refactor: remove a few Lodash usages & ESLint enforcement (#5807)
* refactor: remove some lodash usage

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Enforce ESLint

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* More forbids

* Fixup

* Fix

* Fix website
2021-10-28 12:48:58 +08:00
Joshua Chen
4b2152a964
refactor: clear a few ESLint warnings (#5808)
* refactor: clear a few ESLint warnings

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Fix
2021-10-28 12:47:40 +08:00
Joshua Chen
68c970175a
refactor: migrate lqip-loader to TS, fix typing for Webpack Loaders (#5779) 2021-10-27 16:38:11 +02:00
Joshua Chen
72990726e5
refactor: fix a few type inconsistencies (#5788) 2021-10-27 11:53:08 +02:00
Ying Wang
075234851c
docs: fix typo (#5792)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-10-27 11:42:01 +02:00
Vladimir Tasic
77b277399e
feat(theme-classic): add Serbian Cyrillic translation (#5791) 2021-10-27 11:41:46 +03:00
Ngô Quốc Đạt
49020017fe
refactor: improve Vietnamese translations (#5781)
* Translation for Vietnamese

* Fix plural readingTime
2021-10-26 21:00:47 +03:00
Sébastien Lorber
68a116611f
chore: prepare v2.0.0-beta.8 release (#5762) 2021-10-21 18:52:17 +02:00
Sébastien Lorber
ef246dafcd
chore: upgrade html-webpack-plugin, remove terser 4 (#5761) 2021-10-21 17:54:35 +02:00
Sébastien Lorber
31ad8c4def
fix(ideal-image): fix IdealImage in dev not handling ES import images properly (#5760) 2021-10-21 17:22:49 +02:00
Joshua Chen
1c8b8362f7
fix(live-codeblock): render static codeblock server-side (#5754)
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-10-21 17:17:03 +02:00
Joshua Chen
9ad6de2b85
feat(content-blog): new readingTime plugin option (#5702) 2021-10-21 15:26:10 +02:00
Joshua Chen
c2eda4aac1
fix(theme-classic): allow tabs with number as value (#5732) 2021-10-21 12:43:56 +02:00
Joshua Chen
2398943c17
feat(core): write-heading-ids options maintainCasing, overwrite (#5740) 2021-10-21 12:33:52 +02:00
Joshua Chen
3127f12654
feat(content-docs): new front matter options to customize pagination (#5705) 2021-10-21 12:27:57 +02:00
Sébastien Lorber
29d13351a4
fix(content-blog): temporarily swallow feed mdxToHtml errors + feed refactor (#5753) 2021-10-21 11:57:47 +02:00
Alexey Pyltsyn
fd41239f4f
fix: handle rubber band scrolling in hideable navbar (#5721) 2021-10-20 17:43:10 +02:00
Sébastien Lorber
d799405ace
fix: stable callbacks in useSearchQuery + refactor (#5751) 2021-10-20 17:36:33 +02:00
Sébastien Lorber
098f210890
chore: Enable ESLint rules of hooks + fix new lint errors (#5714) 2021-10-20 16:09:52 +02:00
philipp985
3db4fcaec7
refactor: Polish de translation (#5717) 2021-10-20 15:40:59 +02:00
Caner Canbaz
43a4001c7e
refactor: add missing Turkish translations to theme-classic (#5725)
Co-authored-by: canercanbaz <caner.canbaz@getir.com>
2021-10-20 15:30:49 +02:00
Joshua Chen
90098ca838
refactor(module-type-aliases): remove fallback aliases (#5726) 2021-10-20 15:27:16 +02:00
Nathaniel Furniss
6763496dc1
refactor: perform shallow clone during deploy (#5748)
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-10-20 15:21:11 +02:00
Ngô Quốc Đạt
74675a3e9c
refactor(v2): update Vietnamese translations (#5723) 2021-10-19 20:16:01 +02:00