Skip to content

Commit f26cc42

Browse files
committed
fixes CustomMarkdownTheme.js
1 parent 2e987ad commit f26cc42

File tree

5 files changed

+1869
-1566
lines changed

5 files changed

+1869
-1566
lines changed

packages/js-sdk/scripts/CustomMarkdownTheme.js packages/js-sdk/scripts/CustomMarkdownTheme.mjs

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { MarkdownPageEvent } from "typedoc-plugin-markdown";
22

3-
function load(app) {
3+
export function load(app) {
44
// Listen to the render event
55
app.renderer.on(MarkdownPageEvent.END, (page) => {
66
// Remove Markdown links from the document contents
@@ -59,6 +59,3 @@ function removeLinesWithConditions(text) {
5959
// Join the filtered lines back into a single string
6060
return filteredLines.join("\n");
6161
}
62-
63-
// Export the load function
64-
module.exports = { load };

packages/js-sdk/typedoc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"out": "sdk_ref",
3-
"plugin": ["typedoc-plugin-markdown", "./scripts/CustomMarkdownTheme.js"],
3+
"plugin": ["typedoc-plugin-markdown", "./scripts/CustomMarkdownTheme.mjs"],
44
"exclude": ["**/*.spec.ts"],
55
"entryPoints": ["src/index.ts", "src/sandbox.ts"],
66
"excludeExternals": true,

0 commit comments

Comments
 (0)