mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-10 17:53:36 +02:00
fix(docs): enterprise image zoom (#10081)
Co-authored-by: melindafekete <melinda.fekete@getunleash.io>
This commit is contained in:
parent
e1cfd8e050
commit
fc25117d78
@ -127,18 +127,8 @@ In the strategy configuration screen for the strategy that you want to configure
|
|||||||
|
|
||||||
:::info
|
:::info
|
||||||
|
|
||||||
This can be done at any point after you've created your flag.
|
This can be done at any point, during or after the creation of your flag.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
:::tip API: add variants
|
[Variants](../reference/strategy-variants) give you the ability to further target your users and split them into groups of your choosing, such as for A/B testing. On the flag overview page, select the variants tab. Use the "new variant" button to add the variants that you want.
|
||||||
|
|
||||||
Use the [create variants endpoint](/reference/api/unleash/overwrite-feature-variants) to create or overwrite existing variants in all environments. The payload should be your desired variant configuration.
|
|
||||||
|
|
||||||
:::
|
|
||||||
|
|
||||||
[Variants](../reference/feature-toggle-variants) give you the ability to further target your users and split them into groups of your choosing, such as for A/B testing. On the flag overview page, select the variants tab. Use the "new variant" button to add the variants that you want.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
[^1]: Prior to Unleash 4.21, "create/edit variants" was a project-level permission instead of an environment-level permission.
|
|
||||||
|
@ -707,9 +707,9 @@ Content-Type: application/json; charset=utf-8
|
|||||||
|
|
||||||
:::caution
|
:::caution
|
||||||
|
|
||||||
This API documentation is no longer maintained. You should use the [OpenAPI docs for this endpoint](/docs/reference/api/unleash/overwrite-feature-variants.api.mdx) instead.
|
This API documentation is no longer maintained. Use [OpenAPI docs for this endpoint](/reference/api/unleash/overwrite-feature-variants-on-environments) instead.
|
||||||
|
|
||||||
This endpoint affects all environments at once. If you only want to update a single environment, use the [operation for updating variants per environment](/docs/reference/api/unleash/overwrite-feature-variants-on-environments.api.mdx) instead.
|
This endpoint affects all environments at once. If you only want to update a single environment, use the [operation for updating variants per environment](/reference/api/unleash/overwrite-feature-variants-on-environments) instead.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
@ -352,8 +352,8 @@ group. This can be done by navigating to the Unleash group you want to enable sy
|
|||||||
the "SSO group ID/name" property.
|
the "SSO group ID/name" property.
|
||||||
|
|
||||||
[^1]: The project-level permission is still required for the [**create/overwrite variants
|
[^1]: The project-level permission is still required for the [**create/overwrite variants
|
||||||
** (PUT)](/docs/reference/api/unleash/overwrite-feature-variants.api.mdx) and [**update variants
|
** (PUT)](/reference/api/unleash/overwrite-feature-variants) and [**update variants
|
||||||
** (PATCH)](/docs/reference/api/unleash/patch-feature-variants.api.mdx) API endpoints, but it is not used for anything
|
** (PATCH)](/reference/api/unleash/patch-feature-variants) API endpoints, but it is not used for anything
|
||||||
within the admin UI. The API endpoints have been superseded by the [**create/overwrite environment variants
|
within the admin UI. The API endpoints have been superseded by the [**create/overwrite environment variants
|
||||||
** (PUT)](/docs/reference/api/unleash/overwrite-feature-variants-on-environments.api.mdx) and [**update environment
|
** (PUT)](/reference/api/unleash/overwrite-feature-variants-on-environments) and [**update environment
|
||||||
variants** (PATCH)](/docs/reference/api/unleash/patch-environments-feature-variants.api.mdx) endpoints, respectively.
|
variants** (PATCH)](/reference/api/unleash/patch-environments-feature-variants) endpoints, respectively.
|
||||||
|
@ -403,6 +403,7 @@ class="header-github-link"
|
|||||||
imageZoom: {
|
imageZoom: {
|
||||||
// Optional medium-zoom options at
|
// Optional medium-zoom options at
|
||||||
// https://www.npmjs.com/package/medium-zoom#options
|
// https://www.npmjs.com/package/medium-zoom#options
|
||||||
|
selector: '.markdown :not(p) > img',
|
||||||
options: {
|
options: {
|
||||||
background: 'var(--ifm-background-color)',
|
background: 'var(--ifm-background-color)',
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user