简体   繁体   中英

How to generate HTML documentation Deno

I heard that Deno had a built-in documentation generator using the command deno doc which I would like to run on my packages.

But it turns out it only generates JSON documentation and another tool must be used to generate HTML documentation.

Is there any existing tool that I can use to generate local HTML files? These are proprietary packages and can't go onto the official deno doc website.

I tried to use TypeDoc alongside typescript-deno-plugin to no avail. Is there any solution to get this to work?

You can deploy your own instance of https://github.com/denoland/doc_website . It's frontend that can consume JSON output of deno doc command.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM