Skip to content

Commit fa3d3aa

Browse files
committed
Absolute URLs
1 parent 9ca4380 commit fa3d3aa

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

‎docs/feature-flags.md‎

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ When starting work on a feature, we should create a matching feature flag:
4949
```js
5050
SettingsStore.isFeatureEnabled("feature_cats")
5151
```
52-
3. Add the feature to the [set of labs on develop](../riot.im/develop/config.json):
52+
3. Add the feature to the [set of labs on develop](https://github.com/vector-im/riot-web/blob/develop/riot.im/develop/config.json):
5353
```json
5454
"features": {
5555
"feature_cats": "labs"
5656
},
5757
```
58-
4. Document the feature in the [labs documentation](labs.md)
58+
4. Document the feature in the [labs documentation](https://github.com/vector-im/riot-web/blob/develop/docs/labs.md)
5959

6060
With these steps completed, the feature is disabled by default, but can be
6161
enabled on develop by interested users for testing.
@@ -65,7 +65,7 @@ following lists a few common options.
6565

6666
## Enabling by default on develop
6767

68-
Set the feature to `enable` in the [develop config](../riot.im/develop/config.json):
68+
Set the feature to `enable` in the [develop config](https://github.com/vector-im/riot-web/blob/develop/riot.im/develop/config.json):
6969

7070
```json
7171
"features": {
@@ -75,15 +75,17 @@ Set the feature to `enable` in the [develop config](../riot.im/develop/config.js
7575

7676
## Enabling by default on staging and app
7777

78-
Set the feature to `enable` in the [app config](../riot.im/app/config.json).
78+
Set the feature to `enable` in the [app config](https://github.com/vector-im/riot-web/blob/develop/riot.im/app/config.json).
7979

8080
## Feature deployed successfully
8181

8282
Once we're confident that a feature is working well, we should remove the flag:
8383

8484
1. Remove the [setting](https://github.com/matrix-org/matrix-react-sdk/blob/develop/src/settings/Settings.js)
8585
2. Remove all `isFeatureEnabled` lines that test for the feature's setting
86-
3. Remove the feature from the [labs documentation](labs.md)
87-
4. Remove feature state from [develop](../riot.im/develop/config.json) and
88-
[app](../riot.im/app/config.json) configs
86+
3. Remove the feature from the [labs documentation](https://github.com/vector-im/riot-web/blob/develop/docs/labs.md)
87+
4. Remove feature state from
88+
[develop](https://github.com/vector-im/riot-web/blob/develop/riot.im/develop/config.json)
89+
and [app](https://github.com/vector-im/riot-web/blob/develop/riot.im/app/config.json)
90+
configs
8991
5. Celebrate! 🥳

0 commit comments

Comments
 (0)