mcallisto
4122c75d57
feat(theme-translations): add Italian translations ( #6169 )
...
* Created it dir files
* Italian translations
2021-12-23 08:30:43 +08:00
Sébastien Lorber
8f8aa65446
fix(core): update webpack-dev-server + fix deprecation warning ( #6168 )
2021-12-22 20:05:14 +01:00
Sébastien Lorber
b393700a61
feat: async plugin creator functions ( #6166 )
2021-12-22 19:10:49 +01:00
Sébastien Lorber
f8a670966e
feat(core): async docusaurus.config.js creator function ( #6165 )
2021-12-22 17:03:01 +01:00
Sébastien Lorber
01b407011a
chore(v2): prepare v2.0.0-beta.14 release ( #6147 )
2021-12-21 17:15:04 +01:00
Joshua Chen
cc0a439e12
fix(migrate): do not modify non-MD files ( #6146 )
...
* fix(migrate): do not modify non-MD files
* Little refactor
2021-12-21 22:58:03 +08:00
Yaroslav Serhieiev
9d95d786fa
feat(theme-classic): allow stylizing doc paginator arrows ( #6053 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-21 15:55:24 +01:00
Joshua Chen
0384a7919e
fix(theme-classic): fix translation when footer has no links ( #6144 )
2021-12-21 20:12:19 +08:00
Joshua Chen
287292497d
test: fix async tests resolved in random order ( #6143 )
2021-12-21 18:51:56 +08:00
Christopher Klint
d987c22996
feat(theme-classic): new configuration syntax for a simple footer ( #6132 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-20 19:45:27 +01:00
Joshua Chen
cb4265253a
feat(theme-classic): standalone Admonition component ( #5848 )
2021-12-20 17:51:19 +01:00
Joshua Chen
770418f8d2
refactor: unify log format with new logger utility ( #5994 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-20 17:24:59 +01:00
Alexey Pyltsyn
2318ef298f
fix: do not use aria-hidden in heading anchor links ( #6128 )
2021-12-19 00:35:31 +03:00
不郑
7e5f6bb805
feat(content-blog): support json feed ( #6126 )
...
* feat(content-blog): support json feed
* feat(content-blog): support json feed
* feat(content-blog): add json type to default feed options
* Refactors, docs, validation
* Fix test
* Ammend docs
* Add API doc
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-18 22:47:40 +08:00
Joshua Chen
06bd44c693
feat(theme-common): stable classname for code blocks ( #6125 )
...
* feat(theme-common): stable classname for code blocks
* Remove extra lines
* Fix styles
* Remove line
2021-12-18 13:32:30 +08:00
Joshua Chen
a5d2815154
fix(content-docs): restore behavior when pagination front matter is null ( #6124 )
...
* fix(content-docs): restore behavior when pagination front matter is null
* update snaps
2021-12-18 10:31:31 +08:00
Christopher Klint
8f18cbbeb3
fix(theme-classic): add outline to focused code blocks ( #6121 )
...
* fix(theme-classic): add outline to focused code blocks
* refactor: remove opacity
2021-12-18 09:07:17 +08:00
Drylozu
fa3926e2a1
feat(theme-classic): allow passing additional attributes to tab headings ( #6082 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-17 18:23:50 +01:00
Joshua Chen
74aa87242f
test: use snapshots for sidebar tests ( #6123 )
2021-12-17 18:17:09 +01:00
Joshua Chen
77c93cbda6
misc: ignore some files during npm publish ( #6092 )
2021-12-17 11:38:26 +01:00
Alexey Pyltsyn
6ab4efe3a6
refactor: remove some useless code ( #6118 )
2021-12-17 15:41:02 +08:00
Joshua Chen
0c2765fb74
fix(create-docusaurus): make initial editUrl functional ( #6119 )
2021-12-17 10:47:58 +08:00
Sébastien Lorber
fc0df304c0
feat(core): allow plugins to customize/override Webpack devServer config ( #6107 )
2021-12-16 12:02:29 +01:00
Joshua Chen
649f18d304
fix(create-docusaurus): give a clearer message when installation failed ( #6095 )
2021-12-15 18:03:38 +01:00
Kristoffer K
b48c6defae
fix: declare missing dependencies ( #6097 )
...
* fix(utils-validation): add missing peer dependencies `react` and `react-dom`
* fix(theme-classic): add missing peer dependency `@docusaurus/core`
* ci: disable PnP fallbacks
* ci: link to the docs
* Update package.json
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-13 09:47:07 +08:00
Joshua Chen
e57929c114
chore: add missing dependencies on tslib ( #6094 )
2021-12-11 18:18:25 +08:00
Sébastien Lorber
8265e165b7
fix(theme-translations): publish theme-translation lib, including typedef ( #6088 )
2021-12-10 19:09:56 +01:00
Sébastien Lorber
fd2934d10d
getMainDocId should return doc with both versioned or unversioned id ( #6085 )
2021-12-10 09:35:57 -08:00
Sébastien Lorber
ae9a12ff50
chore(v2): prepare v2.0.0-beta.13 release ( #6084 )
2021-12-10 16:56:00 +01:00
Sébastien Lorber
991c1b2832
chore(v2): prepare v2.0.0-beta.11 release ( #6081 )
2021-12-10 14:13:25 +01:00
Pranab Das
fbf04ed556
fix: move docusaurus core back to hard dependencies ( #6078 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-10 11:05:21 +01:00
Sébastien Lorber
43ac7d5da9
chore(v2): prepare v2.0.0-beta.10 release ( #6076 )
2021-12-09 13:32:23 +01:00
Joshua Chen
fd966b5395
refactor: add blank lines below all copyright headers ( #6071 )
2021-12-09 11:53:46 +08:00
Robin Métral
9433dcbe60
fix(theme-classic): make nav dropdowns focusable ( #6003 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-08 18:50:39 +01:00
Sébastien Lorber
f5a404b877
fix(theme-common): useLocationChange fire un-necessarily twice ( #6070 )
2021-12-08 16:38:34 +01:00
Joshua Chen
e07ebadf6c
fix: make Docusaurus PnP strict mode compatible ( #6047 )
...
Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
2021-12-08 14:26:24 +01:00
Alexey Pyltsyn
68b75bf855
refactor: capitalize locales when creating i18n config ( #6048 )
...
* refactor: capitalize locales when creating i18n config
* Switch to toLocaleUpperCase method
* Update packages/docusaurus/src/server/i18n.ts
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-08 21:04:28 +08:00
Joshua Chen
59f81e6490
fix(core): fix error boundary import disrupting CSS order ( #6052 )
2021-12-08 11:13:43 +01:00
Yongmin Hong
813300b9fe
feat(theme-translations): add extra Korean translation, fix typo ( #5976 )
...
* Add extra Korean translation, fix typo
Signed-off-by: Yongmin Hong <revi@pobox.com>
* Add missing translations, per John-Cena's guidance
Resolves most comments, more fix.
Signed-off-by: Yongmin Hong <revi@pobox.com>
* Cleanup rebase and add one more translation
add the missing bit.
Signed-off-by: Yongmin Hong <revi@pobox.com>
2021-12-08 09:38:09 +08:00
Joshua Chen
8644097ab7
fix(content-blog): make post ID unique ( #6061 )
...
* fix(content-blog): make post ID unique
* Fixes
2021-12-08 09:28:17 +08:00
Joshua Chen
b4ec7ec011
refactor(core): fix types for client code ( #6064 )
2021-12-07 19:58:36 +01:00
Alexey Pyltsyn
f96a051fbe
refactor: remove deprecated docs homePageId option ( #6065 )
2021-12-07 19:48:30 +01:00
Joshua Chen
7c43569468
chore(theme-translations): complete Chinese translations ( #6060 )
2021-12-07 19:15:16 +08:00
Alexey Pyltsyn
283166c211
refactor: remove unused metadata field for homepage ( #6056 )
2021-12-06 12:28:35 +08:00
Joshua Chen
fb6393fdce
chore: clean up dev dependency declarations ( #6055 )
...
* chore: clean up dev dependency declarations
* Fix prettier version
2021-12-05 23:07:34 +08:00
Alexey Pyltsyn
58720c93e8
refactor: simplify Toggle component ( #6049 )
2021-12-05 09:31:57 +08:00
Joshua Chen
fcaa94695d
fix(core): do not apply theme-init alias to user component ( #5983 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-03 18:59:45 +01:00
Fernando Maia
b366ba5603
feat: shorthands for themes/plugins/presets configuration ( #5930 )
...
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-03 18:23:12 +01:00
Joshua Chen
bfd7fd9d8a
refactor: minor ESLint improvements ( #5981 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-03 17:38:29 +01:00
Sébastien Lorber
cfae5d0933
feat(content-docs): sidebar category linking to document or auto-generated index page ( #5830 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Armano <armano2@users.noreply.github.com>
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2021-12-03 14:44:59 +01:00