Skip to content

Commit 7627da5

Browse files
committed
Update generators to change the files in the -master directories
1 parent d567731 commit 7627da5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pkg/cheatsheet/generate.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//go:generate go run generator.go
22

33
// This "script" generates files called Keybindings_{{.LANG}}.md
4-
// in the docs/keybindings directory.
4+
// in the docs-master/keybindings directory.
55
//
66
// The content of these generated files is a keybindings cheatsheet.
77
//
@@ -49,7 +49,7 @@ func CommandToRun() string {
4949
}
5050

5151
func GetKeybindingsDir() string {
52-
return utils.GetLazyRootDirectory() + "/docs/keybindings"
52+
return utils.GetLazyRootDirectory() + "/docs-master/keybindings"
5353
}
5454

5555
func generateAtDir(cheatsheetDir string) {

pkg/jsonschema/generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
)
1717

1818
func GetSchemaDir() string {
19-
return utils.GetLazyRootDirectory() + "/schema"
19+
return utils.GetLazyRootDirectory() + "/schema-master"
2020
}
2121

2222
func GenerateSchema() *jsonschema.Schema {

pkg/jsonschema/generate_config_docs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ func (n *Node) MarshalYAML() (interface{}, error) {
163163
}
164164

165165
func writeToConfigDocs(config []byte) error {
166-
configPath := utils.GetLazyRootDirectory() + "/docs/Config.md"
166+
configPath := utils.GetLazyRootDirectory() + "/docs-master/Config.md"
167167
markdown, err := os.ReadFile(configPath)
168168
if err != nil {
169169
return fmt.Errorf("Error reading Config.md file %w", err)

0 commit comments

Comments
 (0)