Skip to content

Commit

Permalink
chore(website): update typedoc to allow recursive types
Browse files Browse the repository at this point in the history
adds new syntax: TSConfigReader
  • Loading branch information
davidgovea committed Sep 28, 2020
1 parent c2e8023 commit 15d0751
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"tailwindcss": "^1.4.0",
"tailwindcss-dark-mode": "^1.1.0",
"traverse": "^0.6.6",
"typedoc": "0.15.0",
"typedoc": "~0.19.2",
"typescript": "^3.7.5",
"use-dark-mode": "^2.3.1"
},
Expand Down
3 changes: 2 additions & 1 deletion website/scripts/generate-typedoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@

const { readFileSync, unlinkSync } = require('fs');
const path = require('path');
const { Application } = require('typedoc');
const { Application, TSConfigReader } = require('typedoc');

const tempOutput = path.resolve(process.cwd(), 'typedoc.json');
const app = new Application();
app.options.addReader(new TSConfigReader());

module.exports.generateTypedoc = function generateTypedoc() {
console.log(path.resolve(__dirname, '../../tsconfig.json'));
Expand Down

0 comments on commit 15d0751

Please sign in to comment.