diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-28 09:12:03 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-28 09:12:03 +0200 |
| commit | 1615abaacccdbb5002404a77270fd333ce8ad718 (patch) | |
| tree | c84cde36805a8717d21504cf954cffc72a2f1181 /doc/configuration.md | |
| parent | a694dd751eb16d47b0956facd5594ef575c9dce4 (diff) | |
feat(showcase): support per-repo stats branchesv0.16.0
Diffstat (limited to 'doc/configuration.md')
| -rw-r--r-- | doc/configuration.md | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/doc/configuration.md b/doc/configuration.md index 25a425f..230cac6 100644 --- a/doc/configuration.md +++ b/doc/configuration.md @@ -37,7 +37,10 @@ GitSyncer looks for configuration files in the following order: "exclude_branches": [ "^temp-", "-wip$" - ] + ], + "showcase_stats_branches": { + "foo.zone": "content-gemtext" + } } ``` @@ -78,6 +81,18 @@ Example: } ``` +#### showcase_stats_branches (optional) +Map of repository names to the branch that should be used when generating showcase statistics and cached code snippets. This is useful when the primary content for a repo lives on a non-default branch. + +Example: +```json +{ + "showcase_stats_branches": { + "foo.zone": "content-gemtext" + } +} +``` + ## Examples ### Minimal Configuration @@ -123,7 +138,10 @@ Sync between GitHub and Codeberg: "^temp-", "-wip$", "^old-" - ] + ], + "showcase_stats_branches": { + "foo.zone": "content-gemtext" + } } ``` |
