From bdf4f8c7d802c6f8ce4bbe6418d583a1449fe493 Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Fri, 28 Jun 2024 22:08:01 -0400 Subject: docs(fix): Fix broken links, add CI to check (#2156) Signed-off-by: Dave Henderson --- docs-src/content/functions/path.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'docs-src/content/functions/path.yml') diff --git a/docs-src/content/functions/path.yml b/docs-src/content/functions/path.yml index 15a5aba3..1ffdf5e9 100644 --- a/docs-src/content/functions/path.yml +++ b/docs-src/content/functions/path.yml @@ -6,14 +6,14 @@ preamble: | This page documents the `path` namespace - see also the [`filepath`](../filepath) documentation. - These functions are wrappers for Go's [`path`](https://golang.org/pkg/path/) and [`path/filepath`](https://golang.org/pkg/path/filepath/) packages. + These functions are wrappers for Go's [`path`](https://pkg.go.dev/path/) and [`path/filepath`](https://pkg.go.dev/path/filepath/) packages. funcs: - name: path.Base released: v2.7.0 description: | Returns the last element of path. Trailing slashes are removed before extracting the last element. If the path is empty, Base returns `.`. If the path consists entirely of slashes, Base returns `/`. - A wrapper for Go's [`path.Base`](https://golang.org/pkg/path/#Base) function. + A wrapper for Go's [`path.Base`](https://pkg.go.dev/path/#Base) function. pipeline: true arguments: - name: path @@ -28,7 +28,7 @@ funcs: description: | Clean returns the shortest path name equivalent to path by purely lexical processing. - A wrapper for Go's [`path.Clean`](https://golang.org/pkg/path/#Clean) function. + A wrapper for Go's [`path.Clean`](https://pkg.go.dev/path/#Clean) function. pipeline: true arguments: - name: path @@ -43,7 +43,7 @@ funcs: description: | Returns all but the last element of path, typically the path's directory. - A wrapper for Go's [`path.Dir`](https://golang.org/pkg/path/#Dir) function. + A wrapper for Go's [`path.Dir`](https://pkg.go.dev/path/#Dir) function. pipeline: true arguments: - name: path @@ -58,7 +58,7 @@ funcs: description: | Returns the file name extension used by path. - A wrapper for Go's [`path.Ext`](https://golang.org/pkg/path/#Ext) function. + A wrapper for Go's [`path.Ext`](https://pkg.go.dev/path/#Ext) function. pipeline: true arguments: - name: path @@ -73,7 +73,7 @@ funcs: description: | Reports whether the path is absolute. - A wrapper for Go's [`path.IsAbs`](https://golang.org/pkg/path/#IsAbs) function. + A wrapper for Go's [`path.IsAbs`](https://pkg.go.dev/path/#IsAbs) function. pipeline: true arguments: - name: path @@ -90,7 +90,7 @@ funcs: description: | Joins any number of path elements into a single path, adding a separating slash if necessary. - A wrapper for Go's [`path.Join`](https://golang.org/pkg/path/#Join) function. + A wrapper for Go's [`path.Join`](https://pkg.go.dev/path/#Join) function. arguments: - name: elem... required: true @@ -104,7 +104,7 @@ funcs: description: | Reports whether name matches the shell file name pattern. - A wrapper for Go's [`path.Match`](https://golang.org/pkg/path/#Match) function. + A wrapper for Go's [`path.Match`](https://pkg.go.dev/path/#Match) function. arguments: - name: pattern required: true @@ -123,7 +123,7 @@ funcs: The function returns an array with two values, the first being the directory, and the second the file. - A wrapper for Go's [`path.Split`](https://golang.org/pkg/path/#Split) function. + A wrapper for Go's [`path.Split`](https://pkg.go.dev/path/#Split) function. pipeline: true arguments: - name: path -- cgit v1.2.3