Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { satteri } from '@astrojs/markdown-satteri';
import mdx from '@astrojs/mdx';
import { attributeMarkdown, wrapTables } from '/src/themes/octopus/utilities/custom-markdown.mjs';
import llmMdEmitter from './src/integrations/llm-md-emitter.ts';
import oramaIndex from './src/integrations/orama-index.ts';
import pruneDist from './src/integrations/prune-dist.ts';
import satteriHeadingId from './src/plugins/satteri-heading-id.js';
import satteriApiExamples, { apiExampleDirective } from './src/plugins/satteri-api-examples.js';
Expand All @@ -22,6 +23,9 @@ export default defineConfig({
integrations: [
mdx(),
llmMdEmitter(),
// Indexes the markdown the emitter above just wrote, so it has to come
// after it and before the prune that would delete its output
oramaIndex(),
// Must run last: strips build output that can't be served under /docs/
pruneDist()
],
Expand Down
2 changes: 2 additions & 0 deletions dictionary-octopus.txt
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ onlylogs
onmicrosoft
openon
operationalize
orama
outfile
outputformat
OWASP
Expand Down Expand Up @@ -548,6 +549,7 @@ statefulset
statefulsets
stepsprodpackages
sthumb
stopwords
storyblok
strconv
struct
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@
"astro-accelerator-utils": "^0.3.84",
"glob": "^13.0.6",
"gray-matter": "^4.0.3",
"html-to-text": "^10.0.0",
"keyword-extractor": "^0.0.28",
"optional": "^0.1.4",
"satteri": "^0.9.5",
"sharp": "^0.34.5"
},
"devDependencies": {
"@orama/orama": "^3.1.18",
"@orama/stopwords": "^3.1.18",
"@playwright/test": "^1.60.0",
"@pnpm/exe": "^11.0.9",
"cspell": "^10.0.0",
Expand Down
84 changes: 18 additions & 66 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion src/components/DocsSearch.astro
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ if (facets.length === 0) {
throw new Error('DocsSearch needs at least one facet for its tab strip');
}

const indexUrl = `${SITE.subfolder}/search.json`;
const indexUrl = `${SITE.subfolder}/search-index.json`;
const listboxId = `${name}-search-listbox`;
---

Expand Down
Loading