Fix links

This commit is contained in:
Pieter Vander Vennet 2022-05-31 18:10:39 +02:00
parent b877fff2b5
commit 99dbe5961c
2 changed files with 2 additions and 2 deletions

View file

@ -182,7 +182,7 @@ namespace AspectedRouting.IO.md
{
var p = _profile;
var b = _profile.Behaviours[_behaviour];
md.AddTitle(_profile.Name + "." + _behaviour, 1);
md.AddTitle($"[{_profile.Name}](./{_profile.Name}.md).{_behaviour}", 1);
md.Add(p.Description);

View file

@ -341,7 +341,7 @@ namespace AspectedRouting
File.WriteAllText(
$"{outputDir}/profile-documentation/{profile.Name}.{behaviourName}.md",
behaviourMd.ToString());
profileMd.AddTitle($"[{behaviourName}](./{behaviourName}.md)", 2);
profileMd.AddTitle($"[{behaviourName}](./{profile.Name}.{behaviourName}.md)", 2);
profileMd.Add(vars["description"].Evaluate(context).ToString());
profileMd.Add(behaviourMd.MainFormula());
}