NIFI-150: Addressed issues not pulling in the user guide appropriately

This commit is contained in:
Mark Payne 2014-12-19 14:13:34 -05:00
parent 9c38f358b8
commit d57b34c452
2 changed files with 7 additions and 1 deletions

View File

@ -21,7 +21,7 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>NiFi Documentation</title> <title>NiFi Documentation</title>
<script type="text/javascript" src="../nifi/js/jquery/jquery-1.7.min.js"></script> <script type="text/javascript" src="../nifi/js/jquery/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="js/application.js"></script> <script type="text/javascript" src="js/application.js"></script>
<link href="css/main.css" rel="stylesheet" type="text/css" /> <link href="css/main.css" rel="stylesheet" type="text/css" />
<link href="css/component-usage.css" rel="stylesheet" type="text/css" /> <link href="css/component-usage.css" rel="stylesheet" type="text/css" />
@ -41,6 +41,7 @@
<div class="header">Documents</div> <div class="header">Documents</div>
<div class="component-links"> <div class="component-links">
<ul> <ul>
<li class="component-item"><a class="component-link user-guide" href="user-guide/nifi-user-guide.html" target="component-usage">User Guide</a></li>
</ul> </ul>
</div> </div>
</div> </div>

View File

@ -256,6 +256,11 @@ $(document).ready(function () {
} }
}); });
// listen for on the rest api and user guide
$('a.rest-api a.user-guide').on('click', function() {
selectComponent($(this).text());
});
// get the initial selection // get the initial selection
var initialComponentLink = $('a.component-link:first'); var initialComponentLink = $('a.component-link:first');
var initialSelection = $('#initial-selection').text(); var initialSelection = $('#initial-selection').text();