-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
In order to be able to build the documentation without internet access (as is required by some distribution build systems), all of the source code needed for the build needs to be available in the source tarball. This used to be possible with the docker-cli sources but was accidentally broken with some CI changes that switched to downloading the tools (by modifying go.mod as part of the docs build script). This pattern also maked documentation builds less reproducible since the tool version used was not based on the source code version. Fixes: commit 7dc35c0 ("validate manpages target") Fixes: commit a650f4d ("switch to cli-docs-tool for yaml docs generation") Signed-off-by: Aleksa Sarai <[email protected]>
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// This is only used to define inports we need for doc generation. | ||
|
||
//go:build never | ||
// +build never | ||
|
||
package cli | ||
|
||
import ( | ||
// Used for md and yaml doc generation. | ||
_ "github.com/docker/cli-docs-tool" | ||
|
||
// Used for man page generation. | ||
_ "github.com/cpuguy83/go-md2man/v2" | ||
_ "github.com/spf13/cobra" | ||
_ "github.com/spf13/cobra/doc" | ||
_ "github.com/spf13/pflag" | ||
) |
This file was deleted.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.