Change links from http:// to https:// (#1695)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Andreas Deininger · committed by GitHub · parent e1ded5c · Browse files · 6 files·+13 added−13 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
6 files+13 added−13 removed
- other:+13 added−13 removed
Provenance
- Commit
ffa8860- Tree
65bfb65- Author
Andreas Deininger <andreas@deininger.net>- Committer
GitHub <noreply@github.com>- Parent
e1ded5c
6 files changed+13 added−13 removed
modified:doc/md_docs.md+1 added-1 removed
83 unmodified lines8485868788888990919223 unmodified lines83 unmodified lines //...}```
The `filePrepender` will prepend the return value given the full filepath to the rendered Markdown file. A common use case is to add front matter to use the generated documentation with [Hugo](http://gohugo.io/):The `filePrepender` will prepend the return value given the full filepath to the rendered Markdown file. A common use case is to add front matter to use the generated documentation with [Hugo](https://gohugo.io/):
```goconst fmTemplate = `---date: %s23 unmodified linesmodified:doc/rest_docs.md+1 added-1 removed
83 unmodified lines84 //...85 }86 ```87 88-The `filePrepender` will prepend the return value given the full filepath to the rendered ReST file. A common use case is to add front matter to use the generated documentation with [Hugo](http://gohugo.io/):88+The `filePrepender` will prepend the return value given the full filepath to the rendered ReST file. A common use case is to add front matter to use the generated documentation with [Hugo](https://gohugo.io/):89 90 ```go91 const fmTemplate = `---92 date: %s22 unmodified linesmodified:doc/yaml_docs.md+1 added-1 removed
80 unmodified lines81 //...82 }83 ```84 85-The `filePrepender` will prepend the return value given the full filepath to the rendered Yaml file. A common use case is to add front matter to use the generated documentation with [Hugo](http://gohugo.io/):85+The `filePrepender` will prepend the return value given the full filepath to the rendered Yaml file. A common use case is to add front matter to use the generated documentation with [Hugo](https://gohugo.io/):86 87 ```go88 const fmTemplate = `---89 date: %s23 unmodified linesmodified:projects_using_cobra.md+5 added-5 removed
123454567893 unmodified lines1314151617171819202122232424252627289 unmodified lines383940414242434445467 unmodified lines## Projects using Cobra
- [Arduino CLI](https://github.com/arduino/arduino-cli)- [Bleve](http://www.blevesearch.com/)- [CockroachDB](http://www.cockroachlabs.com/)- [Bleve](https://blevesearch.com/)- [CockroachDB](https://www.cockroachlabs.com/)- [Cosmos SDK](https://github.com/cosmos/cosmos-sdk)- [Datree](https://github.com/datreeio/datree)- [Delve](https://github.com/derekparker/delve)- [Docker (distribution)](https://github.com/docker/distribution)3 unmodified lines- [Git Bump](https://github.com/erdaltsksn/git-bump)- [Github CLI](https://github.com/cli/cli)- [GitHub Labeler](https://github.com/erdaltsksn/gh-label)- [Golangci-lint](https://golangci-lint.run)- [GopherJS](http://www.gopherjs.org/)- [GopherJS](https://github.com/gopherjs/gopherjs)- [GoReleaser](https://goreleaser.com)- [Helm](https://helm.sh)- [Hugo](https://gohugo.io)- [Infracost](https://github.com/infracost/infracost)- [Istio](https://istio.io)- [Kool](https://github.com/kool-dev/kool)- [Kubernetes](http://kubernetes.io/)- [Kubernetes](https://kubernetes.io/)- [Kubescape](https://github.com/armosec/kubescape)- [Linkerd](https://linkerd.io/)- [Mattermost-server](https://github.com/mattermost/mattermost-server)- [Mercure](https://mercure.rocks/)9 unmodified lines- [Ory Kratos](https://github.com/ory/kratos)- [Pixie](https://github.com/pixie-io/pixie)- [Polygon Edge](https://github.com/0xPolygon/polygon-edge)- [Pouch](https://github.com/alibaba/pouch)- [ProjectAtomic (enterprise)](http://www.projectatomic.io/)- [ProjectAtomic (enterprise)](https://www.projectatomic.io/)- [Prototool](https://github.com/uber/prototool)- [QRcp](https://github.com/claudiodangelis/qrcp)- [Random](https://github.com/erdaltsksn/random)- [Rclone](https://rclone.org/)7 unmodified linesmodified:README.md+2 added-2 removed
1 2 3 Cobra is a library for creating powerful modern CLI applications.4 5-Cobra is used in many Go projects such as [Kubernetes](http://kubernetes.io/),5+Cobra is used in many Go projects such as [Kubernetes](https://kubernetes.io/),6 [Hugo](https://gohugo.io), and [Github CLI](https://github.com/cli/cli) to7 name a few. [This list](./projects_using_cobra.md) contains a more extensive list of projects using Cobra.8 9 [](https://github.com/spf13/cobra/actions?query=workflow%3ATest)17 unmodified lines27 * Automatically generated shell autocomplete for your application (bash, zsh, fish, powershell)28 * Automatically generated man pages for your application29 * Command aliases so you can change things without breaking them30 * The flexibility to define your own help, usage, etc.31-* Optional seamless integration with [viper](http://github.com/spf13/viper) for 12-factor apps31+* Optional seamless integration with [viper](https://github.com/spf13/viper) for 12-factor apps32 33 # Concepts34 35 Cobra is built on a structure of commands, arguments & flags.76 unmodified linesmodified:user_guide.md+3 added-3 removed
49 unmodified lines50 Use: "hugo",51 Short: "Hugo is a very fast static site generator",52 Long: `A Fast and Flexible Static Site Generator built with53 love by spf13 and friends in Go.54- Complete documentation is available at http://hugo.spf13.com`,54+ Complete documentation is available at https://gohugo.io/documentation/`,55 Run: func(cmd *cobra.Command, args []string) {56 // Do Stuff Here57 },58 }369 unmodified lines428 rootCmd.Execute()429 }430 ```431 432-For a more complete example of a larger application, please checkout [Hugo](http://gohugo.io/).432+For a more complete example of a larger application, please checkout [Hugo](https://gohugo.io/).433 434 ## Help Command435 436 Cobra automatically adds a help command to your application when you have subcommands.189 unmodified lines626 627 Run 'hugo --help' for usage.628 ```629 630-Suggestions are automatic based on every subcommand registered and use an implementation of [Levenshtein distance](http://en.wikipedia.org/wiki/Levenshtein_distance). Every registered command that matches a minimum distance of 2 (ignoring case) will be displayed as a suggestion.630+Suggestions are automatic based on every subcommand registered and use an implementation of [Levenshtein distance](https://en.wikipedia.org/wiki/Levenshtein_distance). Every registered command that matches a minimum distance of 2 (ignoring case) will be displayed as a suggestion.631 632 If you need to disable suggestions or tweak the string distance in your command, use:633 634 ```go28 unmodified lines