Exemple #1
0
 public static bool IsSupportedRelativeHref(HrefType hrefType)
 {
     // TocFile href type can happen when homepage is set to toc.yml explicitly
     return hrefType == HrefType.RelativeFile
         || hrefType == HrefType.YamlTocFile
         || hrefType == HrefType.MarkdownTocFile;
 }
Exemple #2
0
 public static bool IsSupportedRelativeHref(HrefType hrefType)
 {
     // TocFile href type can happen when homepage is set to toc.yml explicitly
     return(hrefType == HrefType.RelativeFile ||
            hrefType == HrefType.YamlTocFile ||
            hrefType == HrefType.MarkdownTocFile);
 }