Skip to content

Commit

Permalink
_content/doc: remove redundant Path metadata
Browse files Browse the repository at this point in the history
CL 251343 (Feb 12) changed the default service URL for _content/doc/x.html
from https://golang.org/doc/x.html to https://golang.org/doc/x.
Remove Path metadata that simply restates this new default.

Change-Id: Ia132c08f200c5a93554755cd1cd8429c9f8f3062
Reviewed-on: https://go-review.googlesource.com/c/website/+/296382
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
  • Loading branch information
rsc committed Mar 12, 2021
1 parent da157ef commit 6ff312a
Show file tree
Hide file tree
Showing 38 changed files with 24 additions and 62 deletions.
3 changes: 1 addition & 2 deletions _content/doc/cmd.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Command Documentation",
"Path": "/doc/cmd"
"Title": "Command Documentation"
}-->

<p>
Expand Down
1 change: 0 additions & 1 deletion _content/doc/go1.1.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Go 1.1 Release Notes",
"Path": "/doc/go1.1",
"Template": true
}-->

Expand Down
1 change: 0 additions & 1 deletion _content/doc/go1.10.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Go 1.10 Release Notes",
"Path": "/doc/go1.10",
"Template": true
}-->

Expand Down
1 change: 0 additions & 1 deletion _content/doc/go1.11.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Go 1.11 Release Notes",
"Path": "/doc/go1.11",
"Template": true
}-->

Expand Down
1 change: 0 additions & 1 deletion _content/doc/go1.12.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Go 1.12 Release Notes",
"Path": "/doc/go1.12",
"Template": true
}-->

Expand Down
1 change: 0 additions & 1 deletion _content/doc/go1.13.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Go 1.13 Release Notes",
"Path": "/doc/go1.13",
"Template": true
}-->

Expand Down
3 changes: 1 addition & 2 deletions _content/doc/go1.14.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Go 1.14 Release Notes",
"Path": "/doc/go1.14"
"Title": "Go 1.14 Release Notes"
}-->

<!--
Expand Down
3 changes: 1 addition & 2 deletions _content/doc/go1.15.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Go 1.15 Release Notes",
"Path": "/doc/go1.15"
"Title": "Go 1.15 Release Notes"
}-->

<!--
Expand Down
3 changes: 1 addition & 2 deletions _content/doc/go1.16.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Go 1.16 Release Notes",
"Path": "/doc/go1.16"
"Title": "Go 1.16 Release Notes"
}-->

<!--
Expand Down
1 change: 0 additions & 1 deletion _content/doc/go1.2.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Go 1.2 Release Notes",
"Path": "/doc/go1.2",
"Template": true
}-->

Expand Down
1 change: 0 additions & 1 deletion _content/doc/go1.3.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Go 1.3 Release Notes",
"Path": "/doc/go1.3",
"Template": true
}-->

Expand Down
1 change: 0 additions & 1 deletion _content/doc/go1.4.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Go 1.4 Release Notes",
"Path": "/doc/go1.4",
"Template": true
}-->

Expand Down
1 change: 0 additions & 1 deletion _content/doc/go1.5.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Go 1.5 Release Notes",
"Path": "/doc/go1.5",
"Template": true
}-->

Expand Down
1 change: 0 additions & 1 deletion _content/doc/go1.6.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Go 1.6 Release Notes",
"Path": "/doc/go1.6",
"Template": true
}-->

Expand Down
1 change: 0 additions & 1 deletion _content/doc/go1.7.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Go 1.7 Release Notes",
"Path": "/doc/go1.7",
"Template": true
}-->

Expand Down
1 change: 0 additions & 1 deletion _content/doc/go1.8.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Go 1.8 Release Notes",
"Path": "/doc/go1.8",
"Template": true
}-->

Expand Down
1 change: 0 additions & 1 deletion _content/doc/go1.9.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Go 1.9 Release Notes",
"Path": "/doc/go1.9",
"Template": true
}-->

Expand Down
1 change: 0 additions & 1 deletion _content/doc/go1.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Go 1 Release Notes",
"Path": "/doc/go1",
"Template": true
}-->

Expand Down
3 changes: 1 addition & 2 deletions _content/doc/go1compat.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Go 1 and the Future of Go Programs",
"Path": "/doc/go1compat"
"Title": "Go 1 and the Future of Go Programs"
}-->

<h2 id="introduction">Introduction</h2>
Expand Down
3 changes: 1 addition & 2 deletions _content/doc/install.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Download and install",
"Path": "/doc/install"
"Title": "Download and install"
}-->
<p>
Download and install Go quickly with the steps described here.
Expand Down
3 changes: 1 addition & 2 deletions _content/doc/manage-install.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Managing Go installations",
"Path": "/doc/manage-install"
"Title": "Managing Go installations"
}-->

<p>
Expand Down
3 changes: 1 addition & 2 deletions _content/doc/modules/developing.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Developing and publishing modules",
"Path": "/doc/modules/developing"
"Title": "Developing and publishing modules"
}-->

You can collect related packages into modules, then publish the modules for
Expand Down
3 changes: 1 addition & 2 deletions _content/doc/modules/gomod-ref.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "go.mod file reference",
"Path": "/doc/modules/gomod-ref"
"Title": "go.mod file reference"
}-->

Each Go module is defined by a go.mod file that describes the module's
Expand Down
3 changes: 1 addition & 2 deletions _content/doc/modules/major-version.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Developing a major version update",
"Path": "/doc/modules/major-version"
"Title": "Developing a major version update"
}-->

You must update to a major version when changes you're making in a potential new
Expand Down
3 changes: 1 addition & 2 deletions _content/doc/modules/managing-dependencies.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Managing dependencies",
"Path": "/doc/modules/managing-dependencies"
"Title": "Managing dependencies"
}-->

When your code uses external packages, those packages (distributed as modules)
Expand Down
3 changes: 1 addition & 2 deletions _content/doc/modules/managing-source.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Managing module source",
"Path": "/doc/modules/managing-source"
"Title": "Managing module source"
}-->

When you're developing modules to publish for others to use, you can help ensure
Expand Down
3 changes: 1 addition & 2 deletions _content/doc/modules/publishing.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Publishing a module",
"Path": "/doc/modules/publishing"
"Title": "Publishing a module"
}-->

When you want to make a module available for other developers, you publish it so
Expand Down
3 changes: 1 addition & 2 deletions _content/doc/modules/release-workflow.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Module release and versioning workflow",
"Path": "/doc/modules/release-workflow"
"Title": "Module release and versioning workflow"
}-->

When you develop modules for use by other developers, you can follow a workflow
Expand Down
3 changes: 1 addition & 2 deletions _content/doc/modules/version-numbers.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Module version numbering",
"Path": "/doc/modules/version-numbers"
"Title": "Module version numbering"
}-->

A module's developer uses each part of a module's version number to signal the
Expand Down
3 changes: 1 addition & 2 deletions _content/doc/tutorial/add-a-test.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Add a test",
"Path": "/doc/tutorial/add-a-test"
"Title": "Add a test"
}-->

<p>
Expand Down
3 changes: 1 addition & 2 deletions _content/doc/tutorial/call-module-code.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Call your code from another module",
"Path": "/doc/tutorial/call-module-code"
"Title": "Call your code from another module"
}-->

<p>
Expand Down
3 changes: 1 addition & 2 deletions _content/doc/tutorial/compile-install.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Compile and install the application",
"Path": "/doc/tutorial/compile-install"
"Title": "Compile and install the application"
}-->

<p>
Expand Down
3 changes: 1 addition & 2 deletions _content/doc/tutorial/create-module.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Tutorial: Create a Go module",
"Path": "/doc/tutorial/create-module"
"Title": "Tutorial: Create a Go module"
}-->

<p>
Expand Down
3 changes: 1 addition & 2 deletions _content/doc/tutorial/getting-started.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Tutorial: Get started with Go",
"Path": "/doc/tutorial/getting-started"
"Title": "Tutorial: Get started with Go"
}-->

<p>
Expand Down
3 changes: 1 addition & 2 deletions _content/doc/tutorial/greetings-multiple-people.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Return greetings for multiple people",
"Path": "/doc/tutorial/greetings-multiple-people"
"Title": "Return greetings for multiple people"
}-->

<p>
Expand Down
3 changes: 1 addition & 2 deletions _content/doc/tutorial/handle-errors.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Return and handle an error",
"Path": "/doc/tutorial/handle-errors"
"Title": "Return and handle an error"
}-->

<p>
Expand Down
3 changes: 1 addition & 2 deletions _content/doc/tutorial/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Tutorials",
"Path": "/doc/tutorial/"
"Title": "Tutorials"
}-->

<p>If you're new to a part of Go, take a look at the tutorials linked below.</p>
Expand Down
3 changes: 1 addition & 2 deletions _content/doc/tutorial/random-greeting.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!--{
"Title": "Return a random greeting",
"Path": "/doc/tutorial/random-greeting"
"Title": "Return a random greeting"
}-->

<p>
Expand Down

0 comments on commit 6ff312a

Please sign in to comment.