~sircmpwn/gddo

54e56c908016250d6ea436b3a3711ed88b1dc50a — Ilya Mateyko a month ago 2eaa626
templates: use go.dev instead of golang.org

golang.org now redirects to go.dev. See https://go.dev/blog/tidy-web.
3 files changed, 3 insertions(+), 3 deletions(-)

M templates/about.gmi
M templates/index.html
M templates/layout.html
M templates/about.gmi => templates/about.gmi +1 -1
@@ 10,7 10,7 @@ This is a fork of gddo, the software which previously powered the now-defunct go

godocs.io generates documentation from Go source code. The guidelines for writing documentation for the godoc tool apply to godocs.io.

=> https://golang.org The Go language
=> https://go.dev The Go language
=> https://go.dev/blog/godoc Guidelines for documenting Go code

It's important to write a good summary of the package in the first sentence of the package comment. godocs.io indexes the first sentence and displays it in search results.

M templates/index.html => templates/index.html +1 -1
@@ 9,7 9,7 @@

<p>
godocs.io is an independent fork of the now-defunct godoc.org, and hosts
documentation for <a href="https://golang.org/">Go</a> packages. Read the
documentation for <a href="https://go.dev/">Go</a> packages. Read the
<a href="/-/about">About Page</a> for information about adding packages to
godocs.io and more.
</p>

M templates/layout.html => templates/layout.html +1 -1
@@ 37,7 37,7 @@
<div id="x-footer" class="clearfix">
  <div class="container">
    <a href="mailto:~sircmpwn/godocs.io@lists.sr.ht">Website Issues</a>
    <span class="text-muted">|</span> <a href="https://golang.org/">Go Language</a>
    <span class="text-muted">|</span> <a href="https://go.dev/">Go Language</a>
    <span class="pull-right"><a href="#">Back to top</a></span>
  </div>
</div>