Docs: Allow unlimited multi-level navigation (#1440)

* Remove `jekyll-default-layout` plugin

* Move docs/navigation-structure to docs/navigation

* Fix uses of line-nos in md files

* Update CHANGELOG.md

---------

Co-authored-by: Matt Wang <matt@matthewwang.me>
This commit is contained in:
Peter Mosses
2024-08-20 22:50:47 +02:00
committed by GitHub
parent a4e4e312aa
commit dd0b814bfd
45 changed files with 638 additions and 405 deletions

View File

@@ -2,7 +2,6 @@
title: Layout
layout: default
nav_order: 4.5
has_children: true
---
# Layout
@@ -18,11 +17,11 @@ You can use [Jekyll's front matter defaults] to specify the same layout for many
## The `default` layout
This page uses the default layout.
This page uses the default layout. This site configures `layout: default` as a [front matter default](https://jekyllrb.com/docs/configuration/front-matter-defaults/) value for all pages in the `docs` directory.
It is a *responsive* layout: on medium and larger width displays, it displays a sidebar, including a navigation panel; on smaller width displays, the sidebar is automatically hidden under a button.
The default layout of Just the Docs is a *responsive* layout: on medium and larger width displays, it displays a sidebar, including a navigation panel; on smaller width displays, the sidebar is automatically hidden under a button.
Each child (and grandchild) page of a top-level page has so-called *breadcrumbs*: links to its parent (and grandparent) pages. It shows the breadcrumbs above the main content of the page.
All pages except top-level pages automatically have a list of so-called *breadcrumbs*: links to their parent pages and any higher-level ancestors. They show the breadcrumbs above the main content of the page.
Each page that has child pages generally has a list of links to those pages (you can suppress it by `has_toc: false` in the front matter). It shows the list as a *table of contents* below the main content.

View File

@@ -2,7 +2,6 @@
title: A minimal layout page
layout: minimal
parent: Layout
has_children: true
---
# A minimal layout page