Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix template documentation comments #610

Merged
merged 1 commit into from
Jul 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions api.go
Original file line number Diff line number Diff line change
Expand Up @@ -555,11 +555,11 @@ type Repository struct {
CommitURLTemplate string

// The repository URL for getting to a file. Has access to
// {{Branch}}, {{Path}}
// {{.Version}}, {{.Path}}
FileURLTemplate string

// The URL fragment to add to a file URL for line numbers. has
// access to {{LineNumber}}. The fragment should include the
// access to {{.LineNumber}}. The fragment should include the
// separator, generally '#' or ';'.
LineFragmentTemplate string

Expand Down
4 changes: 2 additions & 2 deletions grpc/v1/webserver.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions grpc/v1/webserver.proto
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,11 @@ message Repository {
string commit_url_template = 7;

// The repository URL for getting to a file. Has access to
// {{Branch}}, {{Path}}
// {{.Version}}, {{.Path}}
string file_url_template = 8;

// The URL fragment to add to a file URL for line numbers. has
// access to {{LineNumber}}. The fragment should include the
// access to {{.LineNumber}}. The fragment should include the
// separator, generally '#' or ';'.
string line_fragment_template = 9;

Expand Down