mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
commands, helpers: Fix docs
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
52976da0ec
commit
4352156a27
@@ -434,9 +434,9 @@ func watchConfig() {
|
||||
}
|
||||
|
||||
func build(watches ...bool) error {
|
||||
// Hugo writes the output to memory instead of the disk
|
||||
// Hugo writes the output to memory instead of the disk.
|
||||
// This is only used for benchmark testing. Cause the content is only visible
|
||||
// in memory
|
||||
// in memory.
|
||||
if renderToMemory {
|
||||
hugofs.SetDestination(new(afero.MemMapFs))
|
||||
// Rendering to memoryFS, publish to Root regardless of publishDir.
|
||||
|
Reference in New Issue
Block a user