mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 06:02:18 +00:00
address comments, wait for travis pass
This commit is contained in:
@@ -14,6 +14,13 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
//This command checks if the hyperlinks in files are valid. It checks the files
|
||||
//with 'fileSuffix' in 'rootDir' for URLs that match 'prefix'. It trims the
|
||||
//'prefix' from the URL, uses what's left as the relative path to repoRoot to
|
||||
//verify if the link is valid. For example:
|
||||
//$ linkcheck --root-dir=${TYPEROOT} --repo-root=${KUBE_ROOT} \
|
||||
// --file-suffix=types.go --prefix=http://releases.k8s.io/HEAD
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
|
Reference in New Issue
Block a user