@syntax
+ }
+}
\ No newline at end of file
diff --git a/docs/input/api/Sections/_TypeParameters.cshtml b/docs/input/api/Sections/_TypeParameters.cshtml
new file mode 100644
index 00000000..8b912f05
--- /dev/null
+++ b/docs/input/api/Sections/_TypeParameters.cshtml
@@ -0,0 +1,26 @@
+@using Statiq.CodeAnalysis
+
+@{
+ var typeParameters = Model.GetDocumentList(CodeAnalysisKeys.TypeParameters);
+ var typeParams = Model.GetList@typeParam.GetString(CodeAnalysisKeys.Name)
+ @Context.GetTypeLink(type)
+@Html.Raw(value)
+} \ No newline at end of file diff --git a/docs/input/api/_layout.cshtml b/docs/input/api/_layout.cshtml new file mode 100644 index 00000000..50d19c6a --- /dev/null +++ b/docs/input/api/_layout.cshtml @@ -0,0 +1,48 @@ +@using Statiq.CodeAnalysis +@using Docs.Extensions +@inherits StatiqRazorPageThe Spectre.Console API reference is organized by namespace. Each namespace has one or more classes for working with Console applications.
+ +{highlightElement}";
+ return shortcodeResult;
+ }
+}
\ No newline at end of file
diff --git a/docs/src/SocialCards/index.cshtml.cs b/docs/src/SocialCards/index.cshtml.cs
index d7ceac1c..79752732 100644
--- a/docs/src/SocialCards/index.cshtml.cs
+++ b/docs/src/SocialCards/index.cshtml.cs
@@ -1,6 +1,5 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
-using Microsoft.Extensions.Logging;
namespace Docs.SocialCards{
public class SocialCardModel : PageModel
@@ -17,13 +16,6 @@ namespace Docs.SocialCards{
[BindProperty(Name = "footer", SupportsGet = true)]
public string Footer { get; set; }
- private readonly ILogger