diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-25 00:08:11 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-25 00:08:11 +0000 |
commit | 23bc19cb73aad969c9636b8b935111645e809e54 (patch) | |
tree | 887c9e014f8345f577769db4f75315ca59853b98 /doc/development/documentation | |
parent | c4db541c1b2c97ab1eda354ea3899489fe5c33e5 (diff) | |
download | gitlab-ce-23bc19cb73aad969c9636b8b935111645e809e54.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/documentation')
-rw-r--r-- | doc/development/documentation/styleguide.md | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/development/documentation/styleguide.md b/doc/development/documentation/styleguide.md index 88f8b9b57d2..16a175ec115 100644 --- a/doc/development/documentation/styleguide.md +++ b/doc/development/documentation/styleguide.md @@ -972,6 +972,7 @@ The following are examples of source Markdown for menu items with their publishe 1. Go to **{book}** **Wiki** 1. Go to **{snippet}** **Snippets** 1. Go to **{users}** **Members** +1. Select the **More actions** **{ellipsis_v}** icon > **Hide stage** ``` 1. Go to **{home}** **Project overview > Details** @@ -986,6 +987,7 @@ The following are examples of source Markdown for menu items with their publishe 1. Go to **{book}** **Wiki** 1. Go to **{snippet}** **Snippets** 1. Go to **{users}** **Members** +1. Select the **More actions** **{ellipsis_v}** icon > **Hide stage** ## Alert boxes @@ -1364,17 +1366,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 -### Disabling the feature +### Enabling 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.disable(:feature_flag) +Feature.enable(:feature_flag) ``` ```` |