From 19d762c5dd26a43a9fc9ea123553c15a9f450572 Mon Sep 17 00:00:00 2001 From: Gerhard Lazu Date: Tue, 29 Mar 2022 00:14:34 +0100 Subject: [PATCH] Simplify Europa Docs sidebar - move Dagger 0.1 references to the top - move Dagger CUE API under Core Concepts, after What is CUE? - move Go on Docker Swarm under Use Cases A few minor title changes: - Dagger CUE API (0.2+) -> Dagger CUE API - What is Cue? -> What is CUE? Signed-off-by: Gerhard Lazu --- .../1214-migrate-from-dagger-0.1.md | 0 docs/core-concepts/1213-dagger-cue.md | 4 +-- docs/core-concepts/1215-what-is-cue.md | 2 +- website/sidebars.js | 25 ++++++++----------- 4 files changed, 13 insertions(+), 18 deletions(-) rename docs/{knowledge-base => }/1214-migrate-from-dagger-0.1.md (100%) diff --git a/docs/knowledge-base/1214-migrate-from-dagger-0.1.md b/docs/1214-migrate-from-dagger-0.1.md similarity index 100% rename from docs/knowledge-base/1214-migrate-from-dagger-0.1.md rename to docs/1214-migrate-from-dagger-0.1.md diff --git a/docs/core-concepts/1213-dagger-cue.md b/docs/core-concepts/1213-dagger-cue.md index 3733f111..ca81f60b 100644 --- a/docs/core-concepts/1213-dagger-cue.md +++ b/docs/core-concepts/1213-dagger-cue.md @@ -3,9 +3,9 @@ slug: /1213/api displayed_sidebar: europa --- -# Dagger CUE API (0.2+) +# Dagger CUE API -As of Dagger 0.2 (codename Europa), the Dagger CUE API can be imported via `dagger.io/dagger` & `dagger.io/dagger/core` +As of Dagger 0.2.0, the Dagger CUE API can be imported via `dagger.io/dagger` & `dagger.io/dagger/core` The Dagger CUE API is the set of CUE packages released alongside the Dagger engine. diff --git a/docs/core-concepts/1215-what-is-cue.md b/docs/core-concepts/1215-what-is-cue.md index d02b25d3..06beeb7d 100644 --- a/docs/core-concepts/1215-what-is-cue.md +++ b/docs/core-concepts/1215-what-is-cue.md @@ -2,7 +2,7 @@ slug: /1215/what-is-cue/ --- -# What is Cue? +# What is CUE? CUE is a powerful configuration language created by Marcel van Lohuizen who co-created the Borg Configuration Language (BCL)—the [language used to deploy all applications at Google](https://storage.googleapis.com/pub-tools-public-publication-data/pdf/43438.pdf). CUE is the result of years of experience writing configuration languages at Google, and seeks to improve the developer experience while avoiding some nasty pitfalls. It is a superset of JSON, with additional features to make declarative, data-driven programming as pleasant and productive as regular imperative programming. diff --git a/website/sidebars.js b/website/sidebars.js index eca05c90..67d0a606 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -71,6 +71,15 @@ module.exports = { }, ], europa: [ + { + type: "link", + label: "⬅️ Dagger 0.1", + href: "/1200/what/", + }, + { + type: "doc", + id: "migrate-from-dagger-0.1", + }, { type: "category", label: "Getting Started", @@ -92,29 +101,15 @@ module.exports = { "core-concepts/dagger-cue", ], }, - { - type: "category", - label: "Knowledge Base", - collapsible: false, - collapsed: false, - items: [ - "knowledge-base/migrate-from-dagger-0.1", - "use-cases/go-docker-swarm", - ], - }, { type: "category", label: "Use Cases", collapsible: false, collapsed: false, items: [ + "use-cases/go-docker-swarm", "use-cases/go-on-docker-hub" ], }, - { - type: "link", - label: "⬅️ Dagger 0.1", - href: "/1200/what/", - }, ], };