diff options
author | Marcia Ramos <virtua.creative@gmail.com> | 2019-07-01 15:35:53 +0100 |
---|---|---|
committer | Marcia Ramos <virtua.creative@gmail.com> | 2019-07-01 15:35:53 +0100 |
commit | 8810aad6be9a7352cdc89099ce5178c1f0679bf8 (patch) | |
tree | 06742657415672f8e196df9a885de24667c1c327 | |
parent | 80bb30e7d1176f62da8ad1ec6a64e0baa06ce7e9 (diff) | |
download | gitlab-ce-docs-update-global-nav.tar.gz |
Fixes doc typosdocs-update-global-nav
-rw-r--r-- | doc/development/documentation/site_architecture/global_nav.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/development/documentation/site_architecture/global_nav.md b/doc/development/documentation/site_architecture/global_nav.md index 906f0411c72..20eeebf444f 100644 --- a/doc/development/documentation/site_architecture/global_nav.md +++ b/doc/development/documentation/site_architecture/global_nav.md @@ -221,7 +221,7 @@ and the following syntax rules. URL is `user/project/cycle_analytics.html`. - For `README.html` files, add the complete path `path/to/README.html`. - For `index.html` files, use the clean (canonical) URL: `path/to/`. -- For EE-only docs, use the same relative path, but add the attribute `ee_only: true` below. +- For EE-only docs, use the same relative path, but add the attribute `ee_only: true` below the `doc_url` or `category_url`, as explained above. This displays an "info" icon on the nav to make the user aware that the feature is EE-only. @@ -315,11 +315,11 @@ categories (`cat[:category_url]`), and docs (`doc[:doc_url]`) URLs. #### `ee-only` docs -If a given doc for a feature present only in GitLab EE, it's tagged +Docs for features present only in GitLab EE are tagged in the data file by `ee-only` and an icon is displayed on the nav link indicating that the `ee-only` feature is not available in CE. -The `ee-only` attribute is available for `categories` (`<% if \ cat[:ee_only] %>`) +The `ee-only` attribute is available for `categories` (`<% if cat[:ee_only] %>`) and `docs` (`<% if doc[:ee_only] %>`), but not for `sections`. ### CSS classes |