Skip to content

Commit

Permalink
docs: use typedoc.js instead of typedoc.json
Browse files Browse the repository at this point in the history
  • Loading branch information
sripwoud committed Apr 23, 2024
1 parent 82a90f5 commit 2a5e22c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
16 changes: 16 additions & 0 deletions typedoc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
const fs = require("fs")
const path = require("path")

const EXCLUDE_PKGS = ["circuits", "lazytower.circom", "lazytower.sol", "imt.sol", "rollup-plugin-rust"]
const packagesDir = path.join(__dirname, "packages")
const entryPoints = fs
.readdirSync(packagesDir, { withFileTypes: true })
.filter((dirent) => dirent.isDirectory() && !EXCLUDE_PKGS.includes(dirent.name))
.map((dirent) => path.join("packages", dirent.name))

/** @type {import('typedoc').typedocoptions} */
module.exports = {
entryPoints,
name: "zk-kit",
entryPointStrategy: "packages"
}
6 changes: 0 additions & 6 deletions typedoc.json

This file was deleted.

0 comments on commit 2a5e22c

Please sign in to comment.