From aeb88d5faff3b8826932859437867d66717c8a43 Mon Sep 17 00:00:00 2001 From: colton Date: Thu, 23 Jan 2025 14:52:30 -0500 Subject: [PATCH] [docs] handle multi-redirects for dagster plus; misc fixes (#27323) ## Summary & Motivation ## How I Tested These Changes ## Changelog NOCHANGELOG --- .github/workflows/build-docs.yml | 21 +++++++++++---------- docs/docs-beta/docusaurus.config.ts | 14 +++++++------- docs/docs-beta/vercel.json | 11 +++-------- 3 files changed, 21 insertions(+), 25 deletions(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 380d7f3e6da40..dc72aca956dd5 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -2,22 +2,23 @@ name: Deploy Docs on: push: branches: - - master - - "release-*" # older verions of the docs - - docs-prod # prod - paths: - - docs/** - - "!docs/docs-beta/**" # Exclude docs-beta - - examples/docs_snippets/** - - CHANGES.md - - .github/workflows/build-docs.yml - pull_request: + # - master + # - "release-*" # older verions of the docs + # - docs-prod # prod + - "legacy-docs-release-*" # older verions of the docs paths: - docs/** - "!docs/docs-beta/**" # Exclude docs-beta - examples/docs_snippets/** - CHANGES.md - .github/workflows/build-docs.yml + # pull_request: + # paths: + # - docs/** + # - "!docs/docs-beta/**" # Exclude docs-beta + # - examples/docs_snippets/** + # - CHANGES.md + # - .github/workflows/build-docs.yml concurrency: # Cancel in-progress runs on same branch group: ${{ github.workflow}}-${{github.ref}} diff --git a/docs/docs-beta/docusaurus.config.ts b/docs/docs-beta/docusaurus.config.ts index 349b8d684d20a..b522d05076857 100644 --- a/docs/docs-beta/docusaurus.config.ts +++ b/docs/docs-beta/docusaurus.config.ts @@ -41,7 +41,7 @@ const config: Config = { }, announcementBar: { id: 'announcementBar', - content: `

Welcome to Dagster's new and improved documentation site!

You can find the legacy documentation with content for versions 1.9.8 and earlier at legacy-docs.dagster.io.
`, + content: `

Welcome to Dagster's new and improved documentation site!

You can find the legacy documentation with content for versions 1.9.9 and earlier at legacy-docs.dagster.io.
`, }, colorMode: { defaultMode: 'light', @@ -112,12 +112,12 @@ const config: Config = { // docId: 'changelog', // position: 'right', //}, - { - label: 'Feedback', - href: 'https://github.com/dagster-io/dagster/discussions/24816', - position: 'right', - className: 'feedback-nav-link', - }, + // { + // label: 'Feedback', + // href: 'https://github.com/dagster-io/dagster/discussions/24816', + // position: 'right', + // className: 'feedback-nav-link', + // }, ], }, image: 'img/docusaurus-social-card.jpg', diff --git a/docs/docs-beta/vercel.json b/docs/docs-beta/vercel.json index 7c6a2bd7aeb30..0d96ddd67ae27 100644 --- a/docs/docs-beta/vercel.json +++ b/docs/docs-beta/vercel.json @@ -361,22 +361,17 @@ "permanent": false }, { - "source": "/dagster-cloud", - "destination": "/dagster-plus/", - "permanent": false - }, - { - "source": "/dagster-cloud/managing-deployments/setting-up-alerts", + "source": "/dagster-plus/managing-deployments/setting-up-alerts", "destination": "/dagster-plus/features/alerts/", "permanent": false }, { - "source": "/dagster-cloud/managing-deployments/dagster-cloud-cli", + "source": "/dagster-plus/managing-deployments/dagster-cloud-cli", "destination": "/dagster-plus/deployment/management/dagster-cloud-cli/", "permanent": false }, { - "source": "/dagster-cloud/developing-testing/code-locations", + "source": "/dagster-plus/developing-testing/code-locations", "destination": "/dagster-plus/deployment/code-locations/", "permanent": false },