Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-10-16 21:10:30 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-10-16 21:10:30 +0300
commit5fcd4e5fbcad7d74d1c5efa09c6785303af2ebd7 (patch)
tree4a7245bc4c4f6fcc7be3c3c4965a60bed541e533 /doc/development/documentation/styleguide
parent533ad4ac834baef990e3ebf613c2b1fe54f13127 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/documentation/styleguide')
-rw-r--r--doc/development/documentation/styleguide/index.md11
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/development/documentation/styleguide/index.md b/doc/development/documentation/styleguide/index.md
index 74300e8c81a..c3df15f1890 100644
--- a/doc/development/documentation/styleguide/index.md
+++ b/doc/development/documentation/styleguide/index.md
@@ -177,9 +177,14 @@ To populate the metadata, include this information:
### Additional metadata
-Each page can have additional, optional metadata (set in the
-[default.html](https://gitlab.com/gitlab-org/gitlab-docs/-/blob/fc3577921343173d589dfa43d837b4307e4e620f/layouts/default.html#L30-52)
-Nanoc layout), which is displayed at the top of the page if defined.
+The following metadata is optional and is not actively maintained.
+
+- `description`: A short description of what the page is about. See the Google [Best practices for creating quality meta descriptions](https://developers.google.com/search/docs/appearance/snippet#meta-descriptions) for writing tips. This content can be used in search result snippets and is shown in social media previews.
+- `feedback`: Set to `false` to not include the "Help & Feedback" footer.
+- `noindex`: Set to `false` to prevent the page from being indexed by search engines.
+- `redirect_to`: Used to control redirects. For more information, see [Redirects in GitLab documentation](../redirects.md).
+- `searchbar`: Set to `false` to not include the search bar in the page header.
+- `toc`: Set to `false` to not include the "On this page" navigation.
### Deprecated metadata