Skip to content

Commit

Permalink
fix(docs): algolia ingestion for prod to have other docs imported fil…
Browse files Browse the repository at this point in the history
…es (#1029)
  • Loading branch information
realdreamer authored Oct 11, 2023
1 parent 80c680d commit 7646f96
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .changeset/thin-rabbits-jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
6 changes: 4 additions & 2 deletions packages/apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
"7d": "npx 7d pinecone-create-index --index kda-docs --environment asia-northeast1-gcp",
"7d:clear": "npx 7d pinecone-clear-namespace --namespace kda-docs",
"7d:ingest": "npx 7d ingest --files 'src/pages/docs/**/*.md' --files 'src/pages/docs/**/*.mdx' --files 'src/specs/**/*.json' --namespace kda-docs",
"7d:ingest-algolia-dev": "npx 7d ingest --files 'src/pages/docs/**/*.md' --files 'src/pages/docs/**/*.mdx' --files 'src/specs/**/*.json' --db algolia --namespace docs_website_dev --skip-embeddings",
"7d:ingest-algolia-prod": "OPENAI_API_KEY=dummy-key121 npx 7d ingest --files 'src/pages/docs/**/*.md' --files 'src/pages/docs/**/*.mdx' --files 'src/specs/**/*.json' --db algolia --namespace docs_website_prod --skip-embeddings",
"7d:ingest-algolia-dev": "pnpm run build:scripts && pnpm run algolia-dev",
"7d:ingest-algolia-prod": "pnpm run build:scripts && pnpm run algolia-prod",
"7d:query": "npx 7d",
"algolia-dev": "ALGOLIA_INDEX_NAME=docs_website_dev OPENAI_API_KEY=dummy-key121 npx 7d ingest --files 'src/pages/docs/**/*.md' --files 'src/pages/docs/**/*.mdx' --files 'src/specs/**/*.json' --db algolia --skip-embeddings --dry-run",
"algolia-prod": "ALGOLIA_INDEX_NAME=docs_website_prod OPENAI_API_KEY=dummy-key121 npx 7d ingest --files 'src/pages/docs/**/*.md' --files 'src/pages/docs/**/*.mdx' --files 'src/specs/**/*.json' --db algolia --skip-embeddings",
"build": "pnpm run build:scripts && next build",
"build:blogAuthorInfo": "node src/scripts/createBlogAuthors.mjs",
"build:brokenLinks": "node src/scripts/detectBrokenLinks.mjs",
Expand Down

2 comments on commit 7646f96

@vercel
Copy link

@vercel vercel bot commented on 7646f96 Oct 11, 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:

alpha-docs – ./packages/apps/docs

alpha-docs-git-main-kadena-js.vercel.app
alpha-docs.kadena.io
alpha-docs-kadena-js.vercel.app
docs-silk-two.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 7646f96 Oct 11, 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:

docs-storybook – ./packages/apps/docs

docs-storybook-git-main-kadena-js.vercel.app
docs-storybook-kadena-js.vercel.app
kadena-js-docs.vercel.app

Please sign in to comment.