Forresst
51a7988923
docs(v2): fix typo deployment.mdx ( #4539 )
2021-03-31 15:51:13 +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
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
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
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
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
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
Alexey Pyltsyn
291a72fbae
docs(v2): use explicit heading IDs ( #4460 )
2021-03-19 11:00:41 +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
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
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
Steve
66e621dca9
docs(v2): add Deploy with QuandCDN ( #4430 )
...
* Update deployment.mdx
- Adds QuantCDN deployment target.
* Update deployment.mdx
* Update website/docs/deployment.mdx
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
* Add QuantCDN docs to showcase.
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-03-16 19:25:12 +01:00
Sébastien Lorber
02cd5d343b
fix(v2): PWA issues + improve docs ( #4377 )
...
* debug pwa
* more debugging logs + attempt to upgrade workbox
* fix PWA ?
* fix PWA ?
* enable pwa debugging for deploy previews
* try to fix the app installed issue?
* try to fix appinstalled not firing
* try to add related applications to the PWA manifest
* attempt to fix related_applications
* attempt to fix related_applications
* attempt to fix related_applications
* improve PWA strategies
* improve PWA doc
* refactor/cleanup registerSw
* cleanup
2021-03-10 20:00:42 +01:00
Sébastien Lorber
b7a6665d31
docs(v2): releasing i18n blog post ( #4367 )
...
* add social card
* Complete the i18n blog post
* update blog post
* add missing v1 images
* improve the blog post
* update blog post
* update blog post
* fix bad file-system wording
* add mention of dogfooding
* translate the blog post into french + mention it!
2021-03-09 19:44:36 +01:00
Alexey Pyltsyn
1c7d423e0c
docs(v2): various improvements ( #4369 )
...
* docs(v2): various improvements
* Update blog.md
2021-03-09 14:59:32 +01:00
Alexey Pyltsyn
96e7fcef25
feat(v2): add ability to set custom heading id ( #4222 )
...
* feat(v2): add ability to set custom heading id
* Add cli command
* Fix slugger
* write-heading-ids doc + add in commands/templates
* refactor + add tests for writeHeadingIds
* polish writeHeadingIds
* polish writeHeadingIds
* remove i18n goals todo section as the remaining items are quite abstract/useless
* fix edge case with 2 md links in heading
* extract parseMarkdownHeadingId helper function
* refactor using the shared parseMarkdownHeadingId utility fn
* change logic of edge case
* Handle edge case
* Document explicit ids feature
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-03-05 19:36:14 +01:00
tokarchyn
98a4b3a65c
feat(v2): Add playgroundPosition config for live codeblock ( #4328 )
...
* docs(v2): Add configuration parameter to allow putting Result before Editor in @docusaurus/theme-live-codeblock
* update doc
* refactor as playgroundPosition
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-03-05 14:49:17 +01:00
Long Ho
f46adffa17
feat(v2): add --config option to CLI ( #4308 )
...
* feat: add --config & --generated-files-dir option to CLI
* revert --generated-files-dir option + some refactors
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-03-02 17:34:23 +01:00
roydukkey
12afb9e1f5
docs(v2): Fix examples by importing React ( #4297 )
2021-02-27 00:14:15 +01:00
Sébastien Lorber
1734975f2f
feat(v2): Add Interpolate / interpolate APIs + complete theme translations ( #4295 )
...
* WIP: refactor team profile cards
* Add Interpolate / interpolate APIs
* Add interpolate snapshot test
* comments
* fix Interpolate TS types
* Interpolate should handle numbers and other JS types
* translate BlogPostItem
* interpolate translate() fn + add translations for blog post tag header
* localize the LastUpdated component
* translate DocVersionSuggestions
* fix test
* add some new translations
* Add node script to easily update the theme default translations
* fix translation extractor bug due to translate() dynamic values
* use ICU placeholder syntax
* refactor month key
* order
* team page translation improvements
* Add interpolation doc + improve i18n doc
2021-02-26 13:19:51 +01:00
Sébastien Lorber
cc42cf5af7
docs(v2): escape more jsx in mdx files for Crowdin ( #4285 )
2021-02-24 15:46:00 +01:00
Sébastien Lorber
6811a72e72
feat(v2): ability to "escape" JSX in MDX files as code blocks ( #4278 )
...
* Fix MDX Crowdin issues by wrapping complex JSX in code blocks
* Add a remark plugin to unwrap MDX code blocks
* Update MDX Crowdin doc
2021-02-24 12:34:03 +01:00
Massoud Maboudi
704df6864e
docs(v2): improve cli docs ( #4259 )
...
* added more details about --danger flag for swizzle
* added referencing to blog posts
* improved the docs for swizzling.
* added new Farsi/Persian translation
* Update website/docs/cli.md
* Update website/docs/cli.md
* Update website/docs/using-themes.md
* PR cleanup
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-02-22 20:38:05 +01:00
Matan Borenkraout
967386f4e1
docs(v2): remove npx and use github action to configure ssh key ( #4263 )
...
* docs(deployment): remove npx and fix github email
* refactor: use ssh configure action instead of own implementation
2021-02-22 16:21:18 +01:00
Alexey Pyltsyn
f13448d5e1
chore(v2): upgrade dependencies + require Node 12 ( #4223 )
...
* chore(v2): upgrade dependencies
* Set minimum Node.js version to 12.13
* Fix test
* Upgrade copy-text-to-clipboard
* Bump Node versions
* Update .nvmrc
* mark cacheTime as forbidded field
* Downgrade jest to v25.2.7
* Increase Node version for Windows CI
* Test fix
* Attempt to fix Windows CI
* Downgrade execa
* fix async test errors
* Upgrade execa
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-02-18 15:12:42 +01:00
Sébastien Lorber
b533847df8
docs(v2): v2 migration should mention RSS feed url change ( #4236 )
2021-02-17 14:35:29 +01:00
Sébastien Lorber
ae988d0eb9
feat(v2): editUrl functions should receive md doc permalink ( #4232 )
2021-02-17 11:48:33 +01:00
Juan Carlos Blanco Delgado
2ff5d347ba
docs(v2): Removing wrong parenthesis on image variable ( #4226 )
...
* Removing wrong parenthesis on image variable
* Updating markdown feature documenation
2021-02-16 09:28:54 +01:00
Alexey Pyltsyn
0ac34b75c5
feat(v2): add support for RTL direction ( #4140 )
...
* feat(v2): add support for RTL
* Move to i18n config
* Move direction to localeConfigs
* Create RTL styles for Docusaurus styles (via new hook)
* update infima to alpha 19
* fix minor type error
* Fix build
* Cleanup
* polish RTL support
* polish RTL support
* revert english rtl dir
* minor RTL fix
* minor doc updates
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-02-10 10:52:26 +01:00
Alexey Pyltsyn
2fb642d9ee
feat(v2): allow extend PostCSS config ( #4185 )
...
* feat(v2): allow extend PostCSS config
* polish the configurePostCss system
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-02-09 20:02:54 +01:00
Alexey Pyltsyn
b3b658f687
feat(v2): allow to change location of search bar ( #4199 )
...
* feat(v2): allow to change location of search bar
* add SearchBar swizzle comment
* quickfix for NavbarItem theme config
* typing quickfix
* doc typo
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-02-09 16:31:52 +01:00
Sébastien Lorber
e3ae349889
docs(v2): localize 404 page with Netlify + docs ( #4178 )
2021-02-04 19:45:16 +01:00
Nahiyan Kamal
385d8b6315
docs(v2): typo fixing double colon ( #4173 )
2021-02-04 12:23:20 +01:00
Jessica Lin
4d3573dfcb
docs(v2): update check yarn installation command ( #4170 )
...
As listed `yarn version` doesn't work. According to [Yarn docs](https://classic.yarnpkg.com/en/docs/install#mac-stable ), the command to check install should be `yarn --version`.
2021-02-04 01:15:52 +03:00
Alexey Pyltsyn
d25e0f4d0f
fix(v2): fix warning and improve styling inline TOC ( #4163 )
2021-02-03 12:11:42 +01:00
Sébastien Lorber
e807bff666
docs(v2): improve bad static assets doc + remove some useless useBaseUrl usage ( #4158 )
2021-02-02 18:26:51 +01:00
Nahiyan Kamal
f0f3de8008
docs(v2): guide docs typo fix ( #4143 )
2021-02-01 12:02:59 +01:00
Nahiyan Kamal
219a4b7b8c
docs(v2): plugins docs typo fix ( #4141 )
2021-02-01 12:01:56 +01:00
Nahiyan Kamal
aed23e2db5
docs(v2): remove unnecessary link from docs that looks like a duplicate ( #4128 )
2021-02-01 10:53:55 +01:00
TaeSeong Park
e53d63b769
docs(v2): Fix file path in "Wrapper your site with <Root>
" (website/docs/using-themes.md)
2021-02-01 10:52:22 +01:00
Nahiyan Kamal
30c8e26a31
docs(v2): typo of Word Process ( #4129 )
2021-01-31 22:40:45 +03:00
Nahiyan Kamal
0c80fa824c
fix(v2): remove unnecessary brace from installation doc ( #4127 )
2021-01-31 22:39:55 +03:00
Nahiyan Kamal
6b194c6149
docs(v2): typo in i18n docs ( #4130 )
2021-01-31 22:38:44 +03:00