Improve page generation logging
This commit is contained in:
parent
db3c25f9db
commit
7df77da67c
@ -29,7 +29,7 @@ struct OverviewPageGenerator {
|
|||||||
guard factory.page.generate(content, to: url) else {
|
guard factory.page.generate(content, to: url) else {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
log.add(info: "Generated \(path)", source: section.path)
|
log.add(info: "Page generated", source: path)
|
||||||
}
|
}
|
||||||
|
|
||||||
private func makeContent(section: Element, language: String) -> String {
|
private func makeContent(section: Element, language: String) -> String {
|
||||||
|
Loading…
Reference in New Issue
Block a user