From 0952435e25c598c3f27e0c28ef5d025f1c273a90 Mon Sep 17 00:00:00 2001 From: Thomas Tendyck Date: Sat, 10 Sep 2022 13:44:17 +0200 Subject: [PATCH] fix some doc links --- .github/docs/development.md | 4 ++-- cli/internal/cmd/configgenerate.go | 2 +- conformance/PRODUCT.yaml | 4 ++-- docs/docusaurus.config.js | 6 ++---- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/docs/development.md b/.github/docs/development.md index 21e1b2664..d3ff9d70c 100644 --- a/.github/docs/development.md +++ b/.github/docs/development.md @@ -56,8 +56,8 @@ You can do this by utilizing our terraform setup. Instructions on how to set it up can be found in it's [README](/terraform/libvirt/README.md). # Verification -In order to verify your cluster we describe a [verification workflow](https://constellation-docs.edgeless.systems/constellation/workflows/verify) in our official docs. -Apart from that you can also reproduce some of the measurements described in the [docs](https://constellation-docs.edgeless.systems/constellation/architecture/attestation#runtime-measurements) locally. +In order to verify your cluster we describe a [verification workflow](https://docs.edgeless.systems/constellation/workflows/verify) in our official docs. +Apart from that you can also reproduce some of the measurements described in the [docs](https://docs.edgeless.systems/constellation/architecture/attestation#runtime-measurements) locally. To do so you have to create a cluster locally as described in the [previous section](/.github/docs/development.md#locally). However, you don't have to go through the full manual, you can stop after running `terraform apply`. If `terraform apply` succeeded you will find two files in your current working directory: `control-plane-0_pcrs.json` and `control-plane-0_pcrs.yaml`. diff --git a/cli/internal/cmd/configgenerate.go b/cli/internal/cmd/configgenerate.go index 19174a942..2cda16750 100644 --- a/cli/internal/cmd/configgenerate.go +++ b/cli/internal/cmd/configgenerate.go @@ -70,7 +70,7 @@ func configGenerate(cmd *cobra.Command, fileHandler file.Handler, provider cloud cmd.Println("Config file written to", flags.file) cmd.Println("Please fill in your CSP-specific configuration before proceeding.") cmd.Println("Fore more information refer to the documentation:") - cmd.Println("\thttps://constellation-docs.edgeless.systems/constellation/getting-started/first-steps#create-a-cluster") + cmd.Println("\thttps://docs.edgeless.systems/constellation/getting-started/first-steps") return nil } diff --git a/conformance/PRODUCT.yaml b/conformance/PRODUCT.yaml index aaf6116bb..97f0ff44e 100644 --- a/conformance/PRODUCT.yaml +++ b/conformance/PRODUCT.yaml @@ -2,7 +2,7 @@ vendor: Edgeless Systems name: Constellation version: v1.0.0 website_url: https://www.edgeless.systems/products/constellation/ -documentation_url: https://docs.edgeless.systems/constellation/latest -product_logo_url: https://docs.edgeless.systems/constellation/_assets/constellation_white_bg.svg +documentation_url: https://docs.edgeless.systems/constellation +product_logo_url: https://docs.edgeless.systems/constellation/img/logos/constellation_white_bg.svg type: distribution description: Constellation creates a confidential Kubernetes cluster. diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index ffe470a24..388ab9d41 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -64,9 +64,7 @@ async function createConfig() { // sidebarPath: 'sidebars.js', // Please change this to your repo. // Remove this to remove the "edit this page" links. - editUrl: ({ locale, docPath }) => { - return `https://github.com/edgelesssys/constellation-docs/edit/ref/docusarus/docs/${docPath}`; - }, + editUrl: 'https://github.com/edgelesssys/constellation/edit/main/docs', routeBasePath: "/" }, blog: false, @@ -255,7 +253,7 @@ async function createConfig() { }, ] ] - } + } }; module.exports = createConfig;