Forresst
51a7988923
docs(v2): fix typo deployment.mdx ( #4539 )
2021-03-31 15:51:13 +02:00
Pedro Piñera Buendía
e6a8111025
docs(v2): Add Tuist to the list of projects that use Docusaurus ( #4538 )
2021-03-30 19:41:34 +02:00
ZhengYuan Loo
fe2c6b8924
docs(v2): remove duplicate line on v1 docs ( #4531 )
2021-03-30 11:10:39 +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
dependabot[bot]
982a84e70c
chore(deps): bump y18n from 4.0.0 to 4.0.1 ( #4533 )
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-30 10:42:56 +02:00
Armano
5534affdb9
fix(v2): remove no longer used postcss-present-env from dependencies ( #4506 )
2021-03-29 18:04:13 +02:00
ZhengYuan Loo
11843a02fe
docs(v2): config for self-hosted docsearch crawler ( #4524 )
2021-03-29 17:53:51 +02:00
Forresst
b9de28e42f
docs(v2): fix markdown headings level 4 ( #4526 )
2021-03-29 17:23:20 +02:00
Thiago Sciotta
61414f9a11
feat(v2): add Brazilian Portuguese translation ( #4525 )
2021-03-29 17:06:50 +02:00
Chris Kanich
b10ed6cb00
feat(v2): include frontmatter in loadedContent doc metadatas ( #4495 )
...
* feat: include frontmatter in globals
* feat: include frontmatter in globals (options schema test)
* feat(v2): document frontmatter in document metadata
* feat(v2): frontmatter in metadata, tests updated
* Update packages/docusaurus-plugin-content-docs/src/types.ts
* Update packages/docusaurus-plugin-content-docs/src/types.ts
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-03-26 19:54:29 +01:00
besemuna
9715048f79
feat(v2): provide doc sidebar_label through sidebars.js ( #4500 )
...
* feat : update SidebarItemDoc type
* feat : update assertIsDoc
* feat : allow configuring title from sidebar.js
* feat : add docs
* docs : refactor i18n docs to use label in sidebar.js
* test : add test
* Update website/docs/guides/docs/sidebar.md
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
* docs : remove backported docs
Co-authored-by: Lisa Chandra <52909743+lisa761@users.noreply.github.com>
Co-authored-by: Javid <singularity.javid@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-03-26 15:11:21 +01:00
Sébastien Lorber
f7614081dd
ci(v2): fail CI if build takes too much time ( #4516 )
...
* remove the .cache folder so that it removes both webpack cache-loader-v4/persistent-cache-v5 + webpack terser cache
* Add GH action to track build time perf with a timeout
* Add GH action to track build time perf with a timeout
2021-03-25 17:30:49 +01:00
Armano
88a48a072a
ci: enable yarn install cache ( #4486 )
...
* test: enable yarn install cache
* ci: correct cache key
* ci: update caching to use bahmutov/npm-install
2021-03-25 16:29:32 +01:00
Armano
17a7ce6d0d
fix(v2): do not warn about duplicated title for pages ( #4507 )
2021-03-24 12:31:26 +01:00
Armano
839d9d70ba
ci: change default actions timeout from 6h to 30m ( #4508 )
2021-03-24 12:24:44 +01:00
Sébastien Lorber
819bb43433
docs(v2): add more links to v1: announcementBar, versionDropdown, homepage ( #4505 )
...
* add more links to v1 doc + use Translate interpolation
* add more links to v1 doc + use Translate interpolation
* add version dropdown link to v1 domain
2021-03-23 19:08:36 +01:00
Armano
1f8e0bc48e
docs(v2): add missing version link to legacy (v1) version of website ( #4504 )
2021-03-23 18:50:29 +01:00
Armano
ea13c94cc2
feat(v2): read first heading as title and use it in front-matter ( #4485 )
...
* feat(v2): read first heading as title and pass it to front-matter
* fix(v2): always trim content after extracting front-matter
* fix(v2): remove heading from rss and keep duplicate heading
* fix(v2): rollback some unnecessary comment changes
* test(v2): add unit tests to blog
* test(v2): add unit tests to docs
* test(v2): correct issue on windows
* test(v2): add additional test cases
2021-03-23 18:07:21 +01:00
Forresst
fb372c574d
docs: fix link to issue template ( #4497 )
2021-03-23 17:00:58 +01: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
Sébastien Lorber
aaea26602b
chore: prepare v1-v2 domain switch ( #4475 )
...
* prepare v1-v2 domain switch
* rename v1 changelog as CHANGELOG-1.x.md
* switch v1/v2 changelogs
2021-03-22 20:26:47 +01:00
Armano
f12e8b596d
perf(v2): reduce amount of navbar renders while scrolling ( #4473 )
2021-03-22 19:32:11 +01:00
Arijit Kundu
af840b7f85
docs(v2, v1): fixed typos ( #4479 )
2021-03-22 18:00:32 +01:00
aehrea
3c165c3b89
docs(v2): fix grammar and improve wording ( #4481 )
...
- resolve grammar issue in Setup heading and rephrase to (subjectively) more clear wording
- more consistent wording in first line of Versioned paths heading
2021-03-22 17:57:11 +01:00
Guillaume Claret
bc7c06ee37
chore(v2): fix typo in classic init template ( #4488 )
2021-03-22 00:26:31 +03:00
Arijit Kundu
be6ef076f0
docs(v2): corrected the use of delimiters ( #4478 )
2021-03-21 12:23:08 +03:00
Arijit Kundu
9bdb9eb630
docs(v2): fixed broken link in sidebar documentation ( #4472 )
2021-03-19 22:29:03 +03:00
Sébastien Lorber
acc92461b0
chore: fix GH actions lint problem matchers issue in PR ( #4471 )
2021-03-19 18:53:46 +01:00
Sébastien Lorber
dd5e5098b8
docs(v2): Add missing i18n docs: API lifecycles + Crowdin migration guide ( #4470 )
...
* Add the missing i18n docs: Crowdin migration + i18n lifecycle APIs
* fix heading ids
* fix doc typo
2021-03-19 18:19:30 +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
357ea7d836
chore(v2): migrate babel-eslint to @babel/eslint-parser ( #4453 )
...
* chore(v2): migrate babel-eslint to @babel/eslint-parser
* chore(v2): align facebook example packages
* chore(v2): lock babel-eslint for docusaurus-1x
* chore(v2): align pakcages in facebook init template
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-03-19 11:59:36 +01:00
Armano
15107ee099
refactor(v2): correct client types and type aliases ( #4451 )
2021-03-19 11:32:38 +01:00
Alexey Pyltsyn
291a72fbae
docs(v2): use explicit heading IDs ( #4460 )
2021-03-19 11:00:41 +01:00
Sébastien Lorber
962c3748ea
chore(v2): Joi cyclic dep warning ( #4464 )
2021-03-18 20:19:09 +01:00
Sébastien Lorber
9117a5b7df
chore: fb json header commit typo ( #4463 )
2021-03-18 20:01:11 +01:00
Sébastien Lorber
5543f09ed1
chore: json files should be linted ( #4462 )
2021-03-18 19:39:50 +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
Sébastien Lorber
03f4a92035
chore(v2): enable more staging locales ( #4458 )
2021-03-18 18:05:42 +01:00
Sam Zhou
83d043ecb3
chore(v2): Fix more linter warnings ( #4450 )
2021-03-18 18:05:09 +01:00
Sébastien Lorber
3422f80a9a
chore: simplify CI setup ( #4447 )
...
* improve ci
* improve ci
* use actions/setup-node@v2 everywhere
* run pwd for test
* debug gh action
* debug glob CI issue?
* Separate v1/v2 tests due to shell conflict
* cleanup
* test v1 change
* circleci fix
* fix test docusaurus v1 paths
* Refactor CI script names and use paths to filter actions from running unnecessary
* fix lighthouse url
* v1 tests runInBand
* try to fix v1 tests race conditions
* change rootDir for v1 tests
* minor CI improvements
2021-03-18 17:40:28 +01:00
Alexey Pyltsyn
1135d19333
chore(v2): remove docs for alpha v70 ( #4457 )
2021-03-18 18:36:58 +03:00
Armano
03c3e0def1
chore(v2): update typescript-eslint to v4.18.0 ( #4452 )
2021-03-18 16:10:16 +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
John Reilly
f041a37622
docs(v2): add johnnyreilly blog to showcase ( #4446 )
2021-03-17 16:48:17 +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