Skip to content

Commit

Permalink
Add warning about outdated GtkSharp docs
Browse files Browse the repository at this point in the history
Fixes #646
  • Loading branch information
akoeplinger committed Dec 20, 2024
1 parent 437e00e commit e9c91c0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ defaults:
values:
layout: "docpage"
navgroup: "docs"
-
scope:
path: "docs/gui/gtksharp"
values:
layout: "obsolete-gtksharp"
navgroup: "docs"
-
scope:
path: ""
Expand Down
9 changes: 9 additions & 0 deletions _layouts/obsolete-gtksharp.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
layout: docpage
---
<div class="row">
<div class="small-12 columns">
<div data-alert class="alert-box warning"><h6><i class="fas fa-exclamation-triangle"></i> The Gtk# docs here are outdated. Please visit the <strong><a href="https://github.com/GtkSharp/GtkSharp">GtkSharp</a></strong> GitHub repo for updated content.</h6></div>
{{ content }}
</div>
</div>

0 comments on commit e9c91c0

Please sign in to comment.