mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Add --output CLI flag for roc docs
This commit is contained in:
parent
77d2136d00
commit
a96752a65a
4 changed files with 18 additions and 8 deletions
|
@ -20,7 +20,10 @@ fn main() -> io::Result<()> {
|
|||
.get_matches();
|
||||
|
||||
// Populate roc_files
|
||||
generate_docs_html(matches.get_one::<PathBuf>(ROC_FILE).unwrap().to_owned());
|
||||
generate_docs_html(
|
||||
matches.get_one::<PathBuf>(ROC_FILE).unwrap().to_owned(),
|
||||
&PathBuf::from("./generated-docs"),
|
||||
);
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue