Commit 280c618c authored by Freezed's avatar Freezed Committed by Marcia Ramos

Remove 2 trailing spaces

Job #528768942 failed on doc lint :

    $ markdownlint --config .markdownlint.json 'doc/**/*.md'
    doc/user/project/wiki/index.md: 124: MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]
    doc/user/project/wiki/index.md: 133: MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]
parent 0b4643a7
...@@ -189,7 +189,24 @@ instructions. ...@@ -189,7 +189,24 @@ instructions.
On the project's Wiki page, there is a right side navigation that renders the full Wiki pages list by default, with hierarchy. On the project's Wiki page, there is a right side navigation that renders the full Wiki pages list by default, with hierarchy.
If the Wiki repository contains a `_sidebar` page, the file of this page replaces the default side navigation. To customize the sidebar, you can create a file named `_sidebar` to fully replace the default navigation.
This custom file serves to render it's custom content, fully replacing the standard sidebar.
CAUTION: **Warning:**
Unless you link the `_sidebar` file from your custom nav, to edit it you'll have to access it directly
from the browser's address bar by typing: `https://gitlab.com/<namespace>/<project_name>/-/wikis/_sidebar` (for self-managed GitLab instances, replace `gitlab.com` with your instance's URL).
Example for `_sidebar` (using Markdown format):
```markdown
### [Home](home)
- [Hello World](hello)
- [Foo](foo)
- [Bar](bar)
---
- [Sidebar](_sidebar)
```
Support for displaying a generated TOC with a custom side navigation is planned. Support for displaying a generated TOC with a custom side navigation is planned.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment