Commit graph

1066 commits

Author SHA1 Message Date
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
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
0383dd1496
fix(v2): evaluate code in live editor on client only (#4318) 2021-03-04 17:52:53 +01:00
Sébastien Lorber
734eca98bf
docs(v2): update showcase instruction regarding tags + fix site tags (#4338) 2021-03-03 17:06:44 +01:00
David Barrat
6c73f51f94
docs(v2): add ocpeasy to users (#4331) 2021-03-03 16:45:59 +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
Yuri Sulyma
603c2021f7
docs(v2): Add RactivePlayer to showcase (#4307)
* Update users.js

Add ractive-player.org

* Add files via upload

add website screenshot
2021-03-01 19:31:48 +01:00
roydukkey
12afb9e1f5
docs(v2): Fix examples by importing React (#4297) 2021-02-27 00:14:15 +01:00
Lisa Chandra
a810c4aff1
docs(v2): move migrated sites from v1 to v2 showcase (#4296)
* docs: add migrated v1 sites to v2 showcase

* docs: add tags to showcase sites

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-02-26 17:15:38 +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
Saihajpreet Singh
cdcd0f05d4
docs(v2): Add shabados docs site to showcase page (#4294) 2021-02-25 11:28:29 +01:00
Ankur Kedia
ff85886e35
docs(v2): Added React Native ARIA to showcase (#4293)
* Added React Native ARIA to showcase

* Adding image for React Native ARIA
2021-02-24 19:52:29 +01:00
Alexey Pyltsyn
3cbfb4cc60
chore(v2): remove docs for alpha v69 (#4289) 2021-02-24 20:41:09 +03:00
wolf20482
c8743046d6
docs(v2): Add AttoBot website to showcase page (#4284)
* Update users.js

* Add files via upload

* Add files via upload

* Delete attobot.png

* Add files via upload

* Alphabetical order as required by a reviewer
2021-02-24 15:47:10 +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
Nikolay Samokhvalov
96e1b1e269
docs(v2): Add Postgres.ai to showcase (#4283)
* Add Postgres.ai to examples

* Add postgres-ai.png

* postgres-ai.png try2
2021-02-24 14:46:25 +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
BennoDev
babdd9520c
docs(v2): update agilets banner (#4266)
* Delete agilets.png

* added new agilets.png
2021-02-22 18:03:59 +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
Sam Sam
9c02bf7f80
docs(v2): Added kotest to showcase (#4262)
* Add files via upload

* Update users.js

* Update users.js

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-02-22 16:11:02 +01:00
Grégory Heitz
ffb9ad0356
docs(v2): Add docusaurus2-graphql-doc-generator to community resources (#4256) 2021-02-22 15:44:12 +01:00
Alexey Pyltsyn
67ff0a3c0c
chore(v2): remove docs for alpha v68 (#4253) 2021-02-19 20:45:20 +03:00
Matteo Manzinello
a9b459bdc2
docs(v2): Added mailgo to showcase (#4252)
* mailgo in users

* mailgo screenshot
2021-02-19 14:59:24 +01:00
Pablo Vidal
af2e3cbdb0
docs(v2): Add Axioms to showcase (#4251)
* Update users.js

Add awe framework site

* Add awe framework screenshot

* Update users.js

Fix comma

* Update users.js

Fix order
2021-02-19 12:17:10 +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
Tien Vo Xuan
5f91f414e0
docs(v2): Replace mbt-bundle by sicope-model (#4237) 2021-02-17 20:04:05 +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
4ccd9a3952
fix(v2): fix website versions page (#4234) 2021-02-17 15:31:28 +03:00
Sébastien Lorber
7c2b81f5b6
fix(v2): website editUrl should target upstream docs (#4233) 2021-02-17 13:02:11 +01:00
Yash Totale
cf080c72ba
docs(v2): fix npm/yarn command example for swizzling TypeScript theme components (#4230) 2021-02-17 12:28:36 +01:00
Sam Zhou
bb63e093f1
docs(v2): Fix link to slash introduction svg (#4229) 2021-02-17 12:06:58 +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
琚致远
32d8148fd3
docs(v2): added Apache APISIX (#4225)
* docs: added Apache APISIX

* Add files via upload

* Delete apache-apisix.png

* Add files via upload
2021-02-16 09:04:10 +01:00
Martin Adámek
f8044d7842
docs(v2): Add MikroORM site to showcase page (#4224)
* add MikroORM to users.js

* add MikroORM screenshot
2021-02-15 09:52:48 +01:00
Christian Bromann
11c24268a1
docs(v2): Add WebdriverIO docs page as showcase (#4220) 2021-02-12 17:19:12 +01:00
Alexey Pyltsyn
175d9c3c8e
feat(v2): support/use React v17 by default (#4218)
* chore(v2): allow React v17 as peer dependency

* minor React 17 changes

* Revert examples

* Possible fix

* Use @docusaurus/react-loadable fork

* add back react-loadable to please eslint/ts/linters, even if it's unused in practice

* missing dependency bump

* move enzyme dependencies to docusaurus v1

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-02-12 17:04:45 +01:00
Sébastien Lorber
1b3c9be530
chore(v2): setup for i18n staging deployment (#4214) 2021-02-11 12:31:50 +01:00
Alexey Pyltsyn
7f6c4be2f3
misc(v2): add requirements for sites being added to showcase (#4210)
* misc: add requirements for sites being added to showcase

* Update users.js

* Update website/src/data/users.js

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-02-10 16:11:44 +01:00
Nahiyan Kamal
bdb7b9bcf3
docs(v2): Added Console Table Printer documentation to showcase (#4207) 2021-02-10 16:09:55 +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
Mohd Shad Mirza
b0e38d57df
docs(v2): add Hashnode support site to showcase (#4171)
* Added Hashnode support site to showcase

* updated hashnode preview image

* Update users.js

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2021-02-08 15:51:05 +03:00
Sébastien Lorber
e3ae349889
docs(v2): localize 404 page with Netlify + docs (#4178) 2021-02-04 19:45:16 +01:00
Reece Dunham
6af8fbb0d2
docs(v2): Add docusaurus-plugin-remote-content to resources list (#4177)
Signed-off-by: Reece Dunham <me@rdil.rocks>
2021-02-04 18:59:21 +01:00
Bhargav Ponnapalli
f788ba49c5
docs(v2): Add react-hooks.org to showcase (#4172)
* Update users.js

* Put back comma

* Add rooks logo

* Delete Logo Rooks.png

* Add rooks.png logo

* Delete rooks.png

* Add new rooks.png image
2021-02-04 17:16:49 +01:00
Nahiyan Kamal
385d8b6315
docs(v2): typo fixing double colon (#4173) 2021-02-04 12:23:20 +01:00