Skip to content

Commit

Permalink
feat: algolia
Browse files Browse the repository at this point in the history
  • Loading branch information
bojanrajh committed Feb 19, 2024
1 parent dccf91a commit 8931f3d
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions apps/docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import type { Config as ThemeConfig } from "vitepress-shopware-docs";
import baseConfig from "vitepress-shopware-docs/config";
import { TsFunctionDescription, TsFunctionsList } from "@shopware-docs/typer";
import { resolve } from "node:path";
import { SearchPlugin } from "vitepress-plugin-search";
import {sidebar} from "./sidebar";

interface ThemeConfigExtended extends ThemeConfig {
Expand Down Expand Up @@ -84,12 +83,9 @@ export default defineConfigWithTheme<ThemeConfigExtended>({
themeConfig: {
sidebar,
algolia: {
indexName: "",
appId: "",
apiKey: "",
// searchParameters: {
// facetFilters: ["version:v1"],
// },
indexName: "beta-developer-shopware",
appId: "J1Y01X9HGM",
apiKey: "711e1cadf66a3957aaf183a58aad12a7",
},
ai: {
endpoint: "",
Expand All @@ -98,7 +94,6 @@ export default defineConfigWithTheme<ThemeConfigExtended>({

vite: {
plugins: [
SearchPlugin(),
TsFunctionsList({
rootDir: resolve(__dirname, "../../../"),
prefix: '/',
Expand Down Expand Up @@ -139,7 +134,6 @@ export default defineConfigWithTheme<ThemeConfigExtended>({
external: [
'vue-instantsearch/vue3/es',
'instantsearch.css/themes/algolia-min.css',
'/logo.svg',
]
}
}
Expand Down

0 comments on commit 8931f3d

Please sign in to comment.