-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs/{concept,howto,tutorial}: promote About pages
This change moves the content found at - /docs/concept/about-these-guides/ - /docs/howto/about-these-guides/ - /docs/tutorial/about-these-tutorials/ ... up one level, to their respective top-level containers. The original approach was taken to ensure that a user already inside any of these hierarchies (e.g. reading a tutorial) had an obviously clickable way to reach these pages' explanatory content. The top-level container links on the left hand nav now suit this purpose, rendering a separate "About" page redundant. This change necessarily removes the Netlify redirect from the top-level container page to the About page. The top-level container page contains a category index by default, and this index is left intact (instead of removing it with `index_hide:true`) to provide the {ctrl/cmd}-F "search on page" user with an easy route to any specific category sub-page they might wish to reach. The `hide_summary:true` parameter is used on some pages to exclude them from this automatically generated index, but without excluding them from the left hand nav. This shouldn't affect the content on the *excluded* page in any way. Pages are also updated to use the hugo `{{< tag "xyz" >}}` shortcode, as it was introduced after the relevant pages were originally written. Preview-Path: /docs/concept/ Preview-Path: /docs/howto/ Preview-Path: /docs/tutorial/ Preview-Path: /docs/concept/about-these-guides/ Preview-Path: /docs/howto/about-these-guides/ Preview-Path: /docs/tutorial/about-these-tutorials/ Signed-off-by: Jonathan Matthews <[email protected]> Change-Id: I8ecdbc7953ceecfa5aec6b07cf30b1df56704a92 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cuelang.org/+/1172243 TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Paul Jolly <[email protected]>
- Loading branch information
1 parent
0185c95
commit 9424e4e
Showing
31 changed files
with
252 additions
and
290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
title: Find a guide 🔍 | ||
weight: 20 | ||
toc_hide: false | ||
hide_summary: true | ||
--- | ||
|
||
# TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
title: Popular guides | ||
weight: 30 | ||
toc_hide: false | ||
hide_summary: true | ||
--- | ||
|
||
# TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
title: Find a guide 🔍 | ||
weight: 20 | ||
toc_hide: false | ||
hide_summary: true | ||
--- | ||
|
||
# TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package site | ||
{ | ||
content: { | ||
docs: { | ||
howto: { | ||
page: { | ||
cache: { | ||
code: { | ||
example: "yqmkRAiwteffdSCxIrFElnHfoKrGbKGeJX1ua55Mpnc=" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
title: Popular guides | ||
weight: 30 | ||
toc_hide: false | ||
hide_summary: true | ||
--- | ||
|
||
# TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
title: Find a tutorial 🔍 | ||
weight: 20 | ||
toc_hide: false | ||
hide_summary: true | ||
--- | ||
|
||
# TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
title: New to CUE? | ||
weight: 30 | ||
toc_hide: false | ||
hide_summary: true | ||
--- | ||
|
||
# Welcome! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
title: Find a guide 🔍 | ||
weight: 20 | ||
toc_hide: false | ||
hide_summary: true | ||
--- | ||
|
||
# TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
title: Popular guides | ||
weight: 30 | ||
toc_hide: false | ||
hide_summary: true | ||
--- | ||
|
||
# TODO |
Oops, something went wrong.