Skip to content

Commit 526bf47

Browse files
JamieEdgearschles
andauthored
Replace godoc.org URLs (#342)
* Replaced godoc.org URLs with equivalent pkg.go.dev URLs. * Switched to full package name for github.com/magefile/mage/mg. Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com> Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
1 parent c07f313 commit 526bf47

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,10 @@ for discussion of usage, development, etc.
5353

5454
# Documentation
5555

56-
see [magefile.org](https://magefile.org) for full docs
56+
See [magefile.org](https://magefile.org) for full documentation.
5757

58-
see [godoc.org/github.com/magefile/mage/mage](https://godoc.org/github.com/magefile/mage/mage) for how to use mage as a library.
58+
See [pkg.go.dev/github.com/magefile/mage/mage](https://pkg.go.dev/github.com/magefile/mage/mage)
59+
for instructions on how to use Mage as a library.
5960

6061
# Why?
6162

site/content/dependencies/_index.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ weight = 30
44
+++
55

66
Mage supports a makefile-style tree of dependencies using the helper library
7-
[github.com/magefile/mage/mg](https://godoc.org/github.com/magefile/mage/mg). To
8-
declare dependencies, pass any number of dependent functions to mg.Deps.
7+
[github.com/magefile/mage/mg](https://pkg.go.dev/github.com/magefile/mage/mg). To declare dependencies,
8+
pass any number of dependent functions to mg.Deps.
99

1010
A dependent function may be any function that has an optional first argument of context.Context, has
1111
either no return or just an error return, and where the other arguments are all of type string, int,

site/content/filesources/_index.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ weight = 35
44
+++
55

66
Mage supports make-like comparisons of file sources and file targets. Using the
7-
[target](https://godoc.org/github.com/magefile/mage/target) library, you can
7+
[target](https://pkg.go.dev/github.com/magefile/mage/target) library, you can
88
easily compare the last modified times of a target file or directory with the
99
last modified time of the file or directories required to build that target.
1010

site/content/libraries/_index.en.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ weight = 45
44
+++
55

66
There are three helper libraries bundled with mage,
7-
[mg](https://godoc.org/github.com/magefile/mage/mg),
8-
[sh](https://godoc.org/github.com/magefile/mage/sh), and
9-
[target](https://godoc.org/github.com/magefile/mage/target)
7+
[mg](https://pkg.go.dev/github.com/magefile/mage/mg),
8+
[sh](https://pkg.go.dev/github.com/magefile/mage/sh) and
9+
[target](https://pkg.go.dev/github.com/magefile/mage/target).
1010

1111
Package `mg` contains mage-specific helpers, such as Deps for declaring
1212
dependent functions, and functions for returning errors with specific error

site/content/zeroInstall/_index.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ required = ["github.com/magefile/mage/mage"]
4444

4545
## Use Mage as a library
4646

47-
All of mage's functionality is accessible as a compile-in library. Checkout
48-
[godoc.org/github.com/magefile/mage/mage](https://godoc.org/github.com/magefile/mage/mage)
47+
All of mage's functionality is accessible as a compile-in library. Check out
48+
[pkg.go.dev/github.com/magefile/mage/mage](https://pkg.go.dev/github.com/magefile/mage/mage)
4949
for full details.
5050

5151
Fair warning, the API of mage/mage may change, so be sure to use vendoring.

0 commit comments

Comments
 (0)