![Emily Toop](/assets/img/avatar_default.png)
Steps to building docs locally: 1. Install Jekyll 2. cd docs 3. bundle exec jekyll serve --incremental 4. open local docs site at http://127.0.0.1:4000/ * basic Jekyll site * Add docs to documentation site * Update javadoc to allow for error free builds * Remove docs for rust dependencies * Better display examples, about and contributing documentation for Mentat * Version docs
30 lines
827 B
JavaScript
30 lines
827 B
JavaScript
function show(type)
|
|
{
|
|
count = 0;
|
|
for (var key in methods) {
|
|
var row = document.getElementById(key);
|
|
if ((methods[key] & type) != 0) {
|
|
row.style.display = '';
|
|
row.className = (count++ % 2) ? rowColor : altColor;
|
|
}
|
|
else
|
|
row.style.display = 'none';
|
|
}
|
|
updateTabs(type);
|
|
}
|
|
|
|
function updateTabs(type)
|
|
{
|
|
for (var value in tabs) {
|
|
var sNode = document.getElementById(tabs[value][0]);
|
|
var spanNode = sNode.firstChild;
|
|
if (value == type) {
|
|
sNode.className = activeTableTab;
|
|
spanNode.innerHTML = tabs[value][1];
|
|
}
|
|
else {
|
|
sNode.className = tableTab;
|
|
spanNode.innerHTML = "<a href=\"javascript:show("+ value + ");\">" + tabs[value][1] + "</a>";
|
|
}
|
|
}
|
|
}
|