Skip to content

Commit 0537b5c

Browse files
committed
BUILD!
1 parent fc24293 commit 0537b5c

File tree

6 files changed

+27
-27
lines changed

6 files changed

+27
-27
lines changed

docs-v2/components/DocSearch.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ function Search() {
1212
facetFilters: [
1313
"version:latest",
1414
],
15+
indexName: process.env.ALGOLIA_INDEX_NAME,
1516
}}
1617
transformItems={(items) => {
1718
return items.map((item) => ({

docs-v2/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
"scripts": {
77
"dev": "next dev",
88
"build": "next build",
9-
"start": "next start",
10-
"vercel-build": "next build"
9+
"start": "next start"
1110
},
1211
"packageManager": "[email protected]",
1312
"engines": {

docs-v2/pages/_meta.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,36 +59,36 @@ export default {
5959
}
6060
},
6161
abuse: {
62-
display: "children"
62+
display: "hidden"
6363
},
6464
airtable: {
65-
display: "children"
65+
display: "hidden"
6666
},
6767
examples: {
68-
display: "children"
68+
display: "hidden"
6969
},
7070
"migrate-from-v1": {
71-
display: "children"
71+
display: "hidden"
7272
},
7373
"new-feature-or-bug": {
74-
display: "children"
74+
display: "hidden"
7575
},
7676
"nodejs20-faq-2024-02": {
77-
display: "children"
77+
display: "hidden"
7878
},
7979
"scheduling-future-tasks": {
80-
display: "children"
80+
display: "hidden"
8181
},
8282
"shopify-faq-2023-10": {
83-
display: "children"
83+
display: "hidden"
8484
},
8585
subprocessors: {
86-
display: "children"
86+
display: "hidden"
8787
},
8888
"pipedream-axios": {
89-
display: "children"
89+
display: "hidden"
9090
},
9191
status: {
92-
display: "children"
92+
display: "hidden"
9393
}
9494
} as const

docs-v2/pages/workflows/sharing.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Cards, Card, Steps } from 'nextra/components'
1+
import { Cards, Steps } from 'nextra/components'
22
import Callout from '@/components/Callout'
33
import RocketShip from '@/components/RocketShip'
44
import Image from 'next/image'
@@ -20,7 +20,7 @@ Creating a share link for your workflow will allow anyone with the link to creat
2020
Click **Deploy to Pipedream** below to create a copy of this workflow in your own Pipedream account.
2121

2222
<Cards>
23-
<Card icon={<RocketShip />} title="Deploy to Pipedream" href="https://pipedream.com/new?h=tch_OYWfjz" />
23+
<Cards.Card icon={<RocketShip />} title="Deploy to Pipedream" href="https://pipedream.com/new?h=tch_OYWfjz" />
2424
</Cards>
2525

2626
The copied workflow includes the same trigger, steps, and connected account configuration, but it has a separate event history and versioning from the original.

docs-v2/theme.config.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@ import React from "react";
22
import { useRouter } from "next/router";
33
import { DocsThemeConfig, useConfig } from "nextra-theme-docs";
44

5-
import PipedreamCode from "./components/PipedreamCode";
65
import PipedreamLink from "./components/PipedreamLink";
76
import PipedreamTextLogo from "./components/PipedreamTextLogo";
87
import SlackLogo from "./components/SlackLogo";
98
import DocSearch from "./components/DocSearch";
109

1110
const config: DocsThemeConfig = {
12-
head() {
13-
const { route } = useRouter();
11+
head: function Head() {
12+
const router = useRouter()
1413
const { frontMatter } = useConfig()
15-
14+
1615
return (
17-
<>
18-
<meta name="description" content="Workflow automation for developers" />
19-
<link rel="canonical" href={`https://pipedream.com/docs${route === '/' ? '' : route}`} />
20-
<link rel="icon" href="/docs/favicon.ico" />
21-
<meta property="og:title" content={`${frontMatter.title} — Pipedream` || 'Pipedream'} />
22-
</>
23-
)},
16+
<>
17+
<meta name="description" content="Workflow automation for developers" />
18+
{router && <link rel="canonical" href={`https://pipedream.com/docs${router.route === '/' ? '' : router.route}`} />}
19+
<link rel="icon" href="/docs/favicon.ico" />
20+
<meta property="og:title" content={`${frontMatter?.title || ''} — Pipedream`} />
21+
</>
22+
)
23+
},
2424
// Custom components that replace the default MDX components
2525
components: {
2626
"a": PipedreamLink,

docs-v2/vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"installCommand": "npx [email protected] install --frozen-lockfile=false",
3-
"buildCommand": "npx [email protected] run vercel-build",
3+
"buildCommand": "npx [email protected] run build",
44
"redirects": [
55
{
66
"source": "/docs/v3",

0 commit comments

Comments
 (0)