Skip to content

Commit 9eb9b8c

Browse files
Merge pull request #39 from AristurtleDev/fix-breadcrumbs
Resolve Issue Where Roadmap Is Always In Breadcrumbs
2 parents c4eb32b + c12f2df commit 9eb9b8c

File tree

7 files changed

+11
-3
lines changed

7 files changed

+11
-3
lines changed

articles/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
- name: Introduction
22
href:
33
- name: Roadmap
4-
href: roadmap.md
4+
href: /roadmap/
55
- name: What's New
66
href: whats_new.md
77
- name: Getting Started

docfx.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
"articles/**/*.md",
3939
"articles/**/*.yml",
4040
"foundation/**/*.md",
41+
"roadmap/**/*.md",
42+
"roadmap/**/*.yml",
4143
"toc.yml",
4244
"*.md"
4345
],
File renamed without changes.

articles/roadmap.md renamed to roadmap/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: MonoGame Roadmap
33
description: The forecasted roadmap for MonoGame development/improvement, including lists of bounties in development.
4+
_disableToc: true
5+
_disableBreadcrumb: true
46
---
57

68
## MonoGame official roadmap

templates/monogame/layout/_master.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
{{>partials/theme}}
1616
{{>partials/analytics}}
1717

18-
<body class="tex2jax_ignore" data-layout="{{_layout}}{{layout}}" data-yaml-mime="{{yamlmime}}">
18+
<body class="tex2jax_ignore" data-layout="{{_layout}}{{layout}}" data-disable-toc="{{_disableToc}}" data-yaml-mime="{{yamlmime}}">
1919
{{>partials/topnav}}
2020

2121
<main class="container-xxl">

templates/monogame/public/main.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ body[data-layout="landing"] > main {
4444
max-width: 1320px !important;
4545
}
4646

47+
body[data-disable-toc="true" i] .toc-offcanvas {
48+
visibility: hidden;
49+
}
50+
4751

4852
/*******************************************************************************
4953
*** Section: Bootstrap Overrides

toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
- name: Documentation
22
href: /
33
- name: Roadmap
4-
href: articles/roadmap.md
4+
href: roadmap/
55
- name: Community
66
href: https://monogame.net/community/
77
- name: Showcase

0 commit comments

Comments
 (0)