From 2c8079a9b1fc3f123fe68453eff41c194f08a7d7 Mon Sep 17 00:00:00 2001 From: Christopher Whitley <103014489+AristurtleDev@users.noreply.github.com> Date: Sun, 4 Aug 2024 22:58:18 -0400 Subject: [PATCH 1/4] Move roadmap to it's own directory --- {articles => roadmap}/images/Roadmap.png | Bin articles/roadmap.md => roadmap/index.md | 2 ++ 2 files changed, 2 insertions(+) rename {articles => roadmap}/images/Roadmap.png (100%) rename articles/roadmap.md => roadmap/index.md (99%) diff --git a/articles/images/Roadmap.png b/roadmap/images/Roadmap.png similarity index 100% rename from articles/images/Roadmap.png rename to roadmap/images/Roadmap.png diff --git a/articles/roadmap.md b/roadmap/index.md similarity index 99% rename from articles/roadmap.md rename to roadmap/index.md index 597601f..293fc9e 100644 --- a/articles/roadmap.md +++ b/roadmap/index.md @@ -1,6 +1,8 @@ --- title: MonoGame Roadmap description: The forecasted roadmap for MonoGame development/improvement, including lists of bounties in development. +_disableToc: true +_disableBreadcrumb: true --- ## MonoGame official roadmap From 332c8e63713bd858c9e857a595a83ba65cbb3a93 Mon Sep 17 00:00:00 2001 From: Christopher Whitley <103014489+AristurtleDev@users.noreply.github.com> Date: Sun, 4 Aug 2024 22:58:32 -0400 Subject: [PATCH 2/4] Update the tocs for the new roadmap location --- articles/toc.yml | 2 +- toc.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/articles/toc.yml b/articles/toc.yml index efa25c5..ddc972f 100644 --- a/articles/toc.yml +++ b/articles/toc.yml @@ -1,7 +1,7 @@ - name: Introduction href: - name: Roadmap - href: roadmap.md + href: /roadmap/ - name: What's New href: whats_new.md - name: Getting Started diff --git a/toc.yml b/toc.yml index 180a850..f90cd86 100644 --- a/toc.yml +++ b/toc.yml @@ -1,7 +1,7 @@ - name: Documentation href: / - name: Roadmap - href: articles/roadmap.md + href: roadmap/ - name: Community href: https://monogame.net/community/ - name: Showcase From 372af05fddc9f888781a80bc4ce52c2c0830cc19 Mon Sep 17 00:00:00 2001 From: Christopher Whitley <103014489+AristurtleDev@users.noreply.github.com> Date: Sun, 4 Aug 2024 22:58:58 -0400 Subject: [PATCH 3/4] Add option to disable toc --- templates/monogame/layout/_master.tmpl | 2 +- templates/monogame/public/main.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/monogame/layout/_master.tmpl b/templates/monogame/layout/_master.tmpl index d0ddc71..195c872 100644 --- a/templates/monogame/layout/_master.tmpl +++ b/templates/monogame/layout/_master.tmpl @@ -15,7 +15,7 @@ {{>partials/theme}} {{>partials/analytics}} - + {{>partials/topnav}}
diff --git a/templates/monogame/public/main.css b/templates/monogame/public/main.css index fce47cd..3b63438 100644 --- a/templates/monogame/public/main.css +++ b/templates/monogame/public/main.css @@ -44,6 +44,10 @@ body[data-layout="landing"] > main { max-width: 1320px !important; } +body[data-disable-toc="true" i] .toc-offcanvas { + visibility: hidden; +} + /******************************************************************************* *** Section: Bootstrap Overrides From c12f2dff67eef31cf8645e4a27bf69b88bfa27ec Mon Sep 17 00:00:00 2001 From: Christopher Whitley <103014489+AristurtleDev@users.noreply.github.com> Date: Sun, 4 Aug 2024 22:59:19 -0400 Subject: [PATCH 4/4] Include roadmap in content files --- docfx.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docfx.json b/docfx.json index ba76ca2..877a25e 100644 --- a/docfx.json +++ b/docfx.json @@ -38,6 +38,8 @@ "articles/**/*.md", "articles/**/*.yml", "foundation/**/*.md", + "roadmap/**/*.md", + "roadmap/**/*.yml", "toc.yml", "*.md" ],