Adding Syndicate Pages

This commit is contained in:
2026-07-18 13:18:04 -04:00
parent 54e7dc06c0
commit c8d10c19de
35 changed files with 2119 additions and 468 deletions
+6 -1
View File
@@ -223,12 +223,17 @@ foreach (var file in mdFiles)
var fileName = Path.GetFileName(file);
if (fileName.StartsWith("_")) continue;
// Special handling for Syndicate Pairings
// Special handling for Syndicates and Syndicate Pairings
List<string>? syndicatesProp = null;
if (category == "Syndicate Pairings")
{
syndicatesProp = ParseList(yaml, "syndicates");
}
else if (category == "Syndicate" || category == "Faction")
{
syndicatesProp = [Path.GetFileNameWithoutExtension(file)];
category = "Syndicate"; // Normalize Faction to Syndicate
}
docs.Add(new DocData
{