Tales Porto
e99bb43823
feat(v2): docusaurus deploy: ability to configure port in git url ( #4545 )
...
* Creating a way to configure the port used on the guthub deploy.
* Fixing some mistakes
Documenting
Adding githubPort documentation on docusaurus.config.js.
Addind SSH protocol prefix. ssh://
Using the default protocol port instead of define it on the code.
Prettify.
* Fixing some mistakes
Documenting
Adding githubPort documentation on docusaurus.config.js.
Addind SSH protocol prefix. ssh://
Using the default protocol port instead of define it on the code.
Prettify.
* Isolating the logic to generate the url and testing it.
* Changing all the names used on tests to something more unserstandable.
* Prettify
Co-authored-by: Tales Porto <t.andrade-porto@klarna.com>
2021-04-09 18:05:16 +02:00
Sébastien Lorber
4efe6824b3
feat(v2): various markdown string parsing improvements/fixes ( #4590 )
...
* extract createExcerpt code in separate file + add bad test
* almost working markdown parsing refactor
* complete parseMarkdownString refactor
* fix tests
* fix blog test issue
* fix docusaurus utils imports
2021-04-09 17:09:33 +02:00
Sébastien Lorber
b743edf5fb
feat(v2): default theme translations: locale "pt" should load "pt-BR" translations ( #4581 )
...
* code translation utils => locale "pt" should attempt to load "pt-BR" (not "pt-PT")
* useless async test
2021-04-07 18:28:48 +02:00
Sébastien Lorber
3bcd0a6ab1
fix(v2): examples should use Node 14 by default on CodeSandbox + regen with alpha72 ( #4574 )
...
* codesandbox: use node 14 by default
* Regenerate examples
* Add example json files to prettierrignore
2021-04-07 18:28:06 +02:00
besemuna
44029128fa
fix(v2) : use safe/unsafe wording to denote swizzle safety ( #4547 )
...
* fix : make swizzle items more accessible
* feat : use safe/unsafe wording
Co-authored-by: Lisa Chandra <52909743+lisa761@users.noreply.github.com>
Co-authored-by: Javid <singularity.javid@gmail.com>
2021-04-06 15:02:07 +02:00
Sébastien Lorber
b6fbca70b8
fix(v2): fix i18n isLastLocale bug preventing docusaurus from building some locales ( #4575 )
...
* fix i18n isLastLocale bug
* fix i18n isLastLocale bug
2021-04-05 19:56:28 +02:00
Arijit Kundu
4a219f1983
docs(v2); fixed broken link i18n-tutorial.md ( #4558 )
2021-04-05 19:00:54 +02:00
Sébastien Lorber
0ae001bcf4
docs: Update README badges ( #4573 )
2021-04-05 18:58:28 +02:00
Arijit Kundu
d324dc3869
docs(v2): fixed the directory of index.js ( #4559 )
2021-04-05 18:56:14 +02:00
Foxeye-Rinx
ddcdb1cc2d
docs(v2): add a missing slug from the initial template ( #4561 )
2021-04-05 18:53:49 +02:00
Arijit Kundu
ecc3444865
docs(v2): fixed typos ( #4560 )
...
* docs(v2): fixed typos
* docs(v2): fixed typos
2021-04-05 18:42:41 +02:00
Tony Narlock
a627a264fb
docs(v2): add social-embed to showcase ( #4568 )
2021-04-05 18:35:04 +02:00
Ajeet Singh Raina, Docker Captain, RedisLabs
d9067748fd
docs(v2): Add Redis Labs Developer Site to docusaurus showcase page ( #4570 )
...
* Add files via upload
* Update users.js
2021-04-05 18:33:21 +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
Foxeye-Rinx
9fceeb9ec5
docs(v2): add a missing "export" from the initial template ( #4546 )
...
* docs(v2): add a missing "export" from the initial template
* Update create-a-page.md
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-04-02 12:43:36 +02:00
Lucas Alves
5357fcefee
docs(v2): Updates showcase: Channel.js renamed to Repeater.js ( #4551 )
...
* fix: Updates Channel.js to Repeater.js
* fix: Includes Repeater.js in alphabetical order
2021-04-02 12:21:17 +02:00
duanwilliam
51031c1afd
docs(v2): fix run-on sentence ( #4543 )
...
* docs: fix run-on sentence
* Update cli.md
* Update cli.md
* Update cli.md
* Update cli.md
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-04-01 19:59:39 +02:00
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