Commit graph

582 commits

Author SHA1 Message Date
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
Alexey Pyltsyn
f31dcb6844
fix(v2): limit images height on showcase page (#3701) 2020-11-06 11:05:25 +01:00
Bartosz Kaszubowski
3ee700c6db
docs(v2): normalize showcase preview images height (#3696) 2020-11-05 19:45:25 +01:00
Bartosz Kaszubowski
8753fc74c3
docs(v2): add React Native website to the showcase (#3695) 2020-11-05 15:17:10 +01:00
Nico Domino
d9bfe84cd1
docs(v2): add NextAuth.js to showcase (#3645)
* Update users.js

* add: nextauthjs showcase image
2020-10-27 17:43:22 +03:00
Alexey Pyltsyn
bfefc46436
refactor(v2): various fixes (#3587)
* refactor(v2): various fixes

* Test
2020-10-16 10:54:23 +02:00
Fanny
4760e1225b
feat(v2): Extract npm2yarn plugin (#3469)
* chore(v2): add dependency

* test(v2): Add npm2yarn tests

* feat(v2): Move npm2yarn to a new remark plugin

* remark npm2yarn plugin => ready to release

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2020-10-15 19:30:12 +02:00
honlyHuang
d23940c9c3
docs(v2): add taro to users (#3589) 2020-10-15 12:58:08 +03:00
Bartosz Kaszubowski
b85e6e0205
feat(v2): allow to define custom CSS class for Tabs component (#3580)
* feat(v2): allow to define custom CSS class for Tabs component

* Update website/docs/markdown-features.mdx

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-10-14 11:34:44 +02:00
Alexey Pyltsyn
e5d9cdc871
refactor(v2): clarify versions page (#3577)
* refactor(v2): clarify versions page

* Make Netlify happy
2020-10-12 19:09:53 +02:00
Shubham Zanwar
6ad322e327
docs(v2): add vue-nodegui to users (#3574) 2020-10-12 11:53:52 +03:00
Abhishek Tiwari
9c961a6e74
docs(v2): Added Axioms to users (#3556)
* Added Axioms to users

Added Axioms to users

* Added Axioms to V2 Users list and reverted change on v1 User list

* Update website/src/data/users.js

* Update website/src/data/users.js

* Update users.js

* Update users.js

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-10-09 10:12:35 +02:00
Sébastien Lorber
a3ab9c116f
feat(v2): prevent using remote image urls in showcase (#3560)
* prevent using remote image urls in showcase

* remove old/duplicate user image self-hosted check

* fix unavailable str.startsWith

* fix external image check due to ideal-image plugin

* fix external image check due to ideal-image plugin
2020-10-08 18:40:41 +02:00
Sébastien Lorber
d444ab75ef
docs(v2): embedding real source code in MDX as a code block (#3558)
* Example of embedding real source code in MDX as a code block

* Example of embedding real source code in MDX as a code block
2020-10-08 18:39:50 +02:00
John Gracey
5d3765fa91
docs(v2): add "Wisdom" dev docs website to showcase. (#3555) 2020-10-08 13:59:59 +02:00
Alexey Pyltsyn
9134b1396b
docs: various fixes and improvements (#3546) 2020-10-07 12:39:47 +02:00
Bartosz Kaszubowski
f9944cb2fc
feat(v2): add optional custom wrapper class name for pages based on theme classic Layout (#3457)
* feat(v2): add optional custom wrapper class name for pages based on theme classic Layout

* feat(v2): add optional custom wrapper class name for markdown pages

* fix TS types
2020-09-23 15:38:17 +03:00
Joel Marcey
ca8f3811b5
misc: default Docusaurus Website UX (#3455) 2020-09-16 10:15:45 +08:00
Rutik Wankhade
3638b1651a
docs(v2): minor typo fix (#3423)
* docs: minor typo fix 

Markdown import example in website/src/pages/examples/markdownPageExample.md imports the wrong chapter.
See this comment f234c407f1 (r42067403)

### Have you read the [ Contributing Guidelines on pull requests](https://github.com/facebook/docusaurus/blob/master/CONTRIBUTING.md#pull-requests)?
(Yes)

* Update website/src/pages/examples/markdownPageExample.md

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-09-08 19:49:33 +02:00
Sébastien Lorber
ae877f2990
feat(v2): docs version configuration: lastVersion, version.{path,label} (#3357)
* add new docs versioning options

* Add some tests for new versioning options

* Add some docs for version configurations

* try to fix broken link detection after /docs/ root paths have been removed on deploy previews

* improve dev/deploypreview versioning configurations

* disable custom current version path, as it produces broken links

* readVersionDocs should not be order sensitive

* fix versions page according to versioning config

* fix versions page according to versioning config
2020-08-28 18:37:49 +02:00
Sébastien Lorber
c7fc781ce0
fix(v2): linking to asset or external html page -> don't use history.push() (#3347)
* Rework markdown links to asset require processing + add test page

* implement pathname:// protocol / escape hatch at the Link level

* linking to assets: fix tests + avoid creating an useless nested paragraph

* fix assets linking doc

* attempt to fix windows e2e test

* try to fix windows errors
2020-08-28 12:47:03 +02:00
Sam Zhou
bd9b6618c1
feat(v2): Provide typing to most of the theme-classic components (#3348)
* feat(v2): Provide typing to most of the theme-classic components

* Expose type to the end users and dogfood it in v2 website
2020-08-28 12:06:37 +02:00
Daniel Wilkowski
0f357606cd
docs(v2): add "T-Regx" website to showcase (#3310)
* Add "T-Regx" docusaurs website to showcase

* Update users.js

* Update users.js

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-08-20 14:49:32 +02:00
Jonas Dellinger
c97dd656a9
docs(v2): showcase SpotifyAPI-NET (#3307) 2020-08-19 16:01:46 +02:00
Vandré Leal
3ef965bae6
docs(v2): showcase Oxidizer (#3295) 2020-08-17 12:36:58 +02:00
Anshul Goyal
12e9ff6232
fix(v2): pass images in static dir to webpack-loader (#3283)
* pass static images to webpack-loader

* remove console.log

* fix windows path issue

* fix windows path issue

* add missing deps
2020-08-14 21:33:08 +02:00
Manuel Cepeda
e118fcd4e1
fix(v2): website feedback page hydration bug (#3269) 2020-08-12 11:43:52 +02:00
Arthur Flam
be210a1bc4
docs(v2): showcase user QA-Board (#3232)
* docs(v2): showcase user QA-Board

* Update users.js

* Update users.js

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-08-07 16:12:38 +08:00
Sébastien Lorber
0a33a52301
fix(v2): deprecate docs homePageId in favor of frontmatter "slug: /" (#3228)
* homePageId => deprecated

* docs prettier
2020-08-06 18:31:50 +02:00
Anshul Goyal
f234c407f1
feat(v2): add support to ignore files in pages plugin (#3196)
* add support to ignore pages

* fix import problem

* Update website/docs/guides/creating-pages.md

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>

* Revert "fix import problem"

This reverts commit 4457a2e938.

* revert

* fix slash

* forbid frontmatter

* fix formatting

* Update website/docs/guides/creating-pages.md

* Update website/src/pages/examples/_chapter1.md

* Update website/src/pages/examples/_chapter2.mdx

* Update website/src/pages/examples/markdownPageExample.md

* Update website/src/pages/examples/markdownPageExample.md

* Update website/src/pages/examples/markdownPageExample.md

* Update website/src/pages/examples/markdownPageExample.md

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-08-05 21:35:55 +02:00
Sébastien Lorber
7cceee7e38
feat(v2): markdown pages (#3158)
* markdown pages POC

* add remark admonition, mdx provider, yarn2npm...

* pluginContentPages md/mdx tests

* pluginContentPages md/mdx tests

* add relative file path test link to showcase link problem

* fix Markdown pages issues after merge

* fix broken links found in markdown pages

* fix tests

* factorize common validation in @docusaurus/utils-validation

* add some documentation

* add using plugins doc

* minor md pages fixes
2020-07-31 16:04:56 +02:00
Méril
962ec2c57c
docs(v2): showcase user questdb (#3163) 2020-07-30 19:10:56 +08:00
Sébastien Lorber
ee2d1b42f6
docs(v2): add myself to /team page + add TeamProfileCard component (#3145)
* add myself to /team page + add TeamProfileCard component

* apply col classes from parent to make TeamProfileCard more reusable
2020-07-28 20:18:15 +02:00
Daniel Hochman
08a726e154
docs(v2): add clutch to showcase (#3094) 2020-07-24 09:01:59 +08:00