We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3173821 commit 06a923aCopy full SHA for 06a923a
robots.txt
@@ -0,0 +1,2 @@
1
+User-agent: *
2
+Disallow: /
src/cmd/godoc/godoc.go
@@ -91,6 +91,7 @@ func registerPublicHandlers(mux *http.ServeMux) {
91
mux.Handle(pkgHandler.pattern, &pkgHandler)
92
mux.HandleFunc("/doc/codewalk/", codewalk)
93
mux.HandleFunc("/search", search)
94
+ mux.Handle("/robots.txt", fileServer)
95
mux.HandleFunc("/", serveFile)
96
}
97
0 commit comments