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
fb30d07c
Commit
fb30d07c
authored
Mar 24, 2021
by
Suzanne Selhorn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated to show five levels of nav
parent
09534113
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
doc/development/documentation/site_architecture/global_nav.md
...development/documentation/site_architecture/global_nav.md
+12
-4
No files found.
doc/development/documentation/site_architecture/global_nav.md
View file @
fb30d07c
...
...
@@ -93,11 +93,13 @@ mechanics of what is required is [documented below](#data-file) but, in principl
## How it works
The global nav has
3 component
s:
The global nav has
five level
s:
-
**Section**
-
Category
-
Doc
-
Doc
-
Doc
The available sections are described on the table below:
...
...
@@ -203,10 +205,10 @@ add the attribute `external_url: true` below the category title. Example:
#### Docs
Each doc represents the third level of nav links. They must be always
Each doc represents the third
, fourth, and fifth
level of nav links. They must be always
added within a category.
Example with
one doc link
:
Example with
three doc links, one at each level
:
```
yaml
-
category_title
:
Category title
...
...
@@ -214,10 +216,16 @@ Example with one doc link:
docs
:
-
doc_title
:
Document title
doc_url
:
'
doc-link'
docs
:
-
doc_title
:
Document title
doc_url
:
'
doc-link'
docs
:
-
doc_title
:
Document title
doc_url
:
'
doc-link'
```
A category supports as many docs as necessary, but, for clarity, try to not
overpopulate a category.
overpopulate a category.
Also, do not use more than three levels of docs.
Example with multiple docs:
...
...
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