Skip to content

Commit

Permalink
feat: typedoc
Browse files Browse the repository at this point in the history
  • Loading branch information
veasion committed Jan 1, 2025
1 parent 5fe4031 commit 2e7f171
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
### **Using npm**

```bash
npm install fellou-eko
npm install @eko-ai/eko
```

## Contributing
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"lint:fix": "eslint src/**/*.ts --fix",
"format": "prettier --write \"src/**/*.ts\"",
"prepublishOnly": "npm run build",
"docs": "typedoc src/index.ts"
"docs": "typedoc"
},
"author": "FellouAI",
"license": "MIT",
Expand Down Expand Up @@ -83,6 +83,7 @@
"rollup-plugin-copy": "^3.5.0",
"ts-jest": "^29.1.2",
"tslib": "^2.8.1",
"typedoc": "^0.27.6",
"typescript": "^5.3.3"
},
"engines": {
Expand Down
1 change: 1 addition & 0 deletions test/unit/action.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ describe('ActionImpl', () => {
mockTool = new MockTool('test_tool');
mockLLMProvider = new MockLLMProvider();
context = {
llmProvider: mockLLMProvider,
variables: new Map<string, unknown>(),
tools: new Map<string, Tool<any, any>>(),
};
Expand Down
9 changes: 9 additions & 0 deletions typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "EKO API",
"entryPoints": ["src/index.ts", "src/types/index.ts", "src/extension/index.ts"],
"exclude": ["node_modules", "test/**/*", "src/extension/script", "src/extension/content"],
"out": "../eko-docs/public/api",
"excludePrivate": true,
"excludeProtected": true,
"excludeExternals": true
}

0 comments on commit 2e7f171

Please sign in to comment.