Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

remove "defined in" in js-sdk

0div1b7fdb279bc4
diff --git a/packages/cli/src/utils/commands2md.ts b/packages/cli/src/utils/commands2md.ts
index 6286e67d9..60d78b496 100644
--- a/packages/cli/src/utils/commands2md.ts
+++ b/packages/cli/src/utils/commands2md.ts
@@ -23,9 +23,9 @@ export function commands2md(commands: Command[]): void {
const fullName = parentName ? `${parentName} ${commandName}` : commandName
const mdStructure = [
- { h1: `e2b ${fullName}` },
+ { h2: `e2b ${fullName}` },
{ p: command.description() },
- { h2: 'Usage' },
+ { h3: 'Usage' },
{
code: {
language: 'bash',
@@ -34,7 +34,7 @@ export function commands2md(commands: Command[]): void {
},
...(command.options.length > 0
? [
- { h2: 'Options' },
+ { h3: 'Options' },
{
ul: command.options.map(
(y: any) =>
diff --git a/packages/js-sdk/typedoc.json b/packages/js-sdk/typedoc.json
index 9019be986..1dd4a2d30 100644
--- a/packages/js-sdk/typedoc.json
+++ b/packages/js-sdk/typedoc.json
@@ -18,5 +18,15 @@
"includeCategories": false
},
"outputFileStrategy": "modules",
- "readme": "none"
+ "readme": "none",
+ "disableSources": true,
+ // typedoc-plugin-markdown options
+ "classPropertiesFormat": "table",
+ "typeDeclarationFormat": "table",
+ "enumMembersFormat": "table",
+ "parametersFormat": "table",
+ "expandParameters": true,
+ "useCodeBlocks": true,
+ "hidePageTitle": true,
+ "hideBreadcrumbs": true
}