Reduce repetition, rename to match generated filenames

This commit is contained in:
2019-03-14 13:26:43 +01:00
parent 1d6cfeade5
commit c706a02c2b
12 changed files with 14 additions and 32 deletions

View File

@@ -1,6 +1,6 @@
---
nav_order: 1
permalink: /docs
permalink: /
---
# Home
{: .no_toc }

View File

@@ -1,11 +1,9 @@
---
layout: default
title: Chapter 1
nav_order: 3
has_children: true
permalink: /docs/chapter-1
permalink: /chapter-1
---
# A Page
# Chapter 1
{: .no_toc }
## Table of contents

View File

@@ -1,10 +1,8 @@
---
layout: default
title: Section 2
nav_order: 3
nav_order: 1
parent: Chapter 1
---
# A Page
# Section 1
{: .no_toc }
## Table of contents

View File

@@ -1,10 +1,8 @@
---
layout: default
title: Section 1
nav_order: 2
parent: Chapter 1
---
# A Page
# Section 2
{: .no_toc }
## Table of contents

View File

@@ -1,11 +1,9 @@
---
layout: default
title: Chapter 2
nav_order: 5
has_children: true
permalink: /docs/chapter-2
permalink: /chapter-2
---
# A Page
# Chapter 2
{: .no_toc }
## Table of contents

View File

@@ -1,10 +1,8 @@
---
layout: default
title: Section 1
nav_order: 1
parent: Chapter 2
---
# A Page
# Section 1
{: .no_toc }
## Table of contents

View File

@@ -1,10 +1,8 @@
---
layout: default
title: Section 2
nav_order: 2
parent: Chapter 2
---
# A Page
# Section 2
{: .no_toc }
## Table of contents

View File

@@ -1,11 +1,10 @@
---
layout: default
title: Sub Chapter 1
nav_order: 3
has_children: true
parent: Chapter 2
permalink: /chapter-2/sub-chapter-1
---
# A Page
# Sub Chapter 1
{: .no_toc }
## Table of contents

View File

@@ -1,11 +1,9 @@
---
layout: default
title: Section 1
nav_order: 1
parent: Sub Chapter 1
grandparent: Chapter 2
---
# A Page
# Section 1
{: .no_toc }
## Table of contents

View File

@@ -1,12 +1,9 @@
---
layout: default
title: Section 2
nav_order: 2
parent: Sub Chapter 1
grandparent: Chapter 2
permalink: /docs/chapter-2
---
# A Page
# Section 2
{: .no_toc }
## Table of contents