_content/doc: remove redundant Path metadata
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>
This commit is contained in:
Родитель
da157ef312
Коммит
6ff312ae7c
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Command Documentation",
|
||||
"Path": "/doc/cmd"
|
||||
"Title": "Command Documentation"
|
||||
}-->
|
||||
|
||||
<p>
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Go 1.1 Release Notes",
|
||||
"Path": "/doc/go1.1",
|
||||
"Template": true
|
||||
}-->
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Go 1.10 Release Notes",
|
||||
"Path": "/doc/go1.10",
|
||||
"Template": true
|
||||
}-->
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Go 1.11 Release Notes",
|
||||
"Path": "/doc/go1.11",
|
||||
"Template": true
|
||||
}-->
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Go 1.12 Release Notes",
|
||||
"Path": "/doc/go1.12",
|
||||
"Template": true
|
||||
}-->
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Go 1.13 Release Notes",
|
||||
"Path": "/doc/go1.13",
|
||||
"Template": true
|
||||
}-->
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Go 1.14 Release Notes",
|
||||
"Path": "/doc/go1.14"
|
||||
"Title": "Go 1.14 Release Notes"
|
||||
}-->
|
||||
|
||||
<!--
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Go 1.15 Release Notes",
|
||||
"Path": "/doc/go1.15"
|
||||
"Title": "Go 1.15 Release Notes"
|
||||
}-->
|
||||
|
||||
<!--
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Go 1.16 Release Notes",
|
||||
"Path": "/doc/go1.16"
|
||||
"Title": "Go 1.16 Release Notes"
|
||||
}-->
|
||||
|
||||
<!--
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Go 1.2 Release Notes",
|
||||
"Path": "/doc/go1.2",
|
||||
"Template": true
|
||||
}-->
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Go 1.3 Release Notes",
|
||||
"Path": "/doc/go1.3",
|
||||
"Template": true
|
||||
}-->
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Go 1.4 Release Notes",
|
||||
"Path": "/doc/go1.4",
|
||||
"Template": true
|
||||
}-->
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Go 1.5 Release Notes",
|
||||
"Path": "/doc/go1.5",
|
||||
"Template": true
|
||||
}-->
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Go 1.6 Release Notes",
|
||||
"Path": "/doc/go1.6",
|
||||
"Template": true
|
||||
}-->
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Go 1.7 Release Notes",
|
||||
"Path": "/doc/go1.7",
|
||||
"Template": true
|
||||
}-->
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Go 1.8 Release Notes",
|
||||
"Path": "/doc/go1.8",
|
||||
"Template": true
|
||||
}-->
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Go 1.9 Release Notes",
|
||||
"Path": "/doc/go1.9",
|
||||
"Template": true
|
||||
}-->
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Go 1 Release Notes",
|
||||
"Path": "/doc/go1",
|
||||
"Template": true
|
||||
}-->
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Managing Go installations",
|
||||
"Path": "/doc/manage-install"
|
||||
"Title": "Managing Go installations"
|
||||
}-->
|
||||
|
||||
<p>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Add a test",
|
||||
"Path": "/doc/tutorial/add-a-test"
|
||||
"Title": "Add a test"
|
||||
}-->
|
||||
|
||||
<p>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Compile and install the application",
|
||||
"Path": "/doc/tutorial/compile-install"
|
||||
"Title": "Compile and install the application"
|
||||
}-->
|
||||
|
||||
<p>
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Tutorial: Create a Go module",
|
||||
"Path": "/doc/tutorial/create-module"
|
||||
"Title": "Tutorial: Create a Go module"
|
||||
}-->
|
||||
|
||||
<p>
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Tutorial: Get started with Go",
|
||||
"Path": "/doc/tutorial/getting-started"
|
||||
"Title": "Tutorial: Get started with Go"
|
||||
}-->
|
||||
|
||||
<p>
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Return greetings for multiple people",
|
||||
"Path": "/doc/tutorial/greetings-multiple-people"
|
||||
"Title": "Return greetings for multiple people"
|
||||
}-->
|
||||
|
||||
<p>
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Return and handle an error",
|
||||
"Path": "/doc/tutorial/handle-errors"
|
||||
"Title": "Return and handle an error"
|
||||
}-->
|
||||
|
||||
<p>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<!--{
|
||||
"Title": "Return a random greeting",
|
||||
"Path": "/doc/tutorial/random-greeting"
|
||||
"Title": "Return a random greeting"
|
||||
}-->
|
||||
|
||||
<p>
|
||||
|
|
Загрузка…
Ссылка в новой задаче