Adding Syndicate Pages
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user