Put generated docs into generated-docs folder

This commit is contained in:
Chadtech 2021-03-23 22:23:59 -04:00
parent 2268a1dde3
commit bf4b2b823f

View file

@ -90,7 +90,11 @@ pub fn build_app<'a>() -> App<'a> {
} }
pub fn docs(files: Vec<PathBuf>) { pub fn docs(files: Vec<PathBuf>) {
roc_docs::generate(files, roc_builtins::std::standard_stdlib(), Path::new("./")) roc_docs::generate(
files,
roc_builtins::std::standard_stdlib(),
Path::new("./generated-docs"),
)
} }
pub fn build(target: &Triple, matches: &ArgMatches, run_after_build: bool) -> io::Result<()> { pub fn build(target: &Triple, matches: &ArgMatches, run_after_build: bool) -> io::Result<()> {