Commit graph

872 commits

Author SHA1 Message Date
Alexey Pyltsyn
bfea8d632d
refactor(v2): increase heading anchor offset (#4601) 2021-04-12 18:59:59 +02:00
Alexey Pyltsyn
2b4a52e27a
fix(v2): use page title from config if not set (#4600) 2021-04-12 18:39:34 +02:00
Alexey Pyltsyn
6b0df65786
fix(v2): render escaped HTML entities inside code properly (#4598) 2021-04-12 18:33:38 +02:00
Alexey Pyltsyn
7c56f816c6
perf(v2): avoid rerender of sidebar items while scrolling (#4603) 2021-04-12 18:14:02 +02:00
Lisa Chandra
154ba62627
feat(v2): theme default translations hindi (#4596)
* docs: theme default translations for hindi

* docs: fix lastUpdatedAtBy for hindi

Co-authored-by: Javid <singularity.javid@gmail.com>
2021-04-12 18:02:56 +02:00
serut
902aad55bb
fix(v2): DocNavbarItem error message (#4554)
* Fix DocNavbarItem error message

* Clean code

* clean code
2021-04-02 17:07:41 +02:00
Tiago Ribeiro
fb07bd871c
feat(v2): add pt-PT translations for docusaurus-theme-classic (#4536)
* Added a JSON file with the portuguese (Portugal) translations

* Changed the file according to linting

* Add a new line at the end of the file

* Changes because of prettier, there was a whitespace at the end of a line
2021-03-30 10:47:21 +02:00
Thiago Sciotta
61414f9a11
feat(v2): add Brazilian Portuguese translation (#4525) 2021-03-29 17:06:50 +02:00
Sébastien Lorber
78349480af
chore: rename v2.docusaurus.io urls after domain switch + redirect + cleanups (#4490)
* prepare v1-v2 domain switch

* rename v1 changelog as CHANGELOG-1.x.md

* switch v1/v2 changelogs

* Cleanup v2.docusaurus.io urls

* add netlify domain redirect

* remove circleci config

* remove another circle file
2021-03-22 20:57:49 +01:00
Armano
f12e8b596d
perf(v2): reduce amount of navbar renders while scrolling (#4473) 2021-03-22 19:32:11 +01:00
Armano
80e40c36e5
fix(v2): select correct tab when items are incorrectly ordered (#4468) 2021-03-19 18:12:58 +01:00
Armano
61548d3995
refactor(v2): add missing types to theme-classic useTheme (#4467) 2021-03-19 14:31:38 +01:00
Sébastien Lorber
9e881b46c8
fix(v2): i18n fixes (#4466) 2021-03-19 14:23:31 +01:00
Armano
15107ee099
refactor(v2): correct client types and type aliases (#4451) 2021-03-19 11:32:38 +01:00
Sébastien Lorber
9117a5b7df
chore: fb json header commit typo (#4463) 2021-03-18 20:01:11 +01:00
Sébastien Lorber
892d832a3e
fix(v2): Fix i18n staging deployment due to json typo (#4461) 2021-03-18 19:28:14 +01:00
Sébastien Lorber
60d189a91c
fix(v2): Export Joi from validation-utils package (#4459) 2021-03-18 19:27:51 +01:00
Sam Zhou
83d043ecb3
chore(v2): Fix more linter warnings (#4450) 2021-03-18 18:05:09 +01:00
miku86
93dab24bec
polish(v2): Add german translations (#4448)
* Add german translations

Hey folks,

I updated some missing translations.

Greetings
Michael

* Update packages/docusaurus-theme-classic/codeTranslations/de.json

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-03-18 11:46:23 +01:00
Sébastien Lorber
806fdbaf27
feat(v2): infer default i18n locale config from locale code (#4449)
* improve locale default config

* remove localeConfigs from i18n tutorial

* better i18n types, tests and Intl.DisplayNames integration
2021-03-18 11:43:07 +01:00
Sam Zhou
5e73c72f26
chore(v2): Fix linter warnings (#4442)
* chore(v2): Fix linter warnings

223 warnings to 145 warnings

* Remove explicit type annotations

* Do not prefetch when targetLink == null
2021-03-17 17:28:42 +01:00
Reece Dunham
76c0b11632
refactor(v2): TS config update: reduce the size of npm modules (#4375)
* feat(v2): Reduce the size of the npm modules

Signed-off-by: Reece Dunham <me@rdil.rocks>

* Fix conflicts

* Update search.js

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-03-17 16:25:42 +01:00
Alexey Pyltsyn
f8fda885fc
chore(v2): prepare v2.0.0.alpha-72 release (#4440)
* chore(v2): prepare v2.0.0.alpha-72 release

* v2.0.0-alpha.72
2021-03-16 14:30:54 +03:00
Armano
abae86f283
refactor(v2): use correct plugin types (#4418) 2021-03-15 19:08:44 +01:00
Alexey Pyltsyn
c3968e2d8f
chore(v2): upgrade Infima to v0.2.0-alpha.21 (#4429) 2021-03-15 17:50:46 +01:00
Alexey Pyltsyn
ae1547c5c8
fix(v2): allow using pre tag in Markdown directly (#4428) 2021-03-15 16:42:24 +01:00
Quan
07ec381426
feat(v2): add Vietnamese translation for classic theme (#4422)
* add Vietnamese translation

* remove original word from translation string
2021-03-15 17:02:55 +03:00
Leandro Oriente
05e3515ad1
chore(v2): upgrade react-toggle to v4.1.2 (#4436) 2021-03-14 21:44:59 +03:00
Rhodanthe1116
b8b1e1ad85
refactor(v2): new theme label translations for Traditional Chinese (#4427) 2021-03-14 00:23:28 +03:00
Armano
a39c62f644
refactor(v2): add missing theme-classic types (#4385) 2021-03-12 12:19:19 +01:00
Joon-Ha Lee
31264b1245
feat(v2): Add korean default translations (#4390)
add japanese translations
2021-03-11 17:07:53 +01:00
Alexey Pyltsyn
c32d8bd116
fix(v2): specify proper TS path in classic theme (#4381) 2021-03-10 20:15:50 +01:00
Alexey Pyltsyn
6afa83c419
fix(v2): set theme color mode for SSR (#4383) 2021-03-10 20:10:07 +01:00
Sébastien Lorber
986de6b214
chore(v2): prepare v2.0.0.alpha-71 release (#4376)
* prepare release

* v2.0.0-alpha.71
2021-03-09 18:45:05 +01:00
Sébastien Lorber
f8884044fb
chore(v2): update infima (#4370)
* update infima

* update yarn lock

* Updates

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2021-03-09 14:58:05 +01:00
Alexey Pyltsyn
a369527910
refactor(v2): update Russian translation in classic theme (#4371) 2021-03-09 14:41:15 +01:00
Armano
e6261af642
refactor(v2): remove duplicated lodash dependencies and import only what needed (#4361)
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-03-09 12:15:52 +01:00
MisterFISHUP
9a6d6a9adc
polish(v2): [theme-classic] slightly improve Japanese translation (#4359)
* Update ja.json

* Update ja.json
2021-03-08 19:22:42 +01:00
MisterFISHUP
620b8f8fd7
polish(v2): [theme-classic] add Chinese translations (zh-Hant & zh-Hans) (#4356) 2021-03-08 15:46:39 +01:00
MisterFISHUP
33968b199b
polish(v2): [theme-classic] update French translation and base.json (#4358)
* Update fr.json

* Update base.json
2021-03-08 15:41:17 +01:00
Alexey Pyltsyn
6be0bd41b0
refactor(v2): format last updated date using Intl (#4352) 2021-03-05 15:30:09 +01:00
Sébastien Lorber
4f419801da
fix(v2): update code translations script + update some translations (#4349) 2021-03-05 14:52:59 +01:00
Çağlar Turalı
8bc23197a9
polish(v2): Updated theme label translations for Turkish (#4350) 2021-03-05 14:52:05 +01:00
Yamagishi Kazutoshi
f772c17bfc
polish(v2): add japanese translation for #4304 (#4351) 2021-03-05 14:45:21 +01:00
Alexey Pyltsyn
1dd400db7e
refactor(v2): format post date using Intl (#4344)
* refactor(v2): format post date using Intl

* Fix test

* Blog: add localized blog post date test

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-03-04 19:11:31 +01:00
Alexey Pyltsyn
a4b409c93b
fix(v2): make code blocks more standalone (#4315)
* refactor(v2): make code blocks styles standalone

* Rework

* Revert font size in playground headers

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-03-04 18:22:34 +01:00
Alexey Pyltsyn
788b4a76d8
feat(v2): auto focus to tab if it is outside viewport (#4209)
* Simplify solution

* fix typo

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-03-04 17:46:36 +01:00
Alexey Pyltsyn
da5175a591
fix(v2): fit footer in viewport when content area is too small (#4311)
* fix(v2): fit footer in viewport  when content area is too small

* Fix

* Better solution
2021-03-04 15:39:15 +01:00
Sébastien Lorber
879dcb0701
fix(v2): prevent useless blog pages to be in search results (#4340) 2021-03-03 18:23:47 +01:00
Sébastien Lorber
070b3fc1e8
fix(v2): search page results localization (#4339)
* Fix search page localization

* Fix search page localization
2021-03-03 18:10:20 +01:00