Commit 30f769f3 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'improve-wiki-custom-sidebar-docs' into 'master'

Improved custom wiki sidebar docs

See merge request gitlab-org/gitlab-ce!27888
parents f4dfbb68 0a08fb3c
...@@ -116,7 +116,9 @@ instructions. ...@@ -116,7 +116,9 @@ instructions.
## Customizing sidebar ## Customizing sidebar
By default, the wiki would render a sidebar which lists all the pages for the On the project's Wiki page, there is a right side navigation that renders the full Wiki pages list by default, with hierarchy.
wiki. You could as well provide a `_sidebar` page to replace this default
sidebar. When this customized sidebar page is provided, the default sidebar If the Wiki repository contains a `_sidebar` page, the file of this page replaces the default side navigation.
would not be rendered, but the customized one. This custom file serves to render it's custom content, fully replacing the standard sidebar.
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