Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions deploy/preview-deployments.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

## Create preview deployments

Preview deployments are created automatically through pull requests or manually from your dashboard.

Check warning on line 17 in deploy/preview-deployments.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

deploy/preview-deployments.mdx#L17

In general, use active voice instead of passive voice ('are created').

### Automatic previews

Expand All @@ -37,14 +37,15 @@
2. Select **Previews**.
3. Select **Create custom preview**.
4. Enter the name of the branch you want to preview.
5. Select **Create deployment**.
5. Optionally, enable **Password protection** and enter a password. Visitors must enter the password to view the preview.
6. Select **Create deployment**.

## Redeploy a preview

Check warning on line 43 in deploy/preview-deployments.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

deploy/preview-deployments.mdx#L43

Use 'redeploy(s|ed|ing)?' instead of 'Redeploy'.

Redeploy a preview to refresh content or retry after a failed deployment.

Check warning on line 45 in deploy/preview-deployments.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

deploy/preview-deployments.mdx#L45

Use 'redeploy(s|ed|ing)?' instead of 'Redeploy'.

1. Select the preview from your [dashboard](https://dashboard.mintlify.com/).
2. Select **Redeploy**.

Check warning on line 48 in deploy/preview-deployments.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

deploy/preview-deployments.mdx#L48

Use 'redeploy(s|ed|ing)?' instead of 'Redeploy'.

<Frame>
<img src="/images/previews/redeploy-preview-light.png" alt="The Previews menu with the deploy button emphasized by an orange rectangle." className="block dark:hidden" />
Expand All @@ -69,7 +70,11 @@

## Restrict access to preview deployments

By default, preview deployments are publicly accessible to anyone with the URL. You can restrict access to authenticated members of your Mintlify organization.
By default, preview deployments are publicly accessible to anyone with the URL. You can restrict access using organization authentication or per-preview password protection.

### Organization authentication

Require all preview visitors to be authenticated members of your Mintlify organization.

Check warning on line 77 in deploy/preview-deployments.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

deploy/preview-deployments.mdx#L77

In general, use active voice instead of passive voice ('be authenticated').

1. Navigate to the **Previews** section in the [Add-ons](https://dashboard.mintlify.com/products/addons) page of your dashboard.
2. Click the **Preview authentication** toggle to enable or disable preview authentication.
Expand All @@ -78,6 +83,12 @@
<img src="/images/previews/preview-auth-dark.png" alt="The preview authentication toggle in the Add-ons page" className="hidden dark:block" />
</Frame>

### Password protection

You can set a password on individual manual previews. When enabled, visitors must enter the password before viewing the preview content.

To add password protection, enable the **Password protection** toggle when [creating a manual preview](#manual-previews) and enter your desired password.

## Troubleshooting preview deployments

If your preview deployment fails, try these troubleshooting steps.
Expand Down
15 changes: 13 additions & 2 deletions es/deploy/preview-deployments.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ Puedes crear manualmente una vista previa para cualquier branch.
2. Selecciona **Previews**.
3. Selecciona **Create custom preview**.
4. Ingresa el nombre del branch que quieres previsualizar.
5. Selecciona **Create deployment**.
5. Opcionalmente, habilita **Password protection** e ingresa una contraseña. Los visitantes deberán ingresar la contraseña para ver la vista previa.
6. Selecciona **Create deployment**.

<div id="redeploy-a-preview">
## Volver a implementar una vista previa
Expand Down Expand Up @@ -82,7 +83,11 @@ El widget solo aparece en las implementaciones de vista previa, no en tu sitio e
## Restringir el acceso a las implementaciones de vista previa
</div>

De forma predeterminada, las implementaciones de vista previa son accesibles públicamente para cualquiera que tenga la URL. Puedes restringir el acceso a los miembros autenticados de tu organización en Mintlify.
De forma predeterminada, las implementaciones de vista previa son accesibles públicamente para cualquiera que tenga la URL. Puedes restringir el acceso mediante autenticación de la organización o protección con contraseña por vista previa.

### Autenticación de la organización

Requiere que todos los visitantes de la vista previa sean miembros autenticados de tu organización en Mintlify.

1. Ve a la sección **Previews** en la página de [Add-ons](https://dashboard.mintlify.com/products/addons) de tu dashboard.
2. Haz clic en el interruptor **Preview authentication** para habilitar o deshabilitar la autenticación de la vista previa.
Expand All @@ -92,6 +97,12 @@ De forma predeterminada, las implementaciones de vista previa son accesibles pú
<img src="/images/previews/preview-auth-dark.png" alt="El interruptor de autenticación de vista previa en la página Add-ons" className="hidden dark:block" />
</Frame>

### Protección con contraseña

Puedes establecer una contraseña en vistas previas manuales individuales. Cuando está habilitada, los visitantes deben ingresar la contraseña antes de ver el contenido de la vista previa.

Para agregar protección con contraseña, habilita el interruptor **Password protection** al [crear una vista previa manual](#manual-previews) e ingresa la contraseña deseada.

<div id="troubleshooting-preview-deployments">
## Solución de problemas con las implementaciones de vista previa
</div>
Expand Down
15 changes: 13 additions & 2 deletions fr/deploy/preview-deployments.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ Vous pouvez créer manuellement un aperçu pour n’importe quelle branche.
2. Sélectionnez **Previews**.
3. Sélectionnez **Create custom preview**.
4. Entrez le nom de la branche à prévisualiser.
5. Sélectionnez **Create deployment**.
5. Facultatif : activez **Password protection** et saisissez un mot de passe. Les visiteurs devront entrer le mot de passe pour accéder à l'aperçu.
6. Sélectionnez **Create deployment**.

<div id="redeploy-a-preview">
## Redéployer un aperçu
Expand Down Expand Up @@ -84,7 +85,11 @@ Le widget apparaît uniquement sur les déploiements de prévisualisation, et no
## Restreindre l’accès aux déploiements de prévisualisation
</div>

Par défaut, les déploiements de prévisualisation sont accessibles publiquement à toute personne disposant de l’URL. Vous pouvez en restreindre l’accès aux membres authentifiés de votre organisation Mintlify.
Par défaut, les déploiements de prévisualisation sont accessibles publiquement à toute personne disposant de l’URL. Vous pouvez restreindre l’accès via l’authentification de l’organisation ou la protection par mot de passe par aperçu.

### Authentification de l’organisation

Exigez que tous les visiteurs soient des membres authentifiés de votre organisation Mintlify.

1. Accédez à la section **Previews** sur la page [Modules complémentaires](https://dashboard.mintlify.com/products/addons) de votre Dashboard.
2. Activez ou désactivez l’interrupteur **Preview authentication** pour gérer l’authentification des prévisualisations.
Expand All @@ -95,6 +100,12 @@ Par défaut, les déploiements de prévisualisation sont accessibles publiquemen
<img src="/images/previews/preview-auth-dark.png" alt="L’interrupteur d’authentification des prévisualisations sur la page Modules complémentaires" className="hidden dark:block" />
</Frame>

### Protection par mot de passe

Vous pouvez définir un mot de passe sur des aperçus manuels individuels. Lorsque cette option est activée, les visiteurs doivent saisir le mot de passe avant de pouvoir consulter le contenu de l’aperçu.

Pour ajouter la protection par mot de passe, activez l’interrupteur **Password protection** lors de la [création d’un aperçu manuel](#manual-previews) et saisissez le mot de passe souhaité.

<div id="troubleshooting-preview-deployments">
## Dépannage des déploiements de prévisualisation
</div>
Expand Down
15 changes: 13 additions & 2 deletions zh/deploy/preview-deployments.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ keywords: ["preview URLs", "pull request previews", "branch previews", "staging
2. 选择 **Previews**。
3. 选择 **Create custom preview**。
4. 输入要预览的 branch 名称。
5. 选择 **Create deployment**。
5. 可选:启用 **Password protection** 并输入密码。访问者需要输入密码才能查看预览。
6. 选择 **Create deployment**。

<div id="redeploy-a-preview">
## 重新部署预览
Expand Down Expand Up @@ -84,7 +85,11 @@ keywords: ["preview URLs", "pull request previews", "branch previews", "staging
## 限制预览部署的访问权限
</div>

默认情况下,任何持有 URL 的人都可以访问预览部署。你可以将访问权限限制为 Mintlify 组织中的已认证成员。
默认情况下,任何持有 URL 的人都可以访问预览部署。你可以通过组织认证或为单个预览设置密码保护来限制访问。

### 组织认证

要求所有预览访问者必须是 Mintlify 组织中的已认证成员。

1. 在控制台的 [附加组件](https://dashboard.mintlify.com/products/addons) 页面,进入 **Previews** 部分。
2. 点击 **Preview authentication** 开关以启用或禁用预览认证。
Expand All @@ -95,6 +100,12 @@ keywords: ["preview URLs", "pull request previews", "branch previews", "staging
<img src="/images/previews/preview-auth-dark.png" alt="附加组件页面中的预览认证开关" className="hidden dark:block" />
</Frame>

### 密码保护

你可以为单个手动预览设置密码。启用后,访问者必须输入密码才能查看预览内容。

要添加密码保护,请在[创建手动预览](#manual-previews)时启用 **Password protection** 开关并输入所需密码。

<div id="troubleshooting-preview-deployments">
## 预览部署故障排查
</div>
Expand Down
Loading