content: fix broken links and use HTTPS on godoc.article
The article contains links to code for strings.HasPrefix that reference
the wrong line number and URL to search for "Deprecated:" identifier
which also not working anymore.
This commit fix the line number link for strings.HasPrefix and
remove the line that describe examples for searching "Deprecated:"
identifier.
While at it, use HTTPS for link to Docstring and update the link
on Javadoc to latest location (according to the page redirect URL).
Signed-off-by: shulhan <m.shulhan@gmail.com>
Change-Id: Ife267af49c0816df2b3934d075c7a9a09eaac83e
Reviewed-on: https://go-review.googlesource.com/c/blog/+/302729
Reviewed-by: Ian Lance Taylor <iant@golang.org>
diff --git a/content/godoc.article b/content/godoc.article
index d2a5c82..0e0a345 100644
--- a/content/godoc.article
+++ b/content/godoc.article
@@ -26,10 +26,10 @@
as HTML or plain text.
The end result is documentation tightly coupled with the code it documents.
For example, through godoc's web interface you can navigate from a function's
-[documentation](https://golang.org/pkg/strings/#HasPrefix) to its [implementation](https://golang.org/src/pkg/strings/strings.go#L493) with one click.
+[documentation](https://golang.org/pkg/strings/#HasPrefix) to its [implementation](https://golang.org/src/strings/strings.go?s=11163:11200#L434) with one click.
-Godoc is conceptually related to Python's [Docstring](http://www.python.org/dev/peps/pep-0257/)
-and Java's [Javadoc](http://www.oracle.com/technetwork/java/javase/documentation/index-jsp-135444.html),
+Godoc is conceptually related to Python's [Docstring](https://www.python.org/dev/peps/pep-0257/)
+and Java's [Javadoc](https://www.oracle.com/java/technologies/javase/javadoc-tool.html)
but its design is simpler.
The comments read by godoc are not language constructs (as with Docstring)
nor must they have their own machine-readable syntax (as with Javadoc).
@@ -88,7 +88,6 @@
To signal that an identifier should not be used, add a paragraph to its doc
comment that begins with "Deprecated:" followed by some information about the
deprecation.
-There are a few examples [in the standard library](https://golang.org/search?q=Deprecated:).
There are a few formatting rules that Godoc uses when converting comments to HTML: