Help us learn about your current experience with the documentation.
Take the survey.
Create content for drawersIn the GitLab UI, you can display help content in a drawer component. The component for Markdown is in the storybook.
The component points to a Markdown file. Any time you update the Markdown file, the contents of the drawer are updated.
Drawer content is displayed in drawers only, and not on docs.gitlab.com
. The content is rendered in GitLab Flavored Markdown.
To create this content:
In the GitLab repository, go to the /doc/drawers
folder.
Create a Markdown file. Use a descriptive filename. Do not create subfolders.
Add the standard page metadata. Also, include:
Author the content.
If the page includes content that is also on a page on docs.gitlab.com
, on the page’s metadata, include a path to the other file. For example:
source: /doc/user/search/global_search/advanced_search_syntax.md
Work with the developer to view the content in the drawer and verify that the content appears correctly.
H1
heading is the drawer title.H1
.RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4