Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wrnrlr committed Oct 30, 2024
1 parent 408a35d commit b75dd47
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions www/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ function typedocPlugin() {
configResolved(config) { _config = config },
async writeBundle() {
const name = path.join(__dirname, 'typedoc.json')
console.log('NAME',name)
const config = JSON.parse(await Deno.readTextFile(name))
console.log('CONFIG',config)
config.hostedBaseUrl = '/prelude'
config.useHostedBaseUrlForAbsoluteLinks = true
config.out = './www/dist/docs'
config.entryPoints = ['./src/mod.ts']
console.log('CONFIG',config)
const app = await Application.bootstrap(config)
console.log(app)
const project = await app.convert()
console.log('PROJECT', project)
await app.generateDocs(project, config.out)
Expand Down

0 comments on commit b75dd47

Please sign in to comment.