From 1615abaacccdbb5002404a77270fd333ce8ad718 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 28 Mar 2026 09:12:03 +0200 Subject: feat(showcase): support per-repo stats branches --- doc/api-reference.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'doc/api-reference.md') diff --git a/doc/api-reference.md b/doc/api-reference.md index cc4f69c..c189e99 100644 --- a/doc/api-reference.md +++ b/doc/api-reference.md @@ -205,9 +205,10 @@ type Organization struct { #### type Config ```go type Config struct { - Organizations []Organization `json:"organizations"` // List of git organizations - Repositories []string `json:"repositories"` // Specific repos to sync - ExcludeBranches []string `json:"exclude_branches"` // Regex patterns for branch exclusion + Organizations []Organization `json:"organizations"` // List of git organizations + Repositories []string `json:"repositories"` // Specific repos to sync + ExcludeBranches []string `json:"exclude_branches"` // Regex patterns for branch exclusion + ShowcaseStatsBranches map[string]string `json:"showcase_stats_branches"` // Per-repo branch overrides for showcase stats/code snippets } ``` @@ -511,4 +512,4 @@ gitsyncer version 0.1.0 ``` #### func GetShortVersion() string -Returns just the version number: `0.1.0` \ No newline at end of file +Returns just the version number: `0.1.0` -- cgit v1.2.3