Skip to content

feat: add email confirmation error redirection #2364

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 166 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
166 commits
Select commit Hold shift + click to select a range
3f49973
Fix align of Ask AI button
pwizla Oct 28, 2024
f9f9143
Fix color of icon in Ask AI button
pwizla Oct 28, 2024
8124b27
Fix API category sidebar icon
pwizla Oct 28, 2024
b4f0484
Fix Upgrades category icon
pwizla Oct 28, 2024
6c69069
Hide new/updated badges in gutter on narrower viewports
pwizla Oct 28, 2024
96deccf
Remove gap between gradient and top of page on homepage
pwizla Oct 28, 2024
f8ed2a5
Restore devDocsSidebar in YAML
pwizla Oct 28, 2024
d14d8c7
Remove test badges on QSG
pwizla Oct 28, 2024
75fb45d
Remove custom style on QSG details blocks
pwizla Oct 28, 2024
11a775f
Restore devDocsSidebar in YAML for more files
pwizla Oct 28, 2024
3028a45
Restore devDocsSidebar in sidebars.js
pwizla Oct 28, 2024
194f55c
Add sidebar icons for dev docs categories
pwizla Oct 28, 2024
25f6a71
Replace emojis by icons on what's new page
pwizla Oct 28, 2024
ec0f318
Replace more icons on What's New page (search/AI)
pwizla Oct 28, 2024
780127b
Restore proper new/updated badges in sidebar
pwizla Oct 28, 2024
d6739b2
Remove all test badges from Controllers page
pwizla Oct 28, 2024
4000e6e
Restore Dev Docs in top nav bar
pwizla Oct 28, 2024
208aba5
Remove all test badges in CM intro.
pwizla Oct 29, 2024
a03c3ff
Move icons in text 2 px down
pwizla Oct 29, 2024
3d49b12
Adapt custom mobile navbar to 3 items
pwizla Oct 29, 2024
a4b055f
Remove yarn.lock
pwizla Oct 29, 2024
c022750
Fix caret position in sidebar
pwizla Oct 29, 2024
f2aea42
Commit new yarn.lock
pwizla Oct 29, 2024
b3cb69d
Make 1st-level categories not collapsible
pwizla Oct 29, 2024
3a7ea7d
Fix Dev Docs 1st-level categories icons position
pwizla Oct 29, 2024
a82b122
Fix "publication state" → "status" in REST API
pwizla Oct 29, 2024
9867cbc
Remove badges in Dev Docs
pwizla Oct 29, 2024
79b8e41
Add icons to cards on Dev Docs intro
pwizla Oct 29, 2024
996c14c
Fix custom search bar position
pwizla Oct 29, 2024
7ef8445
Adjust top banner content
pwizla Oct 29, 2024
d15ec20
Replace emojis by icons, part. 1
pwizla Oct 29, 2024
a439dda
Fix generic admonition title style in dark mode
pwizla Oct 29, 2024
5f4779e
Replace emojis by icons, part. 2
pwizla Oct 29, 2024
cdfadc7
Fix custom card description color in dark mode
pwizla Oct 29, 2024
ca7d343
Replace callout icon in snippet for User Guide intro.
pwizla Oct 29, 2024
e463aa7
Replace SVG icons by Phosphor icons
pwizla Oct 29, 2024
1fe5354
Remove unwanted snippet import
pwizla Oct 29, 2024
286162b
Remove i18n "plugin"
pwizla Oct 29, 2024
b6f6506
Fix inline icons position
pwizla Oct 29, 2024
5792646
Fix inline images position
pwizla Oct 29, 2024
2ff4155
Fix background color workaround for SVG icons
pwizla Oct 29, 2024
606ae9f
Update GitHub edit link
pwizla Oct 30, 2024
a7cfdef
Update badges on Content History page
pwizla Oct 30, 2024
5815904
Fix badges position in headings
pwizla Oct 30, 2024
0a283f8
Merge branch 'next' of github.com:strapi/documentation into next
pwizla Oct 30, 2024
9b8b835
Fix broken anchor
pwizla Oct 30, 2024
fb45b12
Include feedback form link in banner
pwizla Nov 18, 2024
2b76c8d
Update CONTRIBUTING.md
pwizla Nov 20, 2024
4eb3473
Made a part of the styling of the Kapa.ai modal
lucasboilly Dec 6, 2024
186a47c
Fix navbar icon aligment with text
pwizla Dec 10, 2024
a54a29c
Update title & remove description on homepage
pwizla Dec 10, 2024
d92014f
Reduce bottom padding in footer
pwizla Dec 10, 2024
3da0c36
Fix custom search bar
pwizla Dec 10, 2024
cabcd0e
Fix custom search bar (& AI) height
pwizla Dec 10, 2024
ebcab43
Fix secondary nav border being longer than actual content items
pwizla Dec 10, 2024
1f8304b
Fixed font-weight of secondary navbar
pwizla Dec 10, 2024
3cb455a
Replace collapse/expand sidebar button with a Phosphor icon
pwizla Dec 10, 2024
092c63d
Update with recent content
pwizla Dec 10, 2024
7c6e56c
Fix some broken anchors
pwizla Dec 10, 2024
348816c
Remove all remaining "not v5" snippets
pwizla Dec 10, 2024
5c19011
Fix more broken anchors
pwizla Dec 10, 2024
1c5dcd3
Fix the latest remaining broken anchor
pwizla Dec 10, 2024
feef56a
Add Growth badges and adjust wordings
pwizla Dec 10, 2024
9a4427b
Fix a regression broken link
pwizla Dec 10, 2024
4e47460
Fix one more broken anchor 😅
pwizla Dec 10, 2024
cfc11fa
Update new design branch with all recent content (#2315)
pwizla Dec 10, 2024
9c1737f
Update LICENSE
pwizla Dec 10, 2024
d765a8c
Report more changes from main
pwizla Dec 10, 2024
670d554
Push all remaining recent updates, incl. release notes script
pwizla Dec 11, 2024
592076a
Make release notes script executable
pwizla Dec 11, 2024
4c25916
Merge branch 'repo/new-design-with-all-recent-content' into next
pwizla Dec 11, 2024
2ec654e
Fix wrong badge spelling
pwizla Dec 11, 2024
0b4e941
Update banner
pwizla Dec 11, 2024
7cf741a
Fix Growth plan badge and adjust Enterprise plan too
pwizla Dec 11, 2024
bb1f41f
Fix click-through bug in TOC
pwizla Dec 11, 2024
ae37911
Replace Mermaid diagrams with screenshots of said diagrams
pwizla Dec 11, 2024
789767d
Fix broken anchor due to updated title in backend customization
pwizla Dec 11, 2024
24bc749
re-add yarn.lock
pwizla Dec 11, 2024
281aa43
Sidebar: remove emojis and make categories not collapsible
pwizla Dec 11, 2024
ffa3124
Remove unwanted background on sidebar carets in dark mode
pwizla Dec 11, 2024
7a92df3
Fix SVG icons not showing up on homepage
pwizla Dec 11, 2024
a5f81c9
Add 5.4.0 release notes
pwizla Dec 11, 2024
d156b55
Fix badges position on h1s
pwizla Dec 11, 2024
bddaa1b
Edit wording of badges positions in "fundamentals" pages
pwizla Dec 11, 2024
1688ba6
fix locale prerequisites (#2320)
Boegie19 Dec 16, 2024
18dd04c
fix wrong import (#2319)
Boegie19 Dec 16, 2024
bc8ceb6
Mention new admin panel homepage and update screenshots
pwizla Dec 16, 2024
83088b4
Fix unwanted line at top of light mode screenshot
pwizla Dec 16, 2024
080c8b6
chore: adding notes about gitlab groups
kibwashere Dec 16, 2024
8b6344e
Try to show again the close button of announcement bar
pwizla Dec 17, 2024
7ed995f
chore: use org term
kibwashere Dec 17, 2024
2b23381
chore: adding notes about gitlab groups
kibwashere Dec 16, 2024
f23187a
Remove mentions of beta and future flags
pwizla Dec 16, 2024
4ae85bd
Add section about importing env vars
Jimimimi Dec 17, 2024
a10fcce
Delete yarn.lock to reset the repo/server
pwizla Dec 18, 2024
75e8c8e
Add new yarn.lock
pwizla Dec 18, 2024
8800c5b
v5.5.0
pwizla Dec 18, 2024
4e60d3d
Update release notes for 5.5.0
pwizla Dec 18, 2024
02558cc
Remove emoji from announcement bar
pwizla Dec 18, 2024
c5f8944
Fix GitHub Edit URL: main → next
pwizla Dec 18, 2024
b3bfd30
Change Algolia index info
pwizla Dec 18, 2024
4247cd4
Update What's new for 5.5.0
pwizla Dec 18, 2024
1660cd9
Switch to arrow for back buttons in TOC
pwizla Dec 18, 2024
070c0ba
Remove test badges
pwizla Dec 18, 2024
6f70d6f
Add a little CSS fix for Kapa CTAs in dark mode
pwizla Dec 18, 2024
0c083da
SVG display fixes
pwizla Dec 18, 2024
1444401
Remove unnecessary emoji in QSG prereq.
pwizla Dec 18, 2024
16bafbb
Add Lucas missing in the latest release notes 😅
pwizla Dec 18, 2024
57a23c0
Replace emojis by icons in release notes script
pwizla Dec 18, 2024
ff25599
Add new/updated badges
pwizla Dec 18, 2024
a1f452c
Merge branch 'main' of github.com:strapi/documentation
pwizla Dec 18, 2024
c6b30e2
Remove outdated warning in migration FAQ
pwizla Dec 19, 2024
be384b0
Add mention about beta homepage in user docs intro
pwizla Dec 19, 2024
74b6516
Clean up Kapa CSS
pwizla Dec 19, 2024
b9464a0
Fix Kapa modal button on dark mode for mobile
pwizla Dec 19, 2024
3bffe25
Merge branch 'main' of github.com:strapi/documentation
pwizla Dec 19, 2024
3550f88
Tone-down Hotjar button background color
pwizla Dec 19, 2024
a0abb46
Explain why Hotjar's customization does not work 😅
pwizla Dec 19, 2024
3dddfdc
Fix badge icon alignment
pwizla Dec 19, 2024
6de5d9d
Fix sidebar padding in production
pwizla Dec 19, 2024
da389b4
Remove vertical align bottom causing more damage than solutions 😂
pwizla Dec 19, 2024
ec868a7
alpha → beta (SDK callout)
pwizla Dec 19, 2024
2d20e73
Update breaking-changes.md
pwizla Dec 20, 2024
a7e87e9
Update attributes-and-content-types-names-reserved.md
pwizla Dec 20, 2024
05593b7
Update step-by-step.md
pwizla Dec 20, 2024
9c8c04c
Create auto-reply-eoy.yml
pwizla Dec 20, 2024
b5d2765
Use yarn/npm tabs in Strapi CLI examples (#2332)
pwizla Dec 20, 2024
e3b08df
Fix enterprise badge color
pwizla Jan 8, 2025
273ca1f
Remove mention of beta homepage since it's now stable (#2338)
pwizla Jan 8, 2025
be459d9
Fix typo in react-router-dom-6.md (#2337)
johannesscheiermann Jan 8, 2025
9f93213
chore: removed account preferences section from cloud doc (#2333)
giu1io Jan 8, 2025
1a36b17
Merge branch 'main' of github.com:strapi/documentation
pwizla Jan 8, 2025
bd80431
Add release notes for 5.5.1
pwizla Jan 8, 2025
e0e46fe
v5.5.1
pwizla Jan 8, 2025
02dd8e5
Fix release notes
pwizla Jan 8, 2025
24d9ba4
Fix typo in release notes script
pwizla Jan 8, 2025
124e04e
Delete .github/workflows/auto-reply-eoy.yml
pwizla Jan 10, 2025
d145cbd
Make it more obvious that v4 is still supported
pwizla Jan 13, 2025
257ad00
Update collaboration.md
pwizla Jan 13, 2025
672490f
Fix database migration example (ES → DS API)
pwizla Jan 13, 2025
747835e
Merge branch 'main' of github.com:strapi/documentation
pwizla Jan 13, 2025
8422109
Add Amplitude's browser SDK and web experiment for future A/B testing…
Mcastres Jan 14, 2025
d316792
fix: document service API example typo (#2348)
Qbject Jan 14, 2025
549cb12
fix: typo in admonition (#2349)
Qbject Jan 14, 2025
4a43025
Update cli.md
pwizla Jan 15, 2025
b63d1d3
Adding the --verbose option to the data transfer command description …
maccomaccomaccomacco Jan 15, 2025
d76f119
Add missing options for export/import to CLI ref.
pwizla Jan 15, 2025
0c90768
Update export.md
pwizla Jan 15, 2025
02ece4f
Update import.md
pwizla Jan 15, 2025
67a70e0
Add the SSO badge for the new, paid add-on (#2341)
pwizla Jan 15, 2025
baf5923
fix: updated text for new cloud "add environment" button (#2299)
giu1io Jan 15, 2025
4ce5803
Update Cloud backups (restoration timestamp) (#2346)
AtallahFatma Jan 15, 2025
88e9a19
Removing the not about unmodified fields on the update (#2351)
maccomaccomaccomacco Jan 15, 2025
8638fa7
Add graphQL landingPage configuration and updates Playground → Sandbo…
innerdvations Jan 15, 2025
eaba178
Add 5.5.2 release notes
pwizla Jan 15, 2025
1535f66
Reduce secondary nav depth for release notes page
pwizla Jan 15, 2025
6290159
v5.5.2
pwizla Jan 15, 2025
453ca42
Add missing badges to Releases settings page
pwizla Jan 15, 2025
ad795df
Fix SSO badge color in dark mode
pwizla Jan 15, 2025
8f48334
Merge branch 'main' of github.com:strapi/documentation
pwizla Jan 15, 2025
cc99888
Fixes issue #2355 (#2356)
pwizla Jan 16, 2025
98d9fba
Fix bug in the middlewares example (#2358)
Qbject Jan 16, 2025
8e24a0b
Temp: Automatically label PRs with "port to doc6"
pwizla Jan 16, 2025
113bb50
Update step-by-step.md (#2360)
AhmedMuhsingez Jan 16, 2025
d8f785a
Add note about wildcard populate and deep populate
pwizla Jan 17, 2025
97620c7
feat: add email confirmation error redirection
jb-thery Jan 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 23 additions & 0 deletions .github/workflows/auto-label-doc6.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Auto Label PRs
on:
pull_request:
types:
- opened

jobs:
auto-label:
runs-on: ubuntu-latest
permissions:
pull-requests: write

steps:
- name: Add label to PR
uses: actions/github-script@v7
with:
script: |
await github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
labels: ['temp: port to doc6']
});
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ The Strapi Documentation team has created a complete style guide for you to make

💁 While writing, please consider the [12 Rules of Technical Writing](https://handbook.strapi.io/user-success-manual/12-rules-of-technical-writing) that the Strapi Documentation team will use to assess the quality and consistency of the contribution. 😊

⚠️ **Important: Please disable any linter or automatic formatting tool(s)** before saving and submitting your files. Not doing so could, at best, add unnecessary formatting changes to the submitted PR or, at worst, prevent Docusaurus from properly rendering some pages.

### Working locally: Set up the project

To set up the Docusaurus project on your machine, perform the following steps from a terminal instance:
Expand Down
4 changes: 1 addition & 3 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ Copyright (c) 2015-present Strapi Solutions SAS

Portions of the Strapi software are licensed as follows:

* All software that resides under an "ee/" directory (the “EE Software”), if that directory exists, is licensed under the license defined in "ee/LICENSE".

* All software outside of the above-mentioned directories or restrictions above is available under the "MIT Expat" license as set forth below.
* All software is available under the "MIT Expat" license as set forth below.

MIT Expat License

Expand Down
15 changes: 8 additions & 7 deletions docusaurus/docs/cloud/account/account-billing.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ import InvoiceStatus from '/docs/snippets/invoices-statuses.md'

# Account billing & invoices

Through the *Profile* page, accessible by clicking on your profile picture on the top right hand corner of the interface then clicking on **Profile**, you can access the [![Billing icon](/img/assets/icons/CreditCard.svg) *Billing*](#account-billing) and [![Invoices icon](/img/assets/icons/Invoice.svg) *Invoices*](#account-invoices) tabs.
Through the *Profile* page, accessible by clicking on your profile picture on the top right hand corner of the interface then clicking on **Profile**, you can access the <Icon name="credit-card" /> [*Billing*](#account-billing) and <Icon name="invoice" /> [*Invoices*](#account-invoices) tabs.

## Account billing

The ![Billing icon](/img/assets/icons/CreditCard.svg) *Billing* tab displays and enables you to modify the billing details and payment method set for the account.
The <Icon name="credit-card" /> *Billing* tab displays and enables you to modify the billing details and payment method set for the account.

<ThemedImage
alt="Billing tab of Profile page"
Expand All @@ -30,11 +30,11 @@ The ![Billing icon](/img/assets/icons/CreditCard.svg) *Billing* tab displays and
}}
/>

The *Payment method* section of the ![Billing icon](/img/assets/icons/CreditCard.svg) *Billing* tab allows you to manage the credit cards that can be used for the Strapi Cloud projects. The *Billing details* section requires to be filled in, at least for the mandatory fields, as this information will be the default billing details for all Strapi Cloud projects related to your account.
The *Payment method* section of the <Icon name="credit-card" /> *Billing* tab allows you to manage the credit cards that can be used for the Strapi Cloud projects. The *Billing details* section requires to be filled in, at least for the mandatory fields, as this information will be the default billing details for all Strapi Cloud projects related to your account.

### Adding a new credit card

1. In the *Payment method* section of the ![Billing icon](/img/assets/icons/CreditCard.svg) *Billing* tab, click on the **Add card** button.
1. In the *Payment method* section of the <Icon name="credit-card" /> *Billing* tab, click on the **Add card** button.
2. Fill in the following fields:

| Field name | Description |
Expand All @@ -46,14 +46,15 @@ The *Payment method* section of the ![Billing icon](/img/assets/icons/CreditCard
3. Click on the **Save** button.

:::tip
The first credit card to be added as payment method for the account will by default be the primary one. It is however possible to define another credit card as primary by clicking on the ![Menu icon](/img/assets/icons/more.svg) icon, then **Switch as primary**.
- The first credit card to be added as payment method will be by default the primary card. You can change the role by clicking on the <Icon name="dots-three-outline" /> icon, then **Set as primary** on another card.
- Be aware that you also have the possibility to use a dedicated card at projects-level. It will allow you to use different cards for different projects (see [Project Settings > Billing & Usage](/cloud/projects/settings#billing--usage)).
:::

### Deleting a credit card

To remove a credit card from the list of payment methods for the account:

1. Click on the ![Menu icon](/img/assets/icons/more.svg) icon of the credit card you wish to delete.
1. Click on the <Icon name="dots-three-outline" /> icon of the credit card you wish to delete.
2. Click **Remove card**. The card is immediately deleted.

:::note
Expand All @@ -62,7 +63,7 @@ You cannot delete the primary card as at least one credit card must be available

## Account invoices

The ![Invoices icon](/img/assets/icons/Invoice.svg) *Invoices* tab displays the complete list of invoices for all your Strapi Cloud projects.
The <Icon name="invoice" /> *Invoices* tab displays the complete list of invoices for all your Strapi Cloud projects.

<ThemedImage
alt="Invoices tab of Profile page"
Expand Down
20 changes: 6 additions & 14 deletions docusaurus/docs/cloud/account/account-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pagination_next: cloud/account/account-billing

The *Profile* page enables you to manage your account details and preferences. It is accessible by clicking on your profile picture, on the top right hand corner of the interface, and **Profile**.

There are 4 tabs available in the *Profile* interface: ![General icon](/img/assets/icons/Faders.svg) [*General*](#general), ![Preferences icon](/img/assets/icons/Palette.svg) [*Preferences*](#preferences), ![Billing icon](/img/assets/icons/CreditCard.svg) *Billing* and ![Invoices icon](/img/assets/icons/Invoice.svg) Invoices (the last 2 are documented in the [Account billing details](/cloud/account/account-billing) section of this documentation).
There are 3 tabs available in the *Profile* interface: ![General icon](/img/assets/icons/Faders.svg) [*General*](#general), ![Billing icon](/img/assets/icons/CreditCard.svg) *Billing* and ![Invoices icon](/img/assets/icons/Invoice.svg) Invoices (the last 2 are documented in the [Account billing details](/cloud/account/account-billing) section of this documentation).

## General

Expand All @@ -43,22 +43,14 @@ To connect a new Google, GitLab or GitHub account to your Strapi Cloud account,

You can also click on the three dots button of a connected account and click on the "Manage on" button to manage your GitHub, GitLab or Google account directly on the corresponding website.

:::caution <NewBadge />
For GitLab, Groups and Subgroups organizations are not supported at the moment.
:::

### Deleting Strapi Cloud account

You can delete your Strapi Cloud account, but it will be permanent and irreversible. All associated projects and their data will be deleted as well and the subscriptions for the projects will automatically be canceled.

1. In the *Delete account* section of the ![General icon](/img/assets/icons/Faders.svg) *General* tab, click on the **Delete account** button.
1. In the *Delete account* section of the <Icon name="faders" /> *General* tab, click on the **Delete account** button.
2. In the dialog, type `DELETE` in the textbox.
3. Confirm the deletion of your account by clicking on the **Delete** button.

## Preferences

The ![Preferences icon](/img/assets/icons/Palette.svg) *Preferences* tab enables you to choose the appearance of your Strapi Cloud dashboard: either the Light or Dark theme.

<ThemedImage
alt="Preferences tab of Profile page"
sources={{
light: '/img/assets/cloud/account-preferences.png',
dark: '/img/assets/cloud/account-preferences_DARK.png',
}}
/>
9 changes: 4 additions & 5 deletions docusaurus/docs/cloud/advanced/database.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,12 @@ While it's possible to use an external database with Strapi Cloud, you should do
- Strapi can't provide security or support with external databases used with Strapi Cloud.
:::


## Configuration

:::caution
To ensure a smooth deployment, it is recommended to not change the names of the environment variables.
:::

The project `./config/database.js` or `./config/database.ts` file must match the configuration found in the [environment variables in database configurations](https://docs.strapi.io/dev-docs/configurations/database#environment-variables-in-database-configurations) section.

Before pushing changes, add environment variables to the Strapi Cloud project:
Expand All @@ -54,10 +57,6 @@ Before pushing changes, add environment variables to the Strapi Cloud project:

4. Click **Save**.

:::caution
To ensure a smooth deployment, it is recommended to not change the names of the environment variables.
:::

## Deployment

To deploy the project and utilize the external database, push the changes from earlier. This will trigger a rebuild and new deployment of the Strapi Cloud project.
Expand Down
10 changes: 5 additions & 5 deletions docusaurus/docs/cloud/advanced/email.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ Using either `npm` or `yarn`, install the provider plugin in your local Strapi p

### Configure the Provider

In your Strapi project, create a `./config/env/production/plugins.js` or `./config/env/production/plugins.ts` file with the following content:
:::caution
The file structure must match the below path **exactly**, or the configuration will not be applied to Strapi Cloud.
:::

To configure a 3rd-party email provider in your Strapi project, create or edit the plugins configuration file for your production environment `./config/env/production/plugins.js|ts` by adding upload configuration options as follows:

<Tabs groupId="js-ts">
<TabItem value="js" label="JavaScript">
Expand Down Expand Up @@ -84,10 +88,6 @@ export default ({ env }) => ({

</Tabs>

:::caution
The file structure must match the above path exactly, or the configuration will not be applied to Strapi Cloud.
:::

Each provider will have different configuration settings available. Review the respective entry for that provider in the [Marketplace](https://market.strapi.io/providers).

**Example:**
Expand Down
8 changes: 4 additions & 4 deletions docusaurus/docs/cloud/advanced/upload.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ Using either `npm` or `yarn`, install the provider plugin in your local Strapi p

### Configure the Provider

:::caution
The file structure must match the below path **exactly**, or the configuration will not be applied to Strapi Cloud.
:::

To configure a 3rd-party upload provider in your Strapi project, create or edit the plugins configuration file for your production environment `./config/env/production/plugins.js|ts` by adding upload configuration options as follows:

<Tabs groupId="js-ts">
Expand Down Expand Up @@ -85,10 +89,6 @@ upload: {
</TabItem>
</Tabs>

:::caution
The file structure must match the above path exactly, or the configuration will not be applied to Strapi Cloud.
:::

Each provider will have different configuration settings available. Review the respective entry for that provider in the [Marketplace](https://market.strapi.io/providers).

**Example:**
Expand Down
55 changes: 46 additions & 9 deletions docusaurus/docs/cloud/cli/cloud-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags:
pagination_next: cloud/advanced/database
---

# Command Line Interface (CLI) <NewBadge />
# Command Line Interface (CLI)

Strapi Cloud comes with a Command Line Interface (CLI) which allows you to log in and out, and to deploy a local project without it having to be hosted on a remote git repository. The CLI works with both the `yarn` and `npm` package managers.

Expand Down Expand Up @@ -41,34 +41,44 @@ Deploy a new local project (< 100MB) in Strapi Cloud.
strapi deploy
```

This command must be used after the `login` one. It deploys a local Strapi project on Strapi Cloud, without having to host it on a remote git repository beforehand. The terminal will inform you when the project is successfully deployed on Strapi Cloud.
This command must be used after the `login` one. It deploys a local Strapi project on Strapi Cloud, without having to host it on a remote git repository beforehand.

Once the project is first deployed on Strapi Cloud with the CLI, the `deploy` command can be reused to trigger a new deployment of the same project.

:::caution
The `deploy` command can only be used by new users who have never created a Strapi Cloud project, and for which the free trial is still available. Once a project is deployed with the CLI, it isn't possible to deploy another project on the same Strapi Cloud account with the CLI.
:::note
If you have any free trial available, the deploy command will create automatically a new project on Strapi Cloud, unless you previously link your local project to an existing project by using the `strapi link` command.
:::

When you use this command, you’ll be asked to select a target environment. To skip this prompt, you can either:
- Use the `--env` flag (e.g., `strapi deploy --env <environment-name>`)
- Set a default environment with `strapi cloud environment link` [command](#cloud-environment-link), so deployments automatically go to that environment.

The terminal will inform you when the project is successfully deployed on Strapi Cloud.

Once the project is first deployed on Strapi Cloud with the CLI, the `deploy` command can be reused to trigger a new deployment of the same project.

:::note
Once you deployed your project, if you visit the Strapi Cloud dashboard, you may see some limitations as well as impacts due to creating a Strapi Cloud project that is not in a remote repository and which was deployed with the CLI.

- Some areas in the dashboard that are usually reserved to display information about the git provider will be blank.
- Some buttons, such as the **Trigger deploy** button, will be greyed out and unclickable since, unless you have [connected a git repository to your Strapi Cloud project](/cloud/getting-started/deployment-cli#automatically-deploying-subsequent-changes).
:::

## strapi link <NewBadge />
## strapi link

**Alias:** `strapi cloud:link`

Links project in current folder to an existing project in Strapi Cloud.

:::note
Linking a project to Strapi Cloud doesn't limit it to Strapi Cloud alone; you can still deploy and manage it in your own self-hosted environment as needed.
:::

```bash
strapi link
```

This command connects your local project in the current directory with an existing project on your Strapi Cloud account. You will be prompted to select the project you wish to link from a list of available projects hosted on Strapi Cloud.

## strapi projects <NewBadge />
## strapi projects

**Alias:** `strapi cloud:projects`

Expand All @@ -78,7 +88,34 @@ Lists all Strapi Cloud projects associated with your account.
strapi projects
```

This command retrieves and displays a list of all projects hosted on your Strapi Cloud account.

```bash
strapi link
```

This command connects your local project in the current directory with an existing project on your Strapi Cloud account. You will be prompted to select the project you wish to link from a list of available projects hosted on Strapi Cloud.

## strapi cloud environments <NewBadge /> {#cloud-environments}

**Alias:** `strapi cloud environment list`

Lists all environments associated with your Strapi Cloud Project.

```bash
strapi cloud environments
```

This command retrieves and displays a list of all environments belonging to your Strapi Cloud project.

## strapi cloud environment link <NewBadge /> {#cloud-environment-link}

Links your local project to a specific environment in your Strapi Cloud project.

```bash
strapi cloud environment link
```

This command shows a list of all environments in your Strapi Cloud project and lets you choose one. The selected environment will then be the default for direct deployments.

## strapi logout

Expand Down
4 changes: 2 additions & 2 deletions docusaurus/docs/cloud/getting-started/cloud-fundamentals.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ Before going any further into this Strapi Cloud documentation, we recommend you

- **Hosting Platform** <br/> Strapi Cloud is a hosting platform that allows to deploy already existing Strapi projects created with Strapi CMS (Content Management System). Strapi Cloud is *not* the SaaS (Software as a Service) version of Strapi CMS. Feel free to refer to the [Developer Documentation](https://docs.strapi.io/dev-docs/intro) and [User Guide](https://docs.strapi.io/user-docs/intro) to learn more about Strapi CMS.

- **Strapi Cloud Pricing Plans** <br/> As a Strapi Cloud user you have the choice between 3 tiers: Developer, Pro and Team. Depending on the tier, you have access to different functionalities, support and customization options (see [Pricing page](https://strapi.io/pricing-cloud) for more details). In this Strapi Cloud documentation, the <CloudDevBadge />, <CloudProBadge />, and <CloudTeamBadge /> badges can be displayed beside a section's title to indicate for which tier the feature is available.
- **Strapi Cloud Pricing Plans** <br/> As a Strapi Cloud user you have the choice between 3 tiers: Developer, Pro and Team. Depending on the tier, you have access to different functionalities, support and customization options (see [Pricing page](https://strapi.io/pricing-cloud) for more details). In this Strapi Cloud documentation, the <CloudDevBadge />, <CloudProBadge />, and <CloudTeamBadge /> badges can be displayed below a section's title to indicate for which tier the feature is available.

- **Strapi CMS Enterprise features** <br/> Some of Strapi features, usually accessible via the Enterprise Edition of Strapi CMS, are included in some Strapi Cloud tiers (see [Pricing page](https://strapi.io/pricing-cloud) and [Information on billing & usage](/cloud/getting-started/usage-billing) for more details). These features, highlighted with an <EnterpriseBadge /> badge, are documented in the [User Guide](https://docs.strapi.io/user-docs/intro) and the [Developer Documentation](https://docs.strapi.io/dev-docs/intro).
- **Strapi CMS features** <br/> The Strapi Cloud plans include some Strapi CMS features (see [Pricing page](https://strapi.io/pricing-cloud) for more details). These features, highlighted with a <GrowthBadge /> or an <EnterpriseBadge /> badge, are documented in the [User Guide](https://docs.strapi.io/user-docs/intro) and the [Developer Documentation](https://docs.strapi.io/dev-docs/intro).

- **Types of Strapi Cloud users** <br/> There can be 2 types of users on a Strapi Cloud project: owners and maintainers. The owner is the one who has created the project and has therefore access to all features and options for the project. Maintainers are users who have been invited to contribute to an already created project by its owner. Maintainers, as documented in the [Collaboration](/cloud/projects/collaboration) page, cannot view and access all features and options from the Strapi Cloud dashboard.

Expand Down
Loading