diff --git a/docs/input/_layout.cshtml b/docs/input/_layout.cshtml index 249b1b2..d81ff5f 100644 --- a/docs/input/_layout.cshtml +++ b/docs/input/_layout.cshtml @@ -53,7 +53,7 @@ @RenderSection(Constants.Sections.Splash, false) } @{ - string section = Document.Destination.Segments.Length > 1 ? Document.Destination.Segments[0].ToString() : null; + string section = "docs"; }
@@ -126,7 +126,7 @@ } else { - IDocument root = OutputPages[section + "/index.html"].First(); + IDocument root = OutputPages["index.html"].First(); diff --git a/docs/input/docs/colors.md b/docs/input/colors.md similarity index 100% rename from docs/input/docs/colors.md rename to docs/input/colors.md diff --git a/docs/input/docs/console.md b/docs/input/console.md similarity index 100% rename from docs/input/docs/console.md rename to docs/input/console.md diff --git a/docs/input/docs/grids.md b/docs/input/grids.md similarity index 100% rename from docs/input/docs/grids.md rename to docs/input/grids.md diff --git a/docs/input/index.cshtml b/docs/input/index.cshtml deleted file mode 100644 index 8793933..0000000 --- a/docs/input/index.cshtml +++ /dev/null @@ -1,15 +0,0 @@ -Title: Start -NoContainer: true ---- -@section Splash { -
-
-
Spectre.Console
-

- A .NET Standard library that makes it easier to create beautiful console applications. -

- Take me to the documentation -

-
-
-} \ No newline at end of file diff --git a/docs/input/docs/index.md b/docs/input/index.md similarity index 100% rename from docs/input/docs/index.md rename to docs/input/index.md diff --git a/docs/input/docs/markup.md b/docs/input/markup.md similarity index 100% rename from docs/input/docs/markup.md rename to docs/input/markup.md diff --git a/docs/input/docs/panels.md b/docs/input/panels.md similarity index 100% rename from docs/input/docs/panels.md rename to docs/input/panels.md diff --git a/docs/input/docs/quick-start.md b/docs/input/quick-start.md similarity index 100% rename from docs/input/docs/quick-start.md rename to docs/input/quick-start.md diff --git a/docs/input/docs/tables.md b/docs/input/tables.md similarity index 100% rename from docs/input/docs/tables.md rename to docs/input/tables.md