aboutsummaryrefslogtreecommitdiff
path: root/templates (unfollow)
Commit message (Collapse)AuthorFiles
2022-05-17Update dependencies (#54)Abhinav Gupta1
Update all dependencies, use Go 1.18 to build and test, and delete outdated `bindata` clause in Makefile (we switched to `go:embed` in #50). Other minor changes: - Fix the golint import path (it switched to golang.org/x/lint long before it was deprecated) and fix the failing lint check. (Switching from golint to revive is out of scope for this PR.) - Delete .envrc -- this was transitional for when Go modules were optional.
2022-01-03Support package-level overrides for URLs (#52)Tyler Sullivan1
Sally accepts the base vanity URL (e.g. `go.uber.org`) in a top-level `url` key. This applies to all packages listed in the configuration. Add support for overriding the `url` on a per-package basis. This will provide for an easier transition period when migrating Go packages of an organization between hosts, for example from BitBucket to GitHub. With this, source code can be modified across the various repositories over time to use the new vanity URL. For example, some packages will use a URL of bitbucketurl.org and some will use mycoolgoimportvanity.org in their source code imports. Other than the use-case outlined above, this feature adds flexibility to the vanity server to support more than one vanity URL when used behind an ingress controller.
2021-09-10Use go embed for templates (#50)Luciano Nooijen1
Go 1.16 includes a `//go:embed` directive that obviates the need for bindata. Use `//go:embed` instead of bindata for templates used in sally. Signed-off-by: Luciano Nooijen <luciano@bytecode.nl> Co-authored-by: Abhinav Gupta <abg@uber.com>
2021-05-18Allow setting branch (#46)Jan-Philipp Benecke1
Support specifying the branch from which source will be served in the YAML configuration.
2020-03-02Fix godoc badge image (#43)Abhinav Gupta1
pkg.go.dev does not serve a badge like godoc.org. This change switches the image over to one provided by shields.io. Note that this uses the style "for-the-badge" from shields.io.
2019-03-05Support changing godoc instance (#38)Diego Bernardes1
This adds the ability to change the godoc.org instance used by Sally to link to documentation by providing a new `godoc` section in the configuration.
2019-01-03Add minimal stylingAbhinav Gupta2
2016-10-12Rework as HTTP server (#15)Grayson Koonce2
2016-09-30Starting point (#1)Grayson Koonce2