Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
b8179370
Commit
b8179370
authored
Mar 24, 2020
by
Mike Jang
Committed by
Evan Read
Mar 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify sample text for feature flags
parent
bf73a946
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
doc/development/documentation/styleguide.md
doc/development/documentation/styleguide.md
+7
-6
No files found.
doc/development/documentation/styleguide.md
View file @
b8179370
...
...
@@ -1364,17 +1364,18 @@ NOTE: **Note:**
The
[
Product Manager for the relevant group
](
https://about.gitlab.com/handbook/product/categories/#devops-stages
)
must review and approve the addition or removal of any mentions of using feature flags before the doc change is merged.
The following is sample text for adding feature flag documentation for a feature:
The following is sample text for adding feature flag documentation for a feature that is
off by default:
````
md
###
Dis
abling the feature
###
En
abling the feature
This feature comes with the
`:feature_flag`
feature flag
enabled by default. However, in some cases
this feature is incompatible with
old configuration. To turn off the feature while configuration is
migrated,
ask a GitLab administrator with Rails console access to run the following command:
This feature comes with the
`:feature_flag`
feature flag
disabled by default. In some cases,
this feature is incompatible with
an old configuration. To turn on the feature,
ask a GitLab administrator with Rails console access to run the following command:
```
ruby
Feature
.
dis
able
(
:feature_flag
)
Feature
.
en
able
(
:feature_flag
)
```
````
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment