mirror of https://github.com/Hilbis/Hilbish
refactor(docgen): remove global doc
parent
62d8725d99
commit
b468727a32
|
@ -38,7 +38,6 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
prefix := map[string]string{
|
prefix := map[string]string{
|
||||||
"main": "hsh",
|
|
||||||
"hilbish": "hl",
|
"hilbish": "hl",
|
||||||
"fs": "f",
|
"fs": "f",
|
||||||
"commander": "c",
|
"commander": "c",
|
||||||
|
@ -72,7 +71,6 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
for mod, v := range docs {
|
for mod, v := range docs {
|
||||||
if mod == "main" { mod = "global" }
|
|
||||||
os.Mkdir("docs", 0777)
|
os.Mkdir("docs", 0777)
|
||||||
f, _ := os.Create("docs/" + mod + ".txt")
|
f, _ := os.Create("docs/" + mod + ".txt")
|
||||||
f.WriteString(strings.Join(v, "\n") + "\n")
|
f.WriteString(strings.Join(v, "\n") + "\n")
|
||||||
|
|
Loading…
Reference in New Issue