Hide Index and/or Table of Contents (ToC)

  • What do you need?

The ability to hide the article index (on the lefthand side) and/or the Table of Contents (ToC) displayed on the righthand side of the page.

  • Why do you need it?

Articles among the section may be irrelevant and not need to be displayed; confusion caused among users. ToC may also be hidden for a wider article view.

  • How would it work?

In the editor settings, a checkbox for either of these visual elements to be displayed. The page should be scaled accordingly (widened to match the whitespace, for example).

Hey @Matthew_Roark,

You can hide these sections using CSS:

.customise .live app-sidebar {
visibility: hidden;
}

.customise .live app-table-of-contents {
visibility: hidden;
}

You can even hide Index and TOC for only certain documentation sections with a more specific selector.

Regarding widening the page, it is not recommended as wider content makes following the lines harder, and makes the reader less focused. However, if needed, this can be also done with CSS.

Does this provide what you need?

Hiding Index and TOC has not been requested previously, so it wouldn’t make sense to make it configurable so far as a pre-defined documentation setting.

1 Like

Hiding Index and TOC has not been requested previously, so it wouldn’t make sense to make it configurable so far as a pre-defined documentation setting.

I could use this in a couple of places, where want a kind of info page without the ToC and index.

Can you try it out with the CSS changes, having it applied on specific page_ selectors? It should do the job.