Skip to content

Commit 7534b66

Browse files
Fix broken anchors in docs (#9406)
1 parent a064672 commit 7534b66

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+68
-69
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Check out [the CONTRIBUTING.md file](./CONTRIBUTING.md) for contribution guideli
137137

138138
- Get an overview of all feature flags across all your environments, applications and services
139139
- Targeted releases using [activation strategies](https://docs.getunleash.io/reference/activation-strategies) to enable and disable features for certain users or segments without having to redeploy your application.
140-
- [Canary releases / gradual rollouts](https://docs.getunleash.io/reference/activation-strategies#gradual-rollout)
140+
- [Canary releases / gradual rollouts](https://docs.getunleash.io/reference/activation-strategies)
141141
- [Kill switches](https://docs.getunleash.io/reference/feature-toggles#feature-flag-types)
142142
- [A/B testing](https://docs.getunleash.io/feature-flag-tutorials/use-cases/a-b-testing)
143143
- 2 [environments](https://docs.getunleash.io/reference/environments)

frontend/src/component/admin/serviceAccounts/ServiceAccountsTable/ServiceAccountModal/ServiceAccountModal.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ export const ServiceAccountModal = ({
271271
modal
272272
title={editing ? 'Edit service account' : 'New service account'}
273273
description='A service account is a special type of account that can only be used to authenticate with the Unleash API. Service accounts can be used to automate tasks.'
274-
documentationLink='https://docs.getunleash.io'
274+
documentationLink='https://docs.getunleash.io/reference/service-accounts'
275275
documentationLinkLabel='Service accounts documentation'
276276
formatApiCode={formatApiCode}
277277
>

frontend/src/component/demo/demo-topics.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ export const TOPICS: ITutorialTopic[] = [
315315
<>
316316
<Description>
317317
<a
318-
href='https://docs.getunleash.io/reference/activation-strategies#gradual-rollout'
318+
href='https://docs.getunleash.io/reference/activation-strategies'
319319
target='_blank'
320320
rel='noreferrer'
321321
>

frontend/src/component/insights/componentsStat/HealthStats/HealthStats.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export const HealthStats: FC<IHealthStatsProps> = ({
9999
</StyledStatsRow>
100100
<ExplanationRow>
101101
<Link
102-
href='https://docs.getunleash.io/reference/technical-debt'
102+
href='https://docs.getunleash.io/reference/insights#health'
103103
target='_blank'
104104
rel='noreferrer'
105105
>

frontend/src/component/user/Profile/PersonalAPITokensTab/CreatePersonalAPIToken/CreatePersonalAPIToken.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ export const CreatePersonalAPIToken: FC<ICreatePersonalAPITokenProps> = ({
119119
description='Use personal API tokens to authenticate to the Unleash API as
120120
yourself. A personal API token has the same access privileges as
121121
your user.'
122-
documentationLink='https://docs.getunleash.io/reference/api-tokens-and-client-keys'
123-
documentationLinkLabel='Tokens documentation'
122+
documentationLink='https://docs.getunleash.io/reference/api-tokens-and-client-keys#personal-access-tokens'
123+
documentationLinkLabel='Personal access tokens documentation'
124124
formatApiCode={formatApiCode}
125125
>
126126
<StyledForm onSubmit={handleSubmit}>

src/lib/addons/new-relic-definition.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const newRelicDefinition: IAddonDefinition = {
2121
name: 'new-relic',
2222
displayName: 'New Relic',
2323
description: 'Allows Unleash to post updates to New Relic Event API.',
24-
documentationUrl: 'https://docs.getunleash.io/docs/addons/new-relic',
24+
documentationUrl: 'https://docs.getunleash.io/reference/integrations',
2525
howTo: 'The New Relic integration allows Unleash to post Updates to New Relic Event API when a feature flag is updated.',
2626
parameters: [
2727
{

src/lib/openapi/spec/edge-token-schema.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const edgeTokenSchema = {
77
additionalProperties: false,
88
required: ['token', 'projects', 'type'],
99
description:
10-
'A representation of a client token, limiting access to [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#client-tokens) (used by serverside SDKs) or [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#front-end-tokens) (used by proxy SDKs)',
10+
'A representation of a client token, limiting access to [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#client-tokens) (used by serverside SDKs) or [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#frontend-tokens) (used by proxy SDKs)',
1111
properties: {
1212
projects: {
1313
description:
@@ -19,7 +19,7 @@ export const edgeTokenSchema = {
1919
example: ['developerexperience', 'enterprisegrowth'],
2020
},
2121
type: {
22-
description: `The [API token](https://docs.getunleash.io/reference/api-tokens-and-client-keys#api-tokens)'s **type**. Unleash supports three different types of API tokens ([ADMIN](https://docs.getunleash.io/reference/api-tokens-and-client-keys#admin-tokens), [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#client-tokens), [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#front-end-tokens)). They all have varying access, so when validating a token it's important to know what kind you're dealing with`,
22+
description: `The [API token](https://docs.getunleash.io/reference/api-tokens-and-client-keys)'s **type**. Unleash supports three different types of API tokens ([ADMIN](https://docs.getunleash.io/reference/api-tokens-and-client-keys#admin-tokens), [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#client-tokens), [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#frontend-tokens)). They all have varying access, so when validating a token it's important to know what kind you're dealing with`,
2323
type: 'string',
2424
enum: Object.values(ApiTokenType),
2525
example: 'client',

website/docs/feature-flag-tutorials/django/django-examples.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Often, canary deployments are managed at the load balancer level while feature f
9494

9595
Unleash has a few ways to help manage canary deployments for Django apps at scale:
9696

97-
- Using a [gradual rollout](/reference/activation-strategies#gradual-rollout) (which we [implemented in a previous section](#gradual-rollouts-for-python-apps)) would be a simple use case but would reduce the amount of control you have over who gets the new feature.
97+
- Using a [gradual rollout](/reference/activation-strategies) (which we [implemented in a previous section](#gradual-rollouts-for-django-apps)) would be a simple use case but would reduce the amount of control you have over who gets the new feature.
9898

9999
- Using either [constraints](/reference/activation-strategies#constraints) or [segments](/reference/segments) (which are a collection of constraints) for a subset of your users to get the new feature vs. the old feature, for _more_ control than a gradual rollout
100100

website/docs/feature-flag-tutorials/dotnet/dotnet-examples.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Often, canary deployments are managed at the load balancer level while feature f
8989

9090
Unleash has a few ways to help manage canary deployments for .NET apps at scale:
9191

92-
- Using a [gradual rollout](/reference/activation-strategies#gradual-rollout) (which we [implemented in a previous section](#gradual-rollouts-for-net-apps)) would be a simple use case but would reduce the amount of control you have over who gets the new feature.
92+
- Using a [gradual rollout](/reference/activation-strategies) (which we [implemented in a previous section](#gradual-rollouts-for-net-apps)) would be a simple use case but would reduce the amount of control you have over who gets the new feature.
9393

9494
- Using either [constraints](/reference/activation-strategies#constraints) or [segments](/reference/segments) (which are a collection of constraints) for a subset of your users to get the new feature vs. the old feature, for _more_ control than a gradual rollout
9595

website/docs/feature-flag-tutorials/ios/examples.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Often, canary deployments are managed at the load balancer level while feature f
8181

8282
Unleash has a few ways to help manage canary deployments for iOS apps at scale:
8383

84-
- Using a [gradual rollout](/reference/activation-strategies#gradual-rollout) (which we [implemented in a previous section](#gradual-rollouts-for-ios-apps)) would be a simple use case but would reduce the amount of control you have over who gets the new feature.
84+
- Using a [gradual rollout](/reference/activation-strategies) (which we [implemented in a previous section](#gradual-rollouts-for-ios-apps)) would be a simple use case but would reduce the amount of control you have over who gets the new feature.
8585

8686
- Using either [constraints](/reference/activation-strategies#constraints) or [segments](/reference/segments) (which are a collection of constraints) for a subset of your users to get the new feature vs. the old feature, for _more_ control than a gradual rollout
8787

website/docs/feature-flag-tutorials/java/spring-boot-examples.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Often, canary deployments are managed at the load balancer level while feature f
7777

7878
Unleash has a few ways to help manage canary deployments for Java apps at scale:
7979

80-
- Using a [gradual rollout](/reference/activation-strategies#gradual-rollout) (which we [implemented in a previous section](#gradual-rollouts-for-java-spring-boot-apps)) would be a simple use case but would reduce the amount of control you have over who gets the new feature.
80+
- Using a [gradual rollout](/reference/activation-strategies) (which we [implemented in a previous section](#gradual-rollouts-for-java-spring-boot-apps)) would be a simple use case but would reduce the amount of control you have over who gets the new feature.
8181

8282
- Using either [constraints](/reference/activation-strategies#constraints) or [segments](/reference/segments) (which are a collection of constraints) for a subset of your users to get the new feature vs. the old feature, for _more_ control than a gradual rollout
8383

website/docs/feature-flag-tutorials/python/examples.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Often, canary deployments are managed at the load balancer level while feature f
9393

9494
Unleash has a few ways to help manage canary deployments for Python apps at scale:
9595

96-
- Using a [gradual rollout](/reference/activation-strategies#gradual-rollout) (which we [implemented in a previous section](#gradual-rollouts-for-python-apps)) would be a simple use case but would reduce the amount of control you have over who gets the new feature.
96+
- Using a [gradual rollout](/reference/activation-strategies) (which we [implemented in a previous section](#gradual-rollouts-for-python-apps)) would be a simple use case but would reduce the amount of control you have over who gets the new feature.
9797

9898
- Using either [constraints](/reference/activation-strategies#constraints) or [segments](/reference/segments) (which are a collection of constraints) for a subset of your users to get the new feature vs. the old feature, for _more_ control than a gradual rollout
9999

website/docs/feature-flag-tutorials/python/implementing-feature-flags.mdx

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ Here are the steps we will cover in this tutorial:
2323
2. [Spin up a local flag provider](#2-install-a-local-feature-flag-provider)
2424
3. [Configure a feature flag](#3-create-and-configure-the-feature-flag)
2525
4. [Add Unleash to a Python Flask app](#4-add-unleash-to-a-python-app)
26-
5. [Toggle the database deletion route](#5-use-a-feature-flag-to-roll-out-a-delete-method)
26+
5. [Toggle the database deletion route](#5-use-a-feature-flag-to-release-a-delete-method)
2727
6. [Verify the feature flag experience](#6-verify-the-toggle-experience)
28-
7. [Improve feature flag error handling](#7-improve-a-feature-flag-implementation-with-error-handling)
2928

3029
Watch the video tutorial and follow along with the code from this documentation.
3130

website/docs/feature-flag-tutorials/rails/rails-examples.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Often, canary deployments are managed at the load balancer level while feature f
9393

9494
Unleash has a few ways to help manage canary deployments for Ruby apps at scale:
9595

96-
- Using a [gradual rollout](/reference/activation-strategies#gradual-rollout) (which we [implemented in a previous section](#gradual-rollouts-for-ruby-apps)) would be a simple use case but would reduce the amount of control you have over who gets the new feature.
96+
- Using a [gradual rollout](/reference/activation-strategies) (which we [implemented in a previous section](#gradual-rollouts-for-rails-apps)) would be a simple use case but would reduce the amount of control you have over who gets the new feature.
9797

9898
- Using either [constraints](/reference/activation-strategies#constraints) or [segments](/reference/segments) (which are a collection of constraints) for a subset of your users to get the new feature vs. the old feature, for _more_ control than a gradual rollout
9999

website/docs/feature-flag-tutorials/react/examples.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Often, canary deployments are managed at the load balancer level while feature f
9696

9797
Unleash has a few ways to help manage canary deployments for React apps at scale:
9898

99-
- Using a [gradual rollout](/reference/activation-strategies#gradual-rollout) (which we [implemented in a previous section](#gradual-rollouts-for-react-apps)) would be a simple use case but would reduce the amount of control you have over who gets the new feature.
99+
- Using a [gradual rollout](/reference/activation-strategies) (which we [implemented in a previous section](#gradual-rollouts-for-react-apps)) would be a simple use case but would reduce the amount of control you have over who gets the new feature.
100100

101101
- Using either [constraints](/reference/activation-strategies#constraints) or [segments](/reference/segments) (which are a collection of constraints) for a subset of your users to get the new feature vs. the old feature, for _more_ control than a gradual rollout
102102

website/docs/feature-flag-tutorials/ruby/ruby-examples.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Often, canary deployments are managed at the load balancer level while feature f
9292

9393
Unleash has a few ways to help manage canary deployments for Ruby apps at scale:
9494

95-
- Using a [gradual rollout](/reference/activation-strategies#gradual-rollout) (which we [implemented in a previous section](#gradual-rollouts-for-ruby-apps)) would be a simple use case but would reduce the amount of control you have over who gets the new feature.
95+
- Using a [gradual rollout](/reference/activation-strategies) (which we [implemented in a previous section](#gradual-rollouts-for-ruby-apps)) would be a simple use case but would reduce the amount of control you have over who gets the new feature.
9696

9797
- Using either [constraints](/reference/activation-strategies#constraints) or [segments](/reference/segments) (which are a collection of constraints) for a subset of your users to get the new feature vs. the old feature, for _more_ control than a gradual rollout
9898

website/docs/feature-flag-tutorials/rust/rust-examples.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Often, canary deployments are managed at the load balancer level while feature f
113113

114114
Unleash has a few ways to help manage canary deployments for Rust apps:
115115

116-
- Using a [gradual rollout](/reference/activation-strategies#gradual-rollout) (which we [implemented in a previous section](#gradual-rollouts-for-rust-apps)) would be a simple use case but would reduce the amount of control you have over who gets the new feature.
116+
- Using a [gradual rollout](/reference/activation-strategies) (which we [implemented in a previous section](#gradual-rollouts-for-rust-apps)) would be a simple use case but would reduce the amount of control you have over who gets the new feature.
117117

118118
- Using either [constraints](/reference/activation-strategies#constraints) or [segments](/reference/segments) (which are a collection of constraints) for a subset of your users to get the new feature vs. the old feature, for _more_ control than a gradual rollout
119119

website/docs/feature-flag-tutorials/use-cases/a-b-testing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ In this tutorial, you will learn how to set up and run an A/B test using feature
1717
2. [Target specific users for each test variant](#target-users-for-ab-testing)
1818
3. [Manage cross-session visibility of test variants](#manage-user-session-behavior)
1919
4. [Connect feature flag impression data to conversion outcomes](#track-ab-testing-for-your-key-performance-metrics)
20-
5. [Roll out the winning variant to all users](#rollout-the-winning-variant-to-all-users)
20+
5. [Roll out the winning variant to all users](#roll-out-the-winning-variant-to-all-users)
2121

2222
You will also learn about how to [automate advanced A/B testing strategies](#multi-arm-bandit-tests-to-find-the-winning-variant) such as multi-arm bandit testing using feature flags.
2323

website/docs/feature-flag-tutorials/use-cases/gradual-rollout.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Unleash provides the data to log any change that has happened over time, at the
162162

163163
![Events for a feature flag. The Event log tab is highlighted and the UI shows the most recent changes, including a JSON diff and the change details.](/img/unleash-toggle-history.png)
164164

165-
Learn more about [Event Log](/reference/events#event-log/) in our documentation.
165+
Learn more about [Event Log](/reference/events#event-log) in our documentation.
166166

167167
### Managing Change Requests
168168

website/docs/how-to/how-to-create-feature-toggles.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Constraints aren't fixed and can be changed later to further narrow your audienc
9797

9898
:::tip API: Add constraints
9999

100-
You can either [add constraints when you add the strategy](/reference/api/legacy/unleash/admin/features-v2#add-strategy) or [PUT](/reference/api/legacy/unleash/admin/features-v2#update-strategy 'PUT an activation strategy') or [PATCH the strategy afterwards](/reference/api/legacy/unleash/admin/features-v2#put-strategy)
100+
You can either [add constraints when you add the strategy](/reference/api/unleash/add-feature-strategy) or [PUT](/reference/api/unleash/update-feature-strategy) or [PATCH](/reference/api/unleash/patch-feature-strategy) the strategy later.
101101

102102
:::
103103

@@ -115,7 +115,7 @@ This can be done after you have created a strategy.
115115

116116
:::tip API: add segments
117117

118-
Use the [API for adding segments to a strategy](/reference/api/legacy/unleash/admin/segments#replace-activation-strategy-segments) to add segments to your strategy.
118+
Use the [API for adding segments to a strategy](/reference/api/unleash/update-feature-strategy-segments) to add segments to your strategy.
119119

120120
:::
121121

@@ -133,7 +133,7 @@ This can be done at any point after you've created your flag.
133133

134134
:::tip API: add variants
135135

136-
Use the [update variants endpoint](/reference/api/legacy/unleash/admin/features-v2#update-variants). The payload should be your desired variant configuration.
136+
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.
137137

138138
:::
139139

website/docs/how-to/how-to-run-the-unleash-proxy.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Placeholders in the code samples below are delimited by angle brackets (i.e. `<p
1010

1111
:::
1212

13-
The [Unleash Proxy](../reference/unleash-proxy) provides a way for you to consume feature flags in [front-end clients](../reference/sdks#front-end-sdks), such as the [JavaScript Proxy client](../reference/sdks/javascript-browser) and [React Proxy client](../reference/sdks/react).
13+
The [Unleash Proxy](../reference/unleash-proxy) provides a way for you to consume feature flags in [front-end clients](../reference/sdks#client-side-sdks), such as the [JavaScript Proxy client](../reference/sdks/javascript-browser) and [React Proxy client](../reference/sdks/react).
1414

1515
Depending on your setup, the Proxy is most easily run in one of two ways, depending on your situation:
1616

website/docs/quickstart.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Tabs from '@theme/Tabs';
66

77
import TabItem from '@theme/TabItem';
88

9-
This guide helps you set up Unleash in just a few minutes. The fastest way to get started is by using [Docker](#set-up-unleash-with-docker). If Docker doesn't work for you, see [other ways to try Unleash](#additional-ways-to-try-unleash).
9+
This guide helps you set up Unleash in just a few minutes. The fastest way to get started is by using [Docker](#set-up-unleash-with-docker). If Docker doesn't work for you, see [other ways to try Unleash](#other-ways-to-try-unleash).
1010

1111
## Set up Unleash with Docker
1212

@@ -43,7 +43,7 @@ For more details on creating feature flags, see [How to create a feature flag](/
4343
Next, use one of the client or server-side [SDKs](/reference/sdks) to connect Unleash with your application.
4444

4545
1. Create an API token:
46-
- For client-side SDKs, use a [frontend token](/reference/api-tokens-and-client-keys#front-end-tokens).
46+
- For client-side SDKs, use a [frontend token](/reference/api-tokens-and-client-keys#frontend-tokens).
4747
- For server-side SDKs, use a [client token](/reference/api-tokens-and-client-keys#client-tokens).
4848
2. Determine your Unleash URL:
4949
- For client-side SDKs, use `<your-unleash-instance>/api/frontend`.

0 commit comments

Comments
 (0)