Skip to content

Commit

Permalink
docs/introduction: hide unwritten pages
Browse files Browse the repository at this point in the history
This change hides /docs/introduction/{getting-started,what-is-cue}/ from
the nav, and places TODO markers in their content files.

We can't(*) hide the pages from the previous/next lozenges near the
bottom of their sibling pages, so the frontmatter "disabled" marker is
set so that they're clearly rendered as TODO, should a user happen
across them.

*) without deleting the pages entirely

Preview-Path: /docs/introduction/getting-started/
Preview-Path: /docs/introduction/what-is-cue/
Change-Id: Ibbae187d90a4f0ffb3add45f2e5262950df0bacc
Signed-off-by: Jonathan Matthews <github@hello.jonathanmatthews.com>
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cuelang.org/+/1173560
Reviewed-by: Paul Jolly <paul@myitcv.io>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
  • Loading branch information
jpluscplusm committed Dec 13, 2023
1 parent b4006f5 commit 71b23c1
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions content/docs/introduction/getting-started/en.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
---
title: Getting started
weight: 40
disabled: true
no_index: true
toc_hide: true
hide_summary: true
---

<!-- TODO: write content -->
6 changes: 6 additions & 0 deletions content/docs/introduction/what-is-cue/en.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
---
title: What is CUE?
weight: 30
disabled: true
no_index: true
toc_hide: true
hide_summary: true
---

<!-- TODO: write content -->
6 changes: 6 additions & 0 deletions hugo/content/en/docs/introduction/getting-started/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
---
title: Getting started
weight: 40
disabled: true
no_index: true
toc_hide: true
hide_summary: true
---

<!-- TODO: write content -->
6 changes: 6 additions & 0 deletions hugo/content/en/docs/introduction/what-is-cue/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
---
title: What is CUE?
weight: 30
disabled: true
no_index: true
toc_hide: true
hide_summary: true
---

<!-- TODO: write content -->

0 comments on commit 71b23c1

Please sign in to comment.