From ffd5e272a8c42becf977125e6e9826ad26e68d23 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Tue, 30 Apr 2019 22:16:02 +0200 Subject: #43, Add bookHidden page param to hide page from side menu --- README.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 6f648d9..aac8e1b 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,10 @@ weight: 10 # (Optional) Set to mark page as flat section in file-tree menu (if BookMenuBundle not set) bookFlatSection: true -# (Optional) Set to hide table of contents, overrides global value +# (Optional) Set true to hide page or section from side menu (if BookMenuBundle not set) +bookHidden: true + +# (Optional) Set true to hide table of contents, overrides global value bookShowToC: false --- ``` @@ -158,13 +161,13 @@ bookShowToC: false ### Partials There are few empty partials you can override in `layouts/partials/` -| Partial | Placement | -| -- | -- | -| `layouts/partials/docs/inject/head.html` | Before closing `` tag | -| `layouts/partials/docs/inject/body.html` | Before closing `` tag | -| `layouts/partials/docs/inject/footer.html` | Before closing `` tag | -| `layouts/partials/docs/inject/menu-before.html` | At the beginning of `