Let deno doc pull default settings from deno.json
#30341
RickCogley
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently as of deno 2.4.3,
deno docautomatically generates to/docsif I'm understanding correctly. You can control the output directory with cli switches well enough, but it would be really useful to be able to control the output folder via some setting indeno.jsonwhich I don't think is possible at this time. At least I can't find anything about that in the docs page for it.For example, talking about a use case,
/docsis a logical place for various docs in a repository, so I have been storing various md files in there, and generating viadeno docoutputting to/docs/api. I made a mistake running it asdeno doc --htmland that clobbered my/docsfolder, so, I think it would be useful to be able to specify its default output folder indeno.json. That way, even if I dumbly leave off the switch, it will generate where I want it to.Beta Was this translation helpful? Give feedback.
All reactions