-
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/reference: add modules landing page
This re-restablishes the path /docs/reference/modules/ by using it to present a landing page for CUE modules. A brief introduction provides some context, before leading on to 6 pages selected to give a rounded impression of the modules-related resources available to the reader. The "modules" tag is linked to, instead of providing a dynamic on-page list of the tagged content, because the search shortcode can't pre-populate a query with a tag. This is tracked in cue-lang/cue#3394. Also: the modules reference guide is retitled slightly in order to provide a clear user experience when linking to it by title from across the site. Preview-Path: /docs/reference/modules/ Preview-Path: /docs/reference/modules/manual/ Preview-Path: /docs/reference/ Signed-off-by: Jonathan Matthews <[email protected]> Change-Id: Ia8dc6b1d6e4909469a34200d97ff4f0a2ea6e076 Dispatch-Trailer: {"type":"trybot","CL":1199965,"patchset":2,"ref":"refs/changes/65/1199965/2","targetBranch":"master"}
- Loading branch information
1 parent
ff92bfb
commit f09f2d3
Showing
8 changed files
with
145 additions
and
14 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 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,57 @@ | ||
--- | ||
title: CUE Modules | ||
tags: [modules] | ||
weight: 60 | ||
index_hide: true | ||
--- | ||
|
||
Modules are how CUE manages dependencies | ||
They must be published to a registry for users to fetch and work with. | ||
|
||
Learn about CUE modules using the suggested links below, | ||
or follow the {{<tag modules>}} tag to explore the full range of modules-related | ||
pages on the site. | ||
|
||
{{<cards>}} | ||
{{<card title="Reference manual" | ||
label="reference/manual" | ||
href="manual/" | ||
>}} | ||
The CUE modules reference manual and glossary | ||
{{</card>}} | ||
|
||
{{<card title="Concept Guide" | ||
label="concept/faq" | ||
href="/docs/concept/faq/new-modules-vs-old-modules/" | ||
>}} | ||
CUE's "new" versus "old" modules -- your questions: answered | ||
{{</card>}} | ||
|
||
{{<card title="The cue command" | ||
label="reference/command/cue" | ||
href="/docs/reference/command/cue-help-modules" | ||
>}} | ||
The built-in help text for\ | ||
`cue help modules` | ||
{{</card>}} | ||
|
||
{{<card title="Getting started" | ||
label="tutorial" | ||
href="/docs/tutorial/working-with-the-central-registry/" | ||
>}} | ||
Working with the CUE Central Registry | ||
{{</card>}} | ||
{{<card title="Collaborate" | ||
label="tutorial" | ||
href="/docs/tutorial/publishing-modules-to-the-central-registry/" | ||
>}} | ||
Publishing modules to the Central Registry | ||
{{</card>}} | ||
|
||
{{<card title="Private infrastructure" | ||
label="tutorial" | ||
href="/docs/tutorial/working-with-a-custom-module-registry/" | ||
>}} | ||
Working with a custom module registry | ||
{{</card>}} | ||
{{</cards>}} |
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,20 @@ | ||
package site | ||
|
||
{ | ||
content: { | ||
docs: { | ||
reference: { | ||
modules: { | ||
page: { | ||
cache: { | ||
code: { | ||
"module.cue schema": "7cWN6k7fEnRSRe3w6rT/Htrv4tjP5SB63FgJ0gC+DCE=" | ||
"module.cue example": "ZYcFwVPB6IQGp04Op4TJt+MwoQSJXKXs14NYfsejVdQ=" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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 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,3 @@ | ||
package site | ||
|
||
content: docs: reference: modules: page: _ |
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 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,57 @@ | ||
--- | ||
title: CUE Modules | ||
tags: [modules] | ||
weight: 60 | ||
index_hide: true | ||
--- | ||
|
||
Modules are how CUE manages dependencies | ||
They must be published to a registry for users to fetch and work with. | ||
|
||
Learn about CUE modules using the suggested links below, | ||
or follow the {{<tag modules>}} tag to explore the full range of modules-related | ||
pages on the site. | ||
|
||
{{<cards>}} | ||
{{<card title="Reference manual" | ||
label="reference/manual" | ||
href="manual/" | ||
>}} | ||
The CUE modules reference manual and glossary | ||
{{</card>}} | ||
|
||
{{<card title="Concept Guide" | ||
label="concept/faq" | ||
href="/docs/concept/faq/new-modules-vs-old-modules/" | ||
>}} | ||
CUE's "new" versus "old" modules -- your questions: answered | ||
{{</card>}} | ||
|
||
{{<card title="The cue command" | ||
label="reference/command/cue" | ||
href="/docs/reference/command/cue-help-modules" | ||
>}} | ||
The built-in help text for\ | ||
`cue help modules` | ||
{{</card>}} | ||
|
||
{{<card title="Getting started" | ||
label="tutorial" | ||
href="/docs/tutorial/working-with-the-central-registry/" | ||
>}} | ||
Working with the CUE Central Registry | ||
{{</card>}} | ||
{{<card title="Collaborate" | ||
label="tutorial" | ||
href="/docs/tutorial/publishing-modules-to-the-central-registry/" | ||
>}} | ||
Publishing modules to the Central Registry | ||
{{</card>}} | ||
|
||
{{<card title="Private infrastructure" | ||
label="tutorial" | ||
href="/docs/tutorial/working-with-a-custom-module-registry/" | ||
>}} | ||
Working with a custom module registry | ||
{{</card>}} | ||
{{</cards>}} |
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