Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typedoc #1378

Merged
merged 1 commit into from
Mar 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scripts/typedoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { description, version } = libJsPackage

// Setup our paths, relative to project root
const outPath = './dist/lib.json'
const files = ['./src/lib.ts']
const files = ['./src/index.ts']

// specifically point to tsconfig, otherwise TypeDoc fails
const config = typescript.findConfigFile('./tsconfig.js', typescript.sys.fileExists)
Expand All @@ -30,8 +30,8 @@ const generateJson = async () => {
entryPoints: files
})

const src = app.expandInputFiles(files)
const project = app.convert(src)
const src = app.getEntryPoints()
const project = app.converter.convert(src)

// Generate the JSON file
await app.generateJson(project, outPath)
Expand Down