Commit graph

615 commits

Author SHA1 Message Date
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
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
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
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
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
BennoDev
babdd9520c
docs(v2): update agilets banner (#4266)
* Delete agilets.png

* added new agilets.png
2021-02-22 18:03:59 +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
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
Tien Vo Xuan
5f91f414e0
docs(v2): Replace mbt-bundle by sicope-model (#4237) 2021-02-17 20:04:05 +01:00
Sébastien Lorber
4ccd9a3952
fix(v2): fix website versions page (#4234) 2021-02-17 15:31:28 +03: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
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
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
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
Alexey Pyltsyn
dbfa256a7b
refactor(v2): minor styling improvements (#4167)
* refactor(v2): minor styling improvements

* Fixes
2021-02-04 11:53:20 +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
Sergio Moreno
98910656c4
docs(v2): Add Rematch site to showcase page (#4139) 2021-02-01 10:56:36 +01:00
Sébastien Lorber
beddecb27b
feat(v2): default canonical urls (#4109) 2021-01-28 10:16:42 +01:00
sammychinedu2ky
b93d95b9e0
docs(v2): Add codesandbox integration (#4062) 2021-01-19 16:00:07 +01:00
Ivan Ružević
bb925a6fc8
docs(v2): Add Eightshift Docs site to showcase page (#4053) 2021-01-16 12:51:41 +08:00
Eduardo Lázaro
c94b44559c
docs(v2): add sciwp to showcase (#4046) 2021-01-14 16:54:50 +01:00
Miroiu Emanuel
240233629a
docs(v2): Add Nodify to showcase (#4036)
* Add Nodify to showcase

* Add Nodify to showcase

* Update users.js

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2021-01-14 10:03:45 +01:00
Andrew Taft
e6a00d4869
docs(v2): Add FlexIt to showcase (#4026)
* Add FlexIt Analytics

Add FlexIt Analytics to showcase

* Add flexit.png
2021-01-12 16:46:20 +01:00
Massoud Maboudi
89a2ba7732
docs(v2): Add Datagit site to showcase page (#3997)
- add datagit.png to showcase
2021-01-05 16:40:02 +01:00
Power Lin
7c597bb4e7
docs(v2): Add wiki-powerto site showcase (#3990)
* Add files via upload

* Update users.js

* Update users.js
2021-01-05 15:07:31 +01:00
BennoDev
6e9ed1cb1a
docs(v2): Add AgileTs site to showcase page (#3987)
* Added AgileTs to users

* Added agilets banner image

* fix img case-sensitive issue

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-01-04 16:48:39 +01:00
Sébastien Lorber
cf086abe20
docs(v2): nudge users to add site to showcase (#3977)
- Add a "Add your site!" button
- Add instructions to add a Docusaurus site to showcase
- ignore prettier formatting errors (as edits are often done through Github interface)
2020-12-30 17:10:54 +01:00
Jola
a0c5177182
docs(v2): Add AI-Speaker site to showcase page (#3976)
* add AI-Speaker to users.js

* add aispeaker.png to showcase

* Update users.js

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-12-30 16:39:42 +01:00
Alexey Pyltsyn
863a4d85d3
fix(v2): remove duplicate section on Versions page (#3960) 2020-12-28 17:23:24 +01:00
Loïc Poullain
57c336c148
docs(v2): add FoalTS to showcase page (#3928) 2020-12-16 16:23:27 +01:00
Matija Sosic
139b668737
docs(v2): Add wasp to showcase (#3832)
* Update users.js

* Added Wasp showcase image.

* fix wasp showcase

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2020-11-30 16:11:30 +01:00
Sébastien Lorber
8f47babb46
docs(v2): Docs refactoring and reorganization (#3831)
* stable refactor of plugins api documentation

* plugins sidebar not collapsed by default as small?

* theme docs reorg

* Refactor migration guide doc

* fix broken link
2020-11-30 14:07:08 +01:00
Sébastien Lorber
3166fab307
feat(v2): core v2 i18n support + Docusaurus site Crowdin integration (#3325)
* docs i18n initial poc

* docs i18n initial poc

* docs i18n initial poc

* docs i18n initial poc

* crowdin-v2 attempt

* fix source

* use crowdin env variable

* try to install crowdin on netlify

* try to install crowdin on netlify

* try to use crowdin jar directly

* try to curl the crowdin jar

* add java version cmd

* try to run crowdin jar in netlify

* fix translatedDocsDirPath

* fix loadContext issue due to site baseUrl not being modified in generted config file

* real validateLocalesFile

* add locale option to deploy command

* better LocalizationFile type

* create util getPluginI18nPath

* better core localization context loading code

* More explicit VersionMetadata type for localized docs folders

* Ability to translate blog posts with Crowdin!

* blog: refactor markdown loader + report broken links + try to get linkify working better

* upgrade crowdin config to upload all docs folder files except source code related files

* try to support translated pages

* make markdown pages translation work

* add write-translations cli command template

* fix site not  reloaded with correct options

* refactor a bit the read/write of @generated/i18n.json file

* Add <Translate> + translate() API + use it on the docusaurus homepage

* watch locale translation dir

* early POC of adding babel parsing for translation extraction

* fs.stat => pathExists

* add install:fast script

* TSC: noUnusedLocals false as it's already checked  by eslint

* POC of extracting translations from source code

* minor typo

* fix extracted key to code

* initial docs extracted translations

* stable plugin translations POC

* add crowdin commands

* quickfix for i18n deployment

* POC  of themeConfig translation

* add ability to have localized site without path prefix

* sidebar typo

* refactor translation system to output multiple translation files

* translate properly  the docs plugin

* improve theme classic translation

* rework translation extractor to handle new Chrome I18n JSON format (include id/description)

* writeTranslations: allow to pass locales cli arg

* fix ThemeConfig TS issues

* fix localizePath errors

* temporary add write-translations to netlify deploy preview

* complete example of french translated folder

* update fr folder

* remove all translations from repo

* minor translation  refactors

* fix all docs-related tests

* fix blog feed tests

* fix last blog tests

* refactor i18n context a bit, extract codeTranslations in an extra generated file

* improve @generated/i18n type

* fix some i18n todos

* minor refactor

* fix logo typing issue after merge

* move i18n.json to siteConfig instead

* try to fix windows CI build

* fix config test

* attempt to fix windows non-posix path

* increase v1 minify css jest timeout due to flaky test

* proper support for localizePath on windows

* remove non-functional install:fast

* docs, fix docsDirPathLocalized

* fix Docs i18n / md linkify issues

* ensure theme-classic swizzling will use "nextjs" sources (transpiled less aggressively, to make them human readable)

* fix some snapshots

* improve themeConfig translation code

* refactor a bit getPluginI18nPath

* readTranslationFileContent => ensure files are valid, fail fast

* fix versions tests

* add extractSourceCodeAstTranslations comments/resource links

* ignore eslint: packages/docusaurus-theme-classic/lib-next/

* fix windows CI with cross-env

* crowdin ignore .DS_Store

* improve writeTranslations + add exhaustive tests for translations.ts

* remove typo

* Wire currentLocale to algolia search

* improve i18n locale error

* Add tests for translationsExtractor.ts

* better code translation extraction regarding statically evaluable code

* fix typo

* fix typo

* improve theme-classic transpilation

* refactor  +  add i18n tests

* typo

* test new utils

* add missing snapshots

* fix snapshot

* blog onBrokenMarkdownLink

* add sidebars tests

* theme-classic index should now use ES modules

* tests for theme-classic translations

* useless comment

* add more translation tests

* simplify/cleanup writeTranslations

* try to fix Netlify fr deployment

* blog: test translated md is used during feed generation

* blog: better i18n tests regarding editUrl + md translation application

* more i18n tests for docs plugin

* more i18n tests for docs plugin

* Add tests for pages i18n

* polish docusaurus build i18n logs
2020-11-26 12:16:46 +01:00
Bartosz Kaszubowski
5872bbc735
chore(v2): fixes website styles (#3769) 2020-11-18 01:20:54 +03:00
Alexey Pyltsyn
30d7408815
refactor(v2): various markup improvements (#3763) 2020-11-17 02:15:22 +03:00
Gergely Sinka
c69ea51592
docs(v2): add ConfigCat to showcase (#3762)
* adding configcat to showcase

* Change URL to docs

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-11-17 01:42:28 +03:00
Bartosz Kaszubowski
74ee8f6150
docs(v2): add Inline SVG color override example (#3737) 2020-11-13 14:17:22 +01:00
Alexey Pyltsyn
487a9f98e4
feat(v2): introduce new minification of CSS bundle (#3716)
* feat(v2): optimize CSS bundle

* Move to separate preset

* Move custom scrollbar styles to separate class

* Cleanup styles

* Remove unactual styles

* Various CSS optimizations, cleanup styles for NProgress

* Add ability to back to old way of minifying CSS

* chore(v2): downgrade babel-plugin-dynamic-import-node to 2.3.0

* Use env var for back to simple CSS minifier

* remove unnecessary typing [skip-ci]

* Remove missing dep

* Update website/docs/cli.md

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-11-13 14:06:24 +01:00
Marc Rabat Pla
14a65907bd
docs(v2): add Botonic to showcase (#3718) 2020-11-10 19:09:18 +03:00
Alexey Pyltsyn
86be6cec1e
chore(v2): upgrade Infima to v0.2.0-alpha.14 (#3707) 2020-11-06 17:32:33 +01:00