From 78bd5938a392318601bfca4c2e6783727dd33d37 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Fri, 28 Sep 2018 01:12:07 +0200 Subject: [PATCH] Improve sass styles --- README.md | 16 ++-- assets/_markdown.scss | 2 +- assets/_variables.scss | 4 +- assets/styles.scss | 73 +++++++++++-------- layouts/docs/baseof.html | 23 +++--- .../{nav-after.html => menu-after.html} | 0 .../{nav-before.html => menu-before.html} | 0 layouts/partials/docs/menu-filetree.html | 2 +- layouts/partials/docs/mobile-header.html | 4 + 9 files changed, 70 insertions(+), 54 deletions(-) rename layouts/partials/docs/inject/{nav-after.html => menu-after.html} (100%) rename layouts/partials/docs/inject/{nav-before.html => menu-before.html} (100%) create mode 100644 layouts/partials/docs/mobile-header.html diff --git a/README.md b/README.md index 5828986..bebbc05 100644 --- a/README.md +++ b/README.md @@ -90,8 +90,8 @@ type: docs # Set page weight to re-arrange items in file-tree menu (if BookMenuBundle not set) weight: 10 -# (Optional) Set to mark page as top level section in file-tree menu (if BookMenuBundle not set) -bookRootSection: true +# (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 bookShowToC: false @@ -101,12 +101,12 @@ 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/nav-before.html` | At the beginning of `