Commit graph

4224 commits

Author SHA1 Message Date
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
Joshua Chen
d1308a8736
refactor: improve setup of type declaration files (#5914) 2021-11-12 17:47:27 +01:00
Joshua Chen
334470b5d4
refactor(theme-classic): move some logic of CodeBlock to theme-common (#5922) 2021-11-12 16:43:40 +01:00
Christophe Chaudier
7281844179
docs: add Froggit site to showcase page (#5925) 2021-11-12 16:01:18 +01:00
Jeff Shillitto
4ab9567192
docs: Add Shotstack showcase user (#5928)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-11-12 15:30:49 +01:00
duanwilliam
1e725a158e
refactor(remark-plugin-npm2yarn): migrate package to TS (#5931)
* refactor(remark-plugin-npm2yarn): migrate package to TS

* fix(remark-plugin-npm2yarn): type as unified Plugin

* refactor(remark-plugin-npm2yarn): standardize code style with remark plugins in mdx-loader

* Use unist-util-visit

* Use export =

* Remove unneeded includes option

* Fix tests

* Migrate test to TS

* Make output look better

Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-12 21:21:16 +08:00
Konstantin Popov
c914da3a0c
docs: fix a typo in CHANGELOG (#5934) 2021-11-12 21:17:59 +08:00
pal-sig
51fbcb261a
docs: add Signoz site to showcase site (#5921)
* docs(v2) - Add Signoz site to showcase site

* Update users.tsx

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-11-11 10:30:30 +08:00
Varun Sivapalan
6c0a193fc8
refactor: optimize clone and checkout in deploy command (#5829)
* refactor: optimize clone and checkout in deploy command

* refactor: remove obsolete check for default branch and simplify flow

* refactor: skip cloning repository if deployment branch doesn't exist

* Refactors

* More tip about failure

Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-11 09:33:38 +08:00
Joshua Chen
ac88d979f1
refactor(ganalytics, gtag): move options out of themeConfig (#5832)
* refactor(ganalytics, gtag): move options out of themeConfig

* Forbid themeConfig options

* Add PR link

* Add key names to error message

* Fix?

* Doc updates

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-11-10 19:04:43 +08:00
William Poetra Yoga
f5732e7589
feat: allow GIT_USER env var to be unset if SSH is used (#5840)
* feat: allow GIT_USER env var to be unset if SSH is used

* fix: packages/docusaurus/src/commands/deploy.ts

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>

* feat: allow user to specify deploymentBranch property in docusaurus.config.js (#5841)

* feat: allow user to specify deploymentBranch property in docusaurus.config.js

* docs: remove extra backtick

* docs: fix broken code block

* docs: fix i18n routes to feature requests (#5843)

* docs: fix i18n routes to feature requests

* Add redirect rules

* feat: allow GIT_USER env var to be unset if SSH is used

* fix: packages/docusaurus/src/commands/deploy.ts

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>

* fix: avoid escaping hyphen in regex

* Refactor

* Update deployment.mdx

* Make SSH higher priority

* Only infer but not override

* Add tests

* Fix tests

* Fix

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-11-10 18:51:12 +08:00
Joshua Chen
ecce576bbc
docs: new APITable comp to render large tables (#5891) 2021-11-10 11:38:23 +01:00
Joshua Chen
7a07963c42
misc(workflow): E2E tests should not be run with website changes (#5919) 2021-11-10 17:36:39 +08:00
Joshua Chen
4478dd9659
docs: make API sidebar partially autogenerated (#5917)
* docs: make API sidebar autogenerated

* fix paths
2021-11-10 14:08:50 +08:00
Swalah Amani
c541e2d83c
misc: replace all "Metadatas" with "Metadata" (#5871)
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-09 19:46:10 +01:00
Joshua Chen
eab8c7c010
feat(core): give more hints when plugins have duplicate IDs (#5899) 2021-11-09 19:32:55 +01:00
Devtato
1c024470e0
feat(content-blog): allow sorting posts in ascending order (#5787) 2021-11-09 18:25:43 +01:00
Joshua Chen
8fba542d26
chore(workflow): merge jobs into one workflow & give each job a name (#5907) 2021-11-08 22:04:39 +08:00
Joshua Chen
f12c390a17
fix(content-docs): do not echo git history to console (#5906) 2021-11-08 21:03:21 +08:00