From 8146ce4488b1793753865faa6fc1be8531ee931d Mon Sep 17 00:00:00 2001 From: Rob Vesse Date: Mon, 27 Nov 2023 14:28:28 +0000 Subject: [PATCH] Fix some doc navigation issues --- .gitignore | 1 + docs/404.html | 7 ++++++- docs/_config.yml | 2 ++ docs/_includes/javadoc-nav.html | 18 +++++++++++------- docs/_includes/nav-fragment.html | 2 +- 5 files changed, 21 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 641b11334..28b85d1a2 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,4 @@ docs/find.xslt docs/maven-metadata.xml docs/.bundle/ docs/vendor/ +docs/.jekyll-metadata diff --git a/docs/404.html b/docs/404.html index 9703ba819..09e28aecd 100755 --- a/docs/404.html +++ b/docs/404.html @@ -6,5 +6,10 @@

404: Page not found

-

Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. Head back home to try finding it again.

+

Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. Head back home to try finding it again.

+

+ If you were looking for Javadoc the module you've selected may not have existed in the Airline release you have + selected. +

diff --git a/docs/_config.yml b/docs/_config.yml index 91f4c909d..94d865c16 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -130,6 +130,8 @@ side_nav: url: "require-only-one.html" - text: "@MutuallyExclusiveWith" url: "mutually-exclusive-with.html" + - text: "@RequiredUnlessEnvironment" + url: "required-unless.html" - text: "Occurrence Restrictions" kind: Group items: diff --git a/docs/_includes/javadoc-nav.html b/docs/_includes/javadoc-nav.html index 16c12d420..e085e2796 100644 --- a/docs/_includes/javadoc-nav.html +++ b/docs/_includes/javadoc-nav.html @@ -1,11 +1,15 @@ +
  • Help Modules + +
  • +
  • JPMS Resource Locator
  • + diff --git a/docs/_includes/nav-fragment.html b/docs/_includes/nav-fragment.html index 4d57af063..6ef335d9b 100644 --- a/docs/_includes/nav-fragment.html +++ b/docs/_includes/nav-fragment.html @@ -23,7 +23,7 @@ {% elsif navitem.kind == "Javadoc" %}
  • - {{ javadoc }} + {{ navitem.version }} {% include javadoc-nav.html version=navitem.version %}
  • {% else %}