mirror of https://github.com/apache/nifi.git
NIFI-150: Addressed issues not pulling in the user guide appropriately
This commit is contained in:
parent
9c38f358b8
commit
d57b34c452
|
@ -21,7 +21,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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>
|
||||
<link href="css/main.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="component-links">
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -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
|
||||
var initialComponentLink = $('a.component-link:first');
|
||||
var initialSelection = $('#initial-selection').text();
|
||||
|
|
Loading…
Reference in New Issue