Skip to content

Commit

Permalink
docs[DST-112]: add link to old docs and remove deploy docs script (#3252
Browse files Browse the repository at this point in the history
)
  • Loading branch information
sarahgm authored Aug 8, 2023
1 parent f63b662 commit 4e430ac
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 46 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/docs.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,6 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_HOOK }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK

# Deploy Docs
- name: Build Docs
if: steps.changesets.outputs.published == 'true'
run: pnpm build:docs
- name: Deploy Docs to Github Pages
if: steps.changesets.outputs.published == 'true'
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs/out

# Deploy Docs on Vercel
- name: Deploy Docs
if: steps.changesets.outputs.published == 'true'
Expand Down
14 changes: 11 additions & 3 deletions docs/app/_components/SiteNavigation.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
import { Split } from '@/ui';
import { Text, Link } from '@/ui';
import { Logo } from './Logo';
import { ThemeMenu } from './ThemeMenu';

export const SiteNavigation = () => (
<div className="hidden w-full md:flex">
<div className="hidden w-full justify-between gap-3 md:flex">
<div className="flex items-center gap-2 text-lg font-bold uppercase tracking-tight text-[#46505a]">
<Logo className="h-6 w-6" />
Marigold
</div>
<Split />
<div className="bg-bg-muted rounded p-2">
<Link
href="https://marigold-ui.io/"
className="no-underline"
target="_blank"
>
<Text fontSize="sm">Go to previous Docs (v5.6.0)</Text>
</Link>
</div>
<ThemeMenu />
</div>
);

3 comments on commit 4e430ac

@vercel
Copy link

@vercel vercel bot commented on 4e430ac Aug 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

marigold-storybook – ./

marigold-storybook-marigold.vercel.app
marigold-storybook-git-main-marigold.vercel.app
marigold-latest.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 4e430ac Aug 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

marigold-docs – ./

marigold-docs-git-main-marigold.vercel.app
marigold-docs-marigold.vercel.app
marigold-docs.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 4e430ac Aug 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.