give Migrations a link in the left menu of help
Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/909ed9ae Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/909ed9ae Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/909ed9ae Branch: refs/heads/master Commit: 909ed9aeddc034a9a59868db22847801ea25b4ec Parents: 72ff5a9 Author: randgalt <[email protected]> Authored: Fri Jul 14 14:37:09 2017 -0500 Committer: randgalt <[email protected]> Committed: Fri Jul 14 14:37:09 2017 -0500 ---------------------------------------------------------------------- curator-x-async/src/site/site.xml | 8 +++++--- src/site/site.xml | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/curator/blob/909ed9ae/curator-x-async/src/site/site.xml ---------------------------------------------------------------------- diff --git a/curator-x-async/src/site/site.xml b/curator-x-async/src/site/site.xml index fc0a67a..70b5d4b 100644 --- a/curator-x-async/src/site/site.xml +++ b/curator-x-async/src/site/site.xml @@ -23,15 +23,17 @@ <body> <head> <link rel="stylesheet" href="../css/site.css" /> - <script type="text/javascript"> + <script type="text/javascript"><![CDATA[ $(function(){ - if ( location && location.pathname && (location.pathname.endsWith('/index.html') || location.pathname.endsWith('/migrations.html')) ) { + if ( location && location.pathname && location.pathname.endsWith('/index.html') ) { $('a[title="Java 8/Async"]').parent().addClass("active"); + } else if ( location && location.pathname && location.pathname.endsWith('/migrations.html') ) { + $('a[title="Migrations"]').parent().addClass("active"); } else { $('a[title="Strongly Typed Models"]').parent().addClass("active"); } }); - </script> + ]]></script> </head> </body> </project> http://git-wip-us.apache.org/repos/asf/curator/blob/909ed9ae/src/site/site.xml ---------------------------------------------------------------------- diff --git a/src/site/site.xml b/src/site/site.xml index 83ddd46..4b1ac98 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -75,6 +75,7 @@ <item name="Client" href="curator-client/index.html"/> <item name="Java 8/Async" href="curator-x-async/index.html"/> <item name="Strongly Typed Models" href="curator-x-async/modeled.html"/> + <item name="Migrations" href="curator-x-async/migrations.html"/> <item name="Schema Support" href="curator-framework/schema.html"/> </menu>
