Skip to content

Commit

Permalink
Algolia (flojoy-ai#1027)
Browse files Browse the repository at this point in the history
* feat: use algolia

* chore: update index

* fix: oops

---------

Co-authored-by: Syed Mahbub <86223939+smahmed776@users.noreply.github.com>
  • Loading branch information
itsjoeoui and smahmed776 authored Dec 22, 2023
1 parent 1748d48 commit 05c76f7
Show file tree
Hide file tree
Showing 3 changed files with 235 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,21 @@ import react from "@astrojs/react";
import robotsTxt from "astro-robots-txt";
import remarkMath from "remark-math";
import rehypeKatex from "rehype-katex";
import starlightDocSearch from "@astrojs/starlight-docsearch";

// https://astro.build/config
export default defineConfig({
site: "https://blocks.flojoy.ai",
integrations: [
starlight({
title: "Flojoy Docs",
plugins: [
starlightDocSearch({
appId: "9U592SK52F",
apiKey: "25c8dc480885d6b065b91ae05a540215",
indexName: "flojoy",
}),
],
logo: { src: "./src/assets/logo_purple.svg" },
components: {
Sidebar: "./src/components/override/Sidebar.astro",
Expand Down
1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"@astro-community/astro-embed-youtube": "^0.4.3",
"@astrojs/react": "^3.0.7",
"@astrojs/starlight": "^0.14.0",
"@astrojs/starlight-docsearch": "^0.1.0",
"@astrojs/starlight-tailwind": "^2.0.1",
"@astrojs/tailwind": "^5.0.3",
"@fortawesome/fontawesome-svg-core": "^6.5.1",
Expand Down
226 changes: 226 additions & 0 deletions docs/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 05c76f7

Please sign in to comment.