mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2026-02-07 17:13:32 +00:00
Correctif apos
This commit is contained in:
parent
6f96068b46
commit
401f483216
80 changed files with 1405 additions and 1277 deletions
|
|
@ -428,6 +428,7 @@ namespace AideDeJeu.ViewModels
|
|||
{
|
||||
var monster = item as Monster;
|
||||
return
|
||||
monster != null &&
|
||||
monster.Type.Contains(type) &&
|
||||
(string.IsNullOrEmpty(size) || monster.Size.Equals(size)) &&
|
||||
monster.Source.Contains(source) &&
|
||||
|
|
|
|||
|
|
@ -203,11 +203,12 @@ namespace AideDeJeuCmd
|
|||
{
|
||||
string dataDir = @"..\..\..\..\..\Data\";
|
||||
await CheckAllLinks();
|
||||
var anchors = await GetAllAnchorsAsync();
|
||||
foreach (var anchor in anchors)
|
||||
{
|
||||
await SearchAsync(anchor);
|
||||
}
|
||||
//var anchors = await GetAllAnchorsAsync();
|
||||
//foreach (var anchor in anchors)
|
||||
//{
|
||||
// await SearchAsync(anchor);
|
||||
//}
|
||||
Console.ReadLine();
|
||||
return;
|
||||
var mdVO = await LoadStringAsync(dataDir + "monsters_vo.md");
|
||||
var mdVF = await LoadStringAsync(dataDir + "monsters_hd.md");
|
||||
|
|
@ -272,9 +273,16 @@ namespace AideDeJeuCmd
|
|||
var names = GetMarkdownAnchorNames(md).ToList();
|
||||
allnames.Add(name, names);
|
||||
var unlinkedrefs = GetMarkdownUnlinkedRefs(md).ToList();
|
||||
foreach(var unlinkedref in unlinkedrefs)
|
||||
if (unlinkedrefs.Count > 0)
|
||||
{
|
||||
Console.WriteLine($"{name} {unlinkedref}");
|
||||
Console.WriteLine($"{name} :");
|
||||
Console.WriteLine();
|
||||
foreach (var unlinkedref in unlinkedrefs.Distinct().OrderBy(i => i))
|
||||
{
|
||||
Console.WriteLine($"[{unlinkedref}]: #{Helpers.IdFromName(unlinkedref)}");
|
||||
}
|
||||
Console.WriteLine();
|
||||
Console.WriteLine();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue