Skip to content

Commit 31c584f

Browse files
committed
_self, wc, md
1 parent 5fa23de commit 31c584f

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
"@orama/orama": "^3.1.6",
4747
"@orama/plugin-data-persistence": "^3.1.6",
4848
"@orama/react-components": "^0.8.0",
49-
"@orama/wc-components": "^0.8.0",
5049
"@radix-ui/react-tabs": "^1.1.12",
5150
"@tailwindcss/postcss": "^4.1.8",
5251
"acorn": "^8.14.1",

src/generators/jsx-ast/utils/buildBarProps.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ export const buildMetaBarProps = (head, entries) => {
4949
headings,
5050
addedIn: head.introduced_in || head.added_in || '',
5151
readingTime: readingTime(textContent).text,
52-
viewAs: [['JSON', `${head.api}.json`]],
52+
viewAs: [
53+
['JSON', `${head.api}.json`],
54+
['MD', `${head.api}.md`],
55+
],
5356
editThisPage: `${DOC_API_BLOB_EDIT_BASE_URL}${head.api}.md`,
5457
};
5558
};

src/generators/web/client/components/SearchBox/index.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ const MDXSearchBox = () => {
4545
<OramaSearchBox
4646
disabled={!client || isLoading}
4747
disableChat={true}
48+
linksTarget="_self"
4849
clientInstance={client}
4950
colorScheme={colorScheme}
5051
themeConfig={themeConfig}

0 commit comments

Comments
 (0)