Commit graph

1773 commits

Author SHA1 Message Date
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
Alexey Pyltsyn
877373e108
chore: prepare v2.0.0-beta.7 release (#5713)
* chore: prepare v2.0.0-beta.7 release

* v2.0.0-beta.7
2021-10-15 16:31:01 +03:00
Alexey Pyltsyn
1361a5a38e
fix: proper collapsing of long element (#5694)
* fix: proper collapsing of long element

* Add example

* Reorder

* Another solution with overflow

* Restore original solution
2021-10-15 16:02:56 +03:00
Alexey Pyltsyn
e22170408a
refactor: cleanup scroll handlers (#5709) 2021-10-15 13:07:03 +02:00
Alexey Pyltsyn
c12fe963c9
refactor: hide hash link from crawlers (#5708) 2021-10-15 12:32:41 +02:00
Alexey Pyltsyn
92104c7c3b
feat: make Translate children optional (#5683)
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-10-14 18:39:41 +02:00
Joshua Chen
c8739ec28e
polish(theme-classic): guard against potential definition mistakes in Tabs (#5674) 2021-10-14 15:47:03 +02:00
Joshua Chen
8d92e9bcf5
refactor(content-docs): refactor sidebars, Joi validation, generator rework, expose config types (#5678) 2021-10-14 14:38:26 +02:00
Alexey Pyltsyn
543011c9d2
fix: use realpath for site dir to resolve symlink (#5684) 2021-10-14 12:08:48 +02:00
Alexey Pyltsyn
fee10c9e13
fix: apply announcement bar class if only needed (#5699) 2021-10-14 11:10:59 +02:00
Alexey Pyltsyn
54015de628
chore: upgrade Infima to alpha.34 (#5666) 2021-10-14 10:42:10 +02:00
Alexey Pyltsyn
00bb405b89
fix: expand tag column on truncated post (#5667) 2021-10-14 09:54:57 +02:00
Alexey Pyltsyn
99f6e665e8
fix: preserve line breaks when copy code in Firefox (#5668) 2021-10-13 19:40:16 +02:00
Shrugsy
7868df13f1
feat: maintain page position for clicked grouped tabs (#5618)
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-10-13 19:08:00 +02:00
Nathaniel Tucker
4a4f8497b3
fix: Don't ignore options.transforms for buble (#5677)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-10-12 20:01:27 +02:00
Alexey Pyltsyn
67403b3b65
fix: preserve hash in asset link (#5690) 2021-10-12 16:49:01 +02:00
moonrailgun
6ed698976d
feat(content-blog): add full blog post html into RSS/Atom feeds (#4330)
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-10-08 12:59:02 +02:00
Joshua Chen
d6b4eeb358
feat(theme-classic): make first tab the default tab (#5647)
* Initial work

* Little doc fix

* Doc fix
2021-10-07 17:06:17 +02:00
Joshua Chen
eaacb0e98a
feat(theme-classic, plugin-docs): sidebar item level-specific className + allow customization (#5642)
* Initial work

* Complete function

* Avoid duplication

* More dedupe

* Make everything constants

* Change casing & docs
2021-10-07 16:59:02 +02:00
Sébastien Lorber
f6ec757aa0
feat: npm init docusaurus, yarn create docusaurus (#5635)
* initial create-docusaurus impl

* cleanup

* @docusaurus/init renamed to create-docusaurus

* 0.0.6

* update lockfile

* fix lint

* remove npm2yarn for "npm init" because npm2yarn doesn't convert it and yarn result fails to execute

* prettier

* add correct version

* prettier

* prettier

* prettier

* prettier

* fix annoying --config .prettierrc issue
2021-10-07 16:06:42 +02:00
Sébastien Lorber
e1b4da04fe
fix: restore duplicate Tabs rendering to fix hydration issue (#5652)
* restore duplicate Tabs rendering to fix hydration issue

* comment
2021-10-07 12:40:19 +02:00
Alexey Pyltsyn
e6e2db7f24
fix: place root route at the end (#5645)
* fix: place root route at the end

* Use sorting independent of subroutes

* Add better test to cover edge-case and ensure "/" routes with child are at the end

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-10-06 14:00:49 +02:00
Ana Carolina
10941f0b6a
refactor: improve pt-BR translation for classic theme (#5649) 2021-10-06 08:20:57 +03:00
Joshua Chen
7f7b858cd4
refactor: make all Props defined as interface + readonly (#5636)
* Initial work

* Fix
2021-10-05 19:04:24 +02:00
David Callizaya
21ef908f00
refactor: complete missing ES translations (#5646) 2021-10-05 11:16:12 +03:00