Exemplo n.º 1
0
 public IActionResult Index(string folder, string file)
 {
     ViewData["Title"] = file;
     return(View(VIEW_INDEX, DocumentationHelper.GetContent(folder + "/" + file)));
 }
Exemplo n.º 2
0
 public IActionResult RootDoc(string file)
 {
     ViewData["Title"] = file;
     return(View(VIEW_INDEX, DocumentationHelper.GetContent(file) ?? DocumentationHelper.GetContent(file + "/README") ?? DocumentationHelper.GetContent(file + "/readme")));
 }
Exemplo n.º 3
0
 public IActionResult Index()
 {
     ViewData["Title"] = DocumentingConfig.Current.IndexDocument ?? "README";
     return(View(VIEW_INDEX, DocumentationHelper.GetContent(DocumentingConfig.Current.IndexDocument) ?? DocumentationHelper.GetContent("README") ?? DocumentationHelper.GetContent("readme")));
 }