Armano
2f7d6fea1e
refactor(content-docs): move isCategoriesShorthand to utils ( #5962 )
2021-11-18 08:25:07 +08:00
Armano
ac1df888ae
refactor(plugin-ideal-image): migrate package to TS ( #5940 )
2021-11-17 14:10:23 +01:00
Armano
3bf59a65a9
refactor(types): correct HtmlTags types ( #5959 )
2021-11-17 07:10:44 +08:00
Armano
85fcd9eb0f
refactor(plugin-pwa): migrate package to TS ( #5941 )
2021-11-16 20:38:14 +01:00
Armano
425144afc7
refactor(theme-search-algolia): migrate package to TS ( #5935 )
2021-11-16 20:35:09 +01:00
FISH UP
7e955e2fa6
fix(module-type-aliases): add svg declaration ( #5945 )
...
* fix(module-type-aliases): add svg, scss, module.scss, module.sass
* fix(module-type-aliases): css should be declared after module.css
* fix(module-type-aliases): remove scss related declarations
* fix(module-type-aliases): correct svg declaration
Co-authored-by: FISH UP <MisterFISHUP@users.noreply.github.com>
2021-11-15 13:10:45 +08:00
Afshin Mehrabani
54d0755493
feat(create-docusaurus): allow using local folder as template ( #3458 )
...
* feat(docusaurus-init): search the local ./templates folder during doc init
* Add docs
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-15 12:37:22 +08:00
Joshua Chen
c5feac6ba2
refactor: move deps declarations into src ( #5946 )
2021-11-14 13:35:15 +08:00
Stan Kocken
81ab250326
fix: translate all remaining english sentence in French ( #5944 )
...
* Update fr.json
2021-11-14 09:04:56 +08:00
Joshua Chen
d1308a8736
refactor: improve setup of type declaration files ( #5914 )
2021-11-12 17:47:27 +01:00
Joshua Chen
334470b5d4
refactor(theme-classic): move some logic of CodeBlock to theme-common ( #5922 )
2021-11-12 16:43:40 +01:00
duanwilliam
1e725a158e
refactor(remark-plugin-npm2yarn): migrate package to TS ( #5931 )
...
* refactor(remark-plugin-npm2yarn): migrate package to TS
* fix(remark-plugin-npm2yarn): type as unified Plugin
* refactor(remark-plugin-npm2yarn): standardize code style with remark plugins in mdx-loader
* Use unist-util-visit
* Use export =
* Remove unneeded includes option
* Fix tests
* Migrate test to TS
* Make output look better
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-12 21:21:16 +08:00
Varun Sivapalan
6c0a193fc8
refactor: optimize clone and checkout in deploy command ( #5829 )
...
* refactor: optimize clone and checkout in deploy command
* refactor: remove obsolete check for default branch and simplify flow
* refactor: skip cloning repository if deployment branch doesn't exist
* Refactors
* More tip about failure
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-11 09:33:38 +08:00
Joshua Chen
ac88d979f1
refactor(ganalytics, gtag): move options out of themeConfig ( #5832 )
...
* refactor(ganalytics, gtag): move options out of themeConfig
* Forbid themeConfig options
* Add PR link
* Add key names to error message
* Fix?
* Doc updates
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-11-10 19:04:43 +08:00
William Poetra Yoga
f5732e7589
feat: allow GIT_USER env var to be unset if SSH is used ( #5840 )
...
* feat: allow GIT_USER env var to be unset if SSH is used
* fix: packages/docusaurus/src/commands/deploy.ts
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
* 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
* docs: fix i18n routes to feature requests (#5843 )
* docs: fix i18n routes to feature requests
* Add redirect rules
* feat: allow GIT_USER env var to be unset if SSH is used
* fix: packages/docusaurus/src/commands/deploy.ts
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
* fix: avoid escaping hyphen in regex
* Refactor
* Update deployment.mdx
* Make SSH higher priority
* Only infer but not override
* Add tests
* Fix tests
* Fix
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-11-10 18:51:12 +08:00
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