Commit graph

4342 commits

Author SHA1 Message Date
Joshua Chen
bfd7fd9d8a
refactor: minor ESLint improvements (#5981)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-03 17:38:29 +01:00
Sébastien Lorber
cfae5d0933
feat(content-docs): sidebar category linking to document or auto-generated index page (#5830)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Armano <armano2@users.noreply.github.com>
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2021-12-03 14:44:59 +01:00
Sébastien Lorber
95f911efef
fix(v2): Browser storage (localStorage) is unreliable: api should fail-safe (#6040) 2021-12-02 19:33:03 +01:00
Joshua Chen
373eda272e
docs(deployment): add cost-benefit analysis with different options (#6026) 2021-12-02 18:29:13 +01:00
Joshua Chen
40e4ce0e68
chore: upgrade prettier; rename prettier scripts as format (#6010) 2021-12-01 12:33:22 +01:00
Joshua Chen
33de0cdf99
chore: upgrade netlify-cli (#6031) 2021-11-30 10:02:31 +08:00
Rohit Agrawal
3c54ed2807
docs: add Pearl UI website to showcase (#5955)
* chore: Add Pearl UI website to showcase

* Update users.tsx

* Update users.tsx

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-11-30 07:06:44 +08:00
Ludovico Fischer
5678911555
chore: update @svgr/webpack to version 6 (#5958)
* chore: update @svgr/webpack to version 6

* svgr changelog https://github.com/gregberge/svgr/releases
* SVGO 2 changelog https://github.com/svg/svgo/releases/tag/v2.0.0
* depend on maintained svgo version
* although svgr 6 is in alpha, it fixes a few issues
  with webpack 5 (1a8cc98)
  and React (3700aba)
* see also https://github.com/facebook/docusaurus/pull/5703

* Fix config

* fix e2e test

* Fix again

* Update to stable

Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-29 15:12:18 +08:00
Joshua Chen
0e6ec24aa3
misc: update CONTRIBUTING to reflect status quo (#5989)
* misc: update CONTRIBUTING to reflect status quo

* One more line

* Add links
2021-11-27 16:24:41 +08:00
William Poetra Yoga
30cf744544
docs(admin): update repo testing instructions to reflect v2 (#5845)
* docs: add some details (trivial)

* docs: add easier method (using yarn) to test local repo

* docs: add additional note

* Edits

* Update

Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-27 16:21:48 +08:00
Rey
78537aab2a
docs: update Netlify url config option in deployment instructions (#6019)
Netlify now provides `*.netlify.app` subdomains instead of `*.netlify.com` for project sites. Redirects still work, so the current config option isn't wrong but it's a good idea to keep the docs up to date.
2021-11-27 13:34:32 +08:00
Sharon Koech
43f13474bc
docs: add Tremor website to showcase page (#6015)
* Add Tremor Website to Docusaurus Showcase Page

Signed-off-by: Sharon Koech <sharonkoech5147@gmail.com>

* Update Source URL

Signed-off-by: Sharon Koech <sharonkoech5147@gmail.com>

* update preview image with entire homepage capture

Signed-off-by: Sharon Koech <sharonkoech5147@gmail.com>
2021-11-27 08:36:23 +08:00
Joshua Chen
3334bfb4fa
chore(website): enable strict compiler option (#6012) 2021-11-26 18:14:35 +08:00
Alexey Pyltsyn
d25bf24753
refactor(website): various fixes and improvements on Showcase page (#5997)
* refactor(website): add various fixes and improvements on Showcase page

* Maintain previous focused element (WIP)

* Fix SSR

* Fix again

* Final fix

Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-26 17:45:59 +08:00
Can Olcer
8359ff36cd
docs: improve algolia integration instructions (#6008)
* docs: improve algolia integration instructions

The current version makes it look like you need to install `@docusaurus/theme-search-algolia` on top the classic version to work, but it already works with the classic version. Adding `@docusaurus/theme-search-algolia` on top leads to errors.

* Still document installation

* Do not make separate paragraph

Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-25 20:03:32 +08:00
Martin Šošić
b1a4f3913d
docs: improve explanation for url config in GH Pages (#6006) 2021-11-25 16:50:34 +08:00
Hendrik Bulens
c916d8a49a
docs: add Dime.Scheduler SDK to showcase (#6001)
* Add Dime.Scheduler SDK to showcase page

* Add source URL to showcase

Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-24 18:42:36 +08:00
Joshua Chen
057e3f34da
chore(ci): add GitHub action for showcase testing (#6002) 2021-11-24 18:25:49 +08:00
Alexey Pyltsyn
b31044dc8a
chore: upgrade webpack-dev-server to v4.5.0 (#5998)
* chore: upgrade webpack-dev-server to v4.5.0

* Fixes after review

* remove type assertion

Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-24 17:41:34 +08:00
Jarar
48fff3e66c
fix: make hash link in heading not selectable (#6000) 2021-11-24 17:17:29 +08:00
Joshua Chen
36b2220f87
chore(plugin-pwa): change core-js version in package.json to v3 (#5995) 2021-11-23 20:20:27 +08:00
Armano
411b9aa977
chore: cleanup dependency declaration in package.json (#5985)
* deps: add/move dependencies and treat types as dev

* chore: fix merge conflict

* Update package.json

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-11-23 13:59:28 +08:00
Patitotective
713d14569e
docs: add PREFS website to showcase (#5984)
* Added PREFS website in showcase

* Added prefs.png preview image for PREFS website (showcase)

* Delete Screenshot 2021-11-21 at 15-40-04 Home PREFS.png

* Uploaded PREFS showcase image with wrong filename.

Changed PREFS showcase image file to `prefs.png`

* Delete prefs.png

* New taller showcase image
2021-11-23 07:06:38 +08:00
Sébastien Lorber
14a252ca54
docs(website): Add docsearch migration blog post (#5967)
Co-authored-by: Clément Vannicatte <20689156+shortcuts@users.noreply.github.com>
Co-authored-by: Joel Marcey <joelm@fb.com>
Co-authored-by: Samuel Bodin <samuel.bodin@algolia.com>
2021-11-21 16:25:35 +01:00
Don
cd96ce165c
refactor(website): shadow on showcase toggle (#5968)
* refactor: shadow on showcase toggle

* minor update

* faster transition

Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-21 11:21:03 +08:00
Alexey Pyltsyn
3551212d50
docs: update links to default translations dir (#5979) 2021-11-20 18:44:28 +01:00
Sébastien Lorber
668f3c2506
refactor(website): polish on Showcase page (#5969) 2021-11-20 18:31:20 +01:00
Alexey Pyltsyn
63bd6b9025
refactor: define own translations in other themes (#5849)
Co-authored-by: Armano <armano2@users.noreply.github.com>
2021-11-20 16:35:27 +01:00
Joshua Chen
87a486a02f
chore: generate dogfooding test for long pathname during CI (#5977)
* chore: generate dogfooding test for long pathname during CI

* Fix test

* Fix again
2021-11-20 14:18:50 +08:00
Paul Biggar
9a31c5358d
docs: add Darklang to showcase (#5966)
* Add darklang

* Update website/src/data/users.tsx

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-11-19 22:06:30 +08:00
Ronny Roeller
77c99a1d18
docs: Add Remirror to showcase (#5970)
* Add user remirror.io

* Add showcase image
2021-11-19 22:02:32 +08:00
Swapnil M Mane
fcbe2050e9
docs: add Webiny docs to showcase page (#5971) 2021-11-19 21:57:55 +08:00
Joshua Chen
623a5cc022
fix(core): apply staticDirectories to base webpack config (#5965) 2021-11-18 23:11:29 +08:00
Oliver Ullman
1366c31201
feat(core): allow sourcing from multiple static directories (#4095)
* [WIP] Implementaion of multiple directory static sourcing

* Move default to validation

* Update test

* Refactor

* Port to MDX loader

* Fix

* Move dogfooding assets

* Doc writeup

* Restore assets

* Support absolute paths

* Dogfood absolute path

* Fix

* More tests

* Fix snapshots

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-11-18 22:26:26 +08:00
chima ilo
3f18c928bb
feat(website): redesign of showcase page (#5742)
* feat: redesign of showcase page

* redesign of showcase card

* improved card design

* create Tooltip component, Svg component

* Add popper.js to dependency

* fixed netlify deploy issues

* fixed netlify deploy issues

* fixed netlify deploy issues

* Make things work

* Relock

* Refactor

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Fix linter errors

* Make animation shorter

* Refactors

* Do not make entire link clickable

* fixed linting and netlify deploy issues

* enhanced styles and fix deploy issues

* Polishing

* improved contrast for selected tags

* Refactors

* Make each component standalone

* Fix operator on first render

* Color coding!

* fix SSR

* More elegant impl

* Do not show source if there is not one

* Fix

* custom on-focus styling for focusable elements with default outlinline && highlight filter toggle on focus.

* fix lint issues

* restore highlight coloring

* Use state instead of ref

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Visual seperator

* Refactors

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Minor fix with dev server

* Paletter improvement

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-18 22:22:26 +08:00
Joshua Chen
0374426ce3
chore: upgrade TypeScript & other ESLint related deps (#5963)
* chore: upgrade ESLint related deps

* Upgrade TS

* Fix lock

* Bump Babel

* Update config
2021-11-18 21:15:37 +08:00
Armano
2f7d6fea1e
refactor(content-docs): move isCategoriesShorthand to utils (#5962) 2021-11-18 08:25:07 +08:00
Armano
ac1df888ae
refactor(plugin-ideal-image): migrate package to TS (#5940) 2021-11-17 14:10:23 +01:00
Armano
3bf59a65a9
refactor(types): correct HtmlTags types (#5959) 2021-11-17 07:10:44 +08:00
Armano
85fcd9eb0f
refactor(plugin-pwa): migrate package to TS (#5941) 2021-11-16 20:38:14 +01:00
Armano
425144afc7
refactor(theme-search-algolia): migrate package to TS (#5935) 2021-11-16 20:35:09 +01:00
Morooka Kotaro
284cdabb0a
docs: fix BrowserOnly return statement (#5953)
* docs: fix BrowserOnly return statement

* Update docusaurus-core.md

* Fix version docs

* prettier

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-11-15 21:27:45 +08:00
Joshua Chen
2f63d383e5
misc(codeowners): add @Josh-Cena to CODEOWNERS (#5950)
* misc(codeowners): add @Josh-Cena to CODEOWNERS

* Simplify
2021-11-15 14:24:13 +08:00
pal-sig
23a9c66859
docs: update Signoz showcase details (#5949)
* docs(v2) - Add Signoz site to showcase site

* Update users.tsx

* chore(sites): signoz showcase data is updated

* Update users.tsx

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-11-15 13:26:38 +08:00
FISH UP
7e955e2fa6
fix(module-type-aliases): add svg declaration (#5945)
* fix(module-type-aliases): add svg, scss, module.scss, module.sass

* fix(module-type-aliases): css should be declared after module.css

* fix(module-type-aliases): remove scss related declarations

* fix(module-type-aliases): correct svg declaration

Co-authored-by: FISH UP <MisterFISHUP@users.noreply.github.com>
2021-11-15 13:10:45 +08:00
Afshin Mehrabani
54d0755493
feat(create-docusaurus): allow using local folder as template (#3458)
* feat(docusaurus-init): search the local ./templates folder during doc init

* Add docs

Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-15 12:37:22 +08:00
Joshua Chen
11f9a54a32
fix(website): fix APITable anchor ID having extra hash (#5948) 2021-11-15 09:16:56 +08:00
Joshua Chen
1816f135f2
fix(website): fix APITable anchor link (#5947) 2021-11-14 23:15:55 +08:00
Joshua Chen
c5feac6ba2
refactor: move deps declarations into src (#5946) 2021-11-14 13:35:15 +08:00
Stan Kocken
81ab250326
fix: translate all remaining english sentence in French (#5944)
* Update fr.json
2021-11-14 09:04:56 +08:00