f2f2f7c38a
So that it's easy for anyone to jump to the new docs that we are currently working on, and intend to replace the existing docs with. While I would have preferred to link to the local dev page, it's still stuck in the PR state, currently blocked on another PR: https://github.com/dagger/dagger/pull/1586 Also added a link to the pre-Europa docs, so that it's easy to go back. While at it, drop "Sidebar" from the name of sidebars, and replace tutorial with a more descriptive name. Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
118 lines
2.6 KiB
JavaScript
118 lines
2.6 KiB
JavaScript
/**
|
|
* Creating a sidebar enables you to:
|
|
- create an ordered group of docs
|
|
- render a sidebar for each doc of that group
|
|
- provide next/previous navigation
|
|
|
|
The sidebars can be generated from the filesystem, or explicitly defined here.
|
|
|
|
Create as many sidebars as you want.
|
|
*/
|
|
|
|
module.exports = {
|
|
preEuropa: [
|
|
{
|
|
type: "category",
|
|
label: "Introduction",
|
|
collapsible: true,
|
|
items: ["introduction/what_is", "introduction/vs"],
|
|
},
|
|
{
|
|
type: "doc",
|
|
id: "install",
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Learn Dagger",
|
|
collapsible: true,
|
|
collapsed: false,
|
|
items: [
|
|
"learn/what_is_cue",
|
|
"learn/get-started",
|
|
"learn/google-cloud-run",
|
|
"learn/kubernetes",
|
|
"learn/aws-cloudformation",
|
|
"learn/github-actions",
|
|
"learn/dev-cue-package",
|
|
"learn/package-manager",
|
|
],
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Use Cases",
|
|
collapsible: true,
|
|
collapsed: true,
|
|
items: ["use-cases/ci"],
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Universe - API Reference",
|
|
collapsible: true,
|
|
collapsed: true,
|
|
// generate the sidebar for reference doc automatically
|
|
items: [
|
|
{
|
|
type: "autogenerated",
|
|
dirName: "reference",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Administrator Manual",
|
|
collapsible: true,
|
|
collapsed: true,
|
|
items: ["administrator/operator-manual"],
|
|
},
|
|
{
|
|
type: "link",
|
|
label: "🆕 Dagger Europa 🆕",
|
|
href: "/1201/ci-cd-platform",
|
|
},
|
|
],
|
|
europa: [
|
|
{
|
|
type: "category",
|
|
label: "Getting Started",
|
|
collapsible: false,
|
|
collapsed: false,
|
|
items: [
|
|
"getting-started/local-ci",
|
|
"getting-started/ci-cd-platform"
|
|
],
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Core Concepts",
|
|
collapsible: false,
|
|
collapsed: false,
|
|
items: [
|
|
"core-concepts/plan",
|
|
"core-concepts/inputs",
|
|
"core-concepts/secrets",
|
|
"core-concepts/caching",
|
|
"core-concepts/container-images",
|
|
"core-concepts/packages",
|
|
],
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Use Cases",
|
|
collapsible: false,
|
|
collapsed: false,
|
|
items: [
|
|
"use-cases/phoenix-kubernetes",
|
|
"use-cases/docusaurus-netlify",
|
|
"use-cases/go-goreleaser",
|
|
"use-cases/go-docker-swarm",
|
|
"use-cases/svelte-vercel",
|
|
],
|
|
},
|
|
{
|
|
type: "link",
|
|
label: "🕸 pre-Europa 🕸",
|
|
href: "/",
|
|
},
|
|
],
|
|
};
|