mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-17 17:25:01 +00:00
enable --root-dir for roc docs
This commit is contained in:
parent
8540aa1a14
commit
9c527f890f
4 changed files with 57 additions and 20 deletions
|
@ -19,10 +19,10 @@ fn main() -> io::Result<()> {
|
|||
)
|
||||
.get_matches();
|
||||
|
||||
// Populate roc_files
|
||||
generate_docs_html(
|
||||
matches.get_one::<PathBuf>(ROC_FILE).unwrap().to_owned(),
|
||||
&PathBuf::from("./generated-docs"),
|
||||
std::env::var("ROC_DOCS_URL_ROOT").ok(),
|
||||
);
|
||||
|
||||
Ok(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue