Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(69)

Unified Diff: cmd/godoc/handlers.go

Issue 13356047: code review 13356047: go.tools/godoc: some content re-organization (Closed)
Patch Set: diff -r beeebf8de27f https://code.google.com/p/go.tools Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | godoc/static/godoc.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cmd/godoc/handlers.go
===================================================================
--- a/cmd/godoc/handlers.go
+++ b/cmd/godoc/handlers.go
@@ -125,19 +125,38 @@
}
var redirects = map[string]string{
- "/blog": "http://blog.golang.org",
- "/build": "http://build.golang.org",
- "/change": "https://code.google.com/p/go/source/list",
- "/cl": "https://gocodereview.appspot.com/",
- "/doc/go_for_cpp_programmers.html": "https://code.google.com/p/go-wiki/wiki/GoForCPPProgrammers",
- "/doc/go_tutorial.html": "http://tour.golang.org/",
- "/issue": "https://code.google.com/p/go/issues",
- "/issue/new": "https://code.google.com/p/go/issues/entry",
- "/issues": "https://code.google.com/p/go/issues",
- "/play": "http://play.golang.org",
- "/talks": "http://talks.golang.org",
- "/tour": "http://tour.golang.org",
- "/wiki": "https://code.google.com/p/go-wiki/w/list",
+ "/blog": "http://blog.golang.org",
+ "/build": "http://build.golang.org",
+ "/change": "https://code.google.com/p/go/source/list",
+ "/cl": "https://gocodereview.appspot.com/",
+ "/issue": "https://code.google.com/p/go/issues",
+ "/issue/new": "https://code.google.com/p/go/issues/entry",
+ "/issues": "https://code.google.com/p/go/issues",
+ "/play": "http://play.golang.org",
+ "/ref": "/doc/#references",
+ "/ref/": "/doc/#references",
+ "/ref/mem": "/doc/mem",
+ "/ref/spec": "/doc/spec",
+ "/talks": "http://talks.golang.org",
+ "/tour": "http://tour.golang.org",
+ "/wiki": "https://code.google.com/p/go-wiki/w/list",
+
+ "/doc/articles/c_go_cgo.html": "/blog/c-go-cgo",
+ "/doc/articles/concurrency_patterns.html": "/blog/go-concurrency-patterns-timing-out-and",
+ "/doc/articles/defer_panic_recover.html": "/blog/defer-panic-and-recover",
+ "/doc/articles/error_handling.html": "/blog/error-handling-and-go",
+ "/doc/articles/gobs_of_data.html": "/blog/gobs-of-data",
+ "/doc/articles/godoc_documenting_go_code.html": "/blog/godoc-documenting-go-code",
+ "/doc/articles/gos_declaration_syntax.html": "/blog/gos-declaration-syntax",
+ "/doc/articles/image_draw.html": "/blog/go-imagedraw-package",
+ "/doc/articles/image_package.html": "/blog/go-image-package",
+ "/doc/articles/json_and_go.html": "/blog/json-and-go",
+ "/doc/articles/json_rpc_tale_of_interfaces.html": "/blog/json-rpc-tale-of-interfaces",
+ "/doc/articles/laws_of_reflection.html": "/blog/laws-of-reflection",
+ "/doc/articles/race_detector.html": "/blog/race-detector",
+ "/doc/articles/slices_usage_and_internals.html": "/blog/go-slices-usage-and-internals",
+ "/doc/go_for_cpp_programmers.html": "https://code.google.com/p/go-wiki/wiki/GoForCPPProgrammers",
+ "/doc/go_tutorial.html": "http://tour.golang.org/",
}
var prefixHelpers = map[string]string{
« no previous file with comments | « no previous file | godoc/static/godoc.html » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b