diff --git a/doc/rpc/generate.go b/doc/rpc/generate.go --- a/doc/rpc/generate.go +++ b/doc/rpc/generate.go @@ -140,31 +140,6 @@ log.Fatalf("Cannot make command file %s: %s", name, err.Error()) } } - address := path.Join(rpcdocdir, version, "rpc", "index.html") - permalink := fmt.Sprintf("en/doc/%s/rpc/", version) - err = tmpl.Execute(open(address), CommandData{ - Version: version, - Name: "rpcindex", - Description: "", - Group: "index", - Permalink: permalink, - }) - if err != nil { - log.Fatalf("Cannot make index file: %s", err.Error()) - } - - address = path.Join(rpcdocdir, version, "index.html") - permalink = fmt.Sprintf("en/doc/%s/", version) - err = tmpl.Execute(open(address), CommandData{ - Version: version, - Name: "index", - Description: "", - Group: "index", - Permalink: permalink, - }) - if err != nil { - log.Fatalf("Cannot make index file: %s", err.Error()) - } } } @@ -189,4 +164,3 @@ func run(args ...string) string { return runCommand(bitcoin_cli_path, args...) } -