Commit 0cdbca1d authored by Suzanne Selhorn's avatar Suzanne Selhorn

Merge branch 'docs-debian-api-fix' into 'master'

Remove redundant Debian API instructions

See merge request gitlab-org/gitlab!68495
parents 4f4d61a4 f5a04d67
...@@ -28,22 +28,10 @@ for details on which headers and token types are supported. ...@@ -28,22 +28,10 @@ for details on which headers and token types are supported.
## Enable the Debian API ## Enable the Debian API
Debian repository support is still a work in progress. It's gated behind a feature flag that's The Debian API is behind a feature flag that is disabled by default.
**disabled by default**.
[GitLab administrators with access to the GitLab Rails console](../../administration/feature_flags.md) [GitLab administrators with access to the GitLab Rails console](../../administration/feature_flags.md)
can opt to enable it. can opt to enable it. To enable it, follow the instructions in
[Enable the Debian API](../../user/packages/debian_repository/index.md#enable-the-debian-api).
To enable it:
```ruby
Feature.enable(:debian_packages)
```
To disable it:
```ruby
Feature.disable(:debian_packages)
```
## Enable the Debian group API ## Enable the Debian group API
......
...@@ -20,22 +20,10 @@ For more information about working with Debian packages, see the ...@@ -20,22 +20,10 @@ For more information about working with Debian packages, see the
## Enable the Debian API ## Enable the Debian API
Debian repository support is still a work in progress. It's gated behind a feature flag that's The Debian API is behind a feature flag that is disabled by default.
**disabled by default**.
[GitLab administrators with access to the GitLab Rails console](../../administration/feature_flags.md) [GitLab administrators with access to the GitLab Rails console](../../administration/feature_flags.md)
can opt to enable it. can opt to enable it. To enable it, follow the instructions in
[Enable the Debian API](../../user/packages/debian_repository/index.md#enable-the-debian-api).
To enable it:
```ruby
Feature.enable(:debian_packages)
```
To disable it:
```ruby
Feature.disable(:debian_packages)
```
## List all Debian distributions in a project ## List all Debian distributions in a project
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment