diff --git a/pkg/cheatsheet/generate.go b/pkg/cheatsheet/generate.go index 5ec63aa9f..17aca5e38 100644 --- a/pkg/cheatsheet/generate.go +++ b/pkg/cheatsheet/generate.go @@ -1,7 +1,7 @@ //go:generate go run generator.go // This "script" generates files called Keybindings_{{.LANG}}.md -// in the docs/keybindings directory. +// in the docs-master/keybindings directory. // // The content of these generated files is a keybindings cheatsheet. // @@ -49,7 +49,7 @@ func CommandToRun() string { } func GetKeybindingsDir() string { - return utils.GetLazyRootDirectory() + "/docs/keybindings" + return utils.GetLazyRootDirectory() + "/docs-master/keybindings" } func generateAtDir(cheatsheetDir string) { diff --git a/pkg/jsonschema/generate.go b/pkg/jsonschema/generate.go index 5350ca46c..5e7267e3e 100644 --- a/pkg/jsonschema/generate.go +++ b/pkg/jsonschema/generate.go @@ -16,7 +16,7 @@ import ( ) func GetSchemaDir() string { - return utils.GetLazyRootDirectory() + "/schema" + return utils.GetLazyRootDirectory() + "/schema-master" } func GenerateSchema() *jsonschema.Schema { diff --git a/pkg/jsonschema/generate_config_docs.go b/pkg/jsonschema/generate_config_docs.go index f062f437f..b9de5c54b 100644 --- a/pkg/jsonschema/generate_config_docs.go +++ b/pkg/jsonschema/generate_config_docs.go @@ -163,7 +163,7 @@ func (n *Node) MarshalYAML() (interface{}, error) { } func writeToConfigDocs(config []byte) error { - configPath := utils.GetLazyRootDirectory() + "/docs/Config.md" + configPath := utils.GetLazyRootDirectory() + "/docs-master/Config.md" markdown, err := os.ReadFile(configPath) if err != nil { return fmt.Errorf("Error reading Config.md file %w", err)