mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
Remove ShowPlan
It is out of sync with reality, has some disabled tests, and the cost of getting it up-to-date is too high to be worth it.
This commit is contained in:
@@ -15,7 +15,6 @@ package hugolib
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"strings"
|
||||
"sync"
|
||||
|
||||
@@ -151,16 +150,6 @@ type BuildCfg struct {
|
||||
whatChanged *whatChanged
|
||||
}
|
||||
|
||||
// Analyze prints a build report to Stdout.
|
||||
// Useful for debugging.
|
||||
func (h *HugoSites) Analyze() error {
|
||||
if err := h.Build(BuildCfg{SkipRender: true}); err != nil {
|
||||
return err
|
||||
}
|
||||
s := h.Sites[0]
|
||||
return s.ShowPlan(os.Stdout)
|
||||
}
|
||||
|
||||
func (h *HugoSites) renderCrossSitesArtifacts() error {
|
||||
|
||||
if !h.multilingual.enabled() {
|
||||
|
Reference in New Issue
Block a user