Add 'docs' and 'assets' to generated gitignore
And also make 'docs' the default folder (instead of doc) to be more aligned with Github's defaults.
This commit is contained in:
parent
cce76bbd63
commit
ad5a393c4d
|
@ -118,7 +118,7 @@ where
|
||||||
|
|
||||||
self.read_source_files()?;
|
self.read_source_files()?;
|
||||||
|
|
||||||
let destination = destination.unwrap_or_else(|| self.root.join("doc"));
|
let destination = destination.unwrap_or_else(|| self.root.join("docs"));
|
||||||
|
|
||||||
let mut parsed_modules = self.parse_sources(self.config.name.clone())?;
|
let mut parsed_modules = self.parse_sources(self.config.name.clone())?;
|
||||||
|
|
||||||
|
|
|
@ -185,7 +185,12 @@ fn gitignore(root: &Path) -> miette::Result<()> {
|
||||||
gitignore_path,
|
gitignore_path,
|
||||||
indoc! {
|
indoc! {
|
||||||
r#"
|
r#"
|
||||||
|
# Aiken compilation artifacts
|
||||||
|
assets/
|
||||||
|
# Aiken's project working directory
|
||||||
build/
|
build/
|
||||||
|
# Aiken's default documentation export
|
||||||
|
docs/
|
||||||
"#
|
"#
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue