From 6fa9b59f7b115d8b4256d048d9b4481fc0f8d47f Mon Sep 17 00:00:00 2001 From: jen-reeve Date: Fri, 17 Jul 2026 12:14:59 +1200 Subject: [PATCH 1/2] maybe? --- overrides/main.html | 38 +++++++++++++++++++++------------ overrides/partials/content.html | 8 +++++++ 2 files changed, 32 insertions(+), 14 deletions(-) create mode 100644 overrides/partials/content.html diff --git a/overrides/main.html b/overrides/main.html index b5b25618a..3467abd1a 100644 --- a/overrides/main.html +++ b/overrides/main.html @@ -30,21 +30,31 @@ {% endif %} {% endblock %} -{% block content %} -{% if page.meta and page.meta.status %} - {% if page.meta.status == "deprecated" %} - {% include "partials/status_deprecated_header.html" %} - {% elif page.meta.status == "tutorial" %} - {% include "partials/status_tutorial_header.html" %} +{% block container %} +
+ {% if "navigation.path" in features %} + {% include "partials/path.html" %} {% endif %} -{% endif %} -{{ super() }} +
+ {% block content %} + {% if page.meta and page.meta.status %} + {% if page.meta.status == "deprecated" %} + {% include "partials/status_deprecated_header.html" %} + {% elif page.meta.status == "tutorial" %} + {% include "partials/status_tutorial_header.html" %} + {% endif %} + {% endif %} + {{ super() }} -{% if git_page_authors %} -
- - Authors: {{ git_page_authors | default('enable mkdocs-git-authors-plugin') }} - + {% if git_page_authors %} +
+ + Authors: {{ git_page_authors | default('enable mkdocs-git-authors-plugin') }} + +
+ {% endif %} + {% endblock %} +
+ {% include "partials/source-file.html" %}
-{% endif %} {% endblock %} diff --git a/overrides/partials/content.html b/overrides/partials/content.html new file mode 100644 index 000000000..09f6836a8 --- /dev/null +++ b/overrides/partials/content.html @@ -0,0 +1,8 @@ +{% include "partials/tags.html" %} +{% include "partials/actions.html" %} +{% if "{{ page.title | d(config.site_name, true)}} +{% endif %} +{{ page.content }} +{% include "partials/feedback.html" %} +{% include "partials/comments.html" %} From 3349b5af0b35cfa31f3f9193c5aa6bbb3d3b4466 Mon Sep 17 00:00:00 2001 From: jen-reeve Date: Fri, 17 Jul 2026 16:10:51 +1200 Subject: [PATCH 2/2] moderate accessibility fixes --- .../Interactive_Computing/OnDemand/.pages.yml | 2 +- docs/assets/javascripts/general.js | 42 +++++++++++++++++++ docs/assets/stylesheets/theme.css | 21 ++++++++++ overrides/partials/nav-item.html | 19 +++++++-- overrides/partials/search.html | 42 +++++++++++++++++++ 5 files changed, 121 insertions(+), 5 deletions(-) create mode 100644 overrides/partials/search.html diff --git a/docs/Interactive_Computing/OnDemand/.pages.yml b/docs/Interactive_Computing/OnDemand/.pages.yml index 0139a1695..2118e8aeb 100644 --- a/docs/Interactive_Computing/OnDemand/.pages.yml +++ b/docs/Interactive_Computing/OnDemand/.pages.yml @@ -4,4 +4,4 @@ nav: - Apps - "*" - Troubleshooting: ood_troubleshooting.md - - Release Notes: Release_Notes + - OnDemand Release Notes: Release_Notes diff --git a/docs/assets/javascripts/general.js b/docs/assets/javascripts/general.js index cdaaa1bce..2db78f401 100644 --- a/docs/assets/javascripts/general.js +++ b/docs/assets/javascripts/general.js @@ -92,6 +92,48 @@ function format8601(str){ showOfficeBanner(); +// Material's skip-link div (data-md-component="skip") sits directly under +// , before any landmark, so its "Skip to content" link is unreachable +// via landmark navigation. Wrap it in a