Commit graph

1152 commits

Author SHA1 Message Date
Jarar
48fff3e66c
fix: make hash link in heading not selectable (#6000) 2021-11-24 17:17:29 +08:00
Armano
411b9aa977
chore: cleanup dependency declaration in package.json (#5985)
* deps: add/move dependencies and treat types as dev

* chore: fix merge conflict

* Update package.json

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-11-23 13:59:28 +08:00
Alexey Pyltsyn
63bd6b9025
refactor: define own translations in other themes (#5849)
Co-authored-by: Armano <armano2@users.noreply.github.com>
2021-11-20 16:35:27 +01:00
Joshua Chen
0374426ce3
chore: upgrade TypeScript & other ESLint related deps (#5963)
* chore: upgrade ESLint related deps

* Upgrade TS

* Fix lock

* Bump Babel

* Update config
2021-11-18 21:15:37 +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
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
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
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
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
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
Sergio Moreno
adbc02ea38
feat(search-algolia): algolia externalUrl regex to navigate with window.href (#5795) 2021-10-29 19:53:47 +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
72990726e5
refactor: fix a few type inconsistencies (#5788) 2021-10-27 11:53:08 +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
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
c2eda4aac1
fix(theme-classic): allow tabs with number as value (#5732) 2021-10-21 12:43:56 +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
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
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
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
Joshua Chen
c8739ec28e
polish(theme-classic): guard against potential definition mistakes in Tabs (#5674) 2021-10-14 15:47:03 +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
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
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
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
Ekaterina Mozheiko
7b3daee102
fix(theme-classic): reset default style for task lists (#5643)
* fix(theme-classic): fix markdown list style

* fix(theme-classic): change style for consistency

Co-authored-by: Ekaterina Mozheiko <emojeyko@sberhealth.ru>
2021-10-04 02:15:10 +03:00
Mahdi Hamldar
730de9f025
refactor: update Persian translation with the latest version (#5640)
* Synchronize Persian language with the latest base version

* style: synchronize Persian language with the latest base version
2021-10-03 01:28:12 +03:00
Alexey Pyltsyn
4260768c53
misc: update base translation + remove extra char (#5639) 2021-10-02 18:36:30 +03:00
Alexey Pyltsyn
a96878048d
refactor: standardize using media queries (#5630)
* refactor: standardize using media queries

* Better reusing
2021-10-01 16:09:51 +02:00