This commit is contained in:
kojix2 2024-12-26 00:02:39 +00:00
parent bc746749a3
commit ce41df3a8f
25 changed files with 414 additions and 343 deletions

View File

@ -6,7 +6,7 @@
<title>
Module: UnicodePlot
&mdash; Documentation by YARD 0.9.36
&mdash; Documentation by YARD 0.9.37
</title>
@ -241,9 +241,9 @@
</div>
<div id="footer">
Generated on Sat Jul 20 06:43:19 2024 by
Generated on Thu Dec 26 00:02:38 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.36 (ruby-3.3.4).
0.9.37 (ruby-3.3.6).
</div>
</div>

View File

@ -6,7 +6,7 @@
<title>
Module: YouPlot
&mdash; Documentation by YARD 0.9.36
&mdash; Documentation by YARD 0.9.37
</title>
@ -296,9 +296,9 @@
</div>
<div id="footer">
Generated on Sat Jul 20 06:43:19 2024 by
Generated on Thu Dec 26 00:02:38 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.36 (ruby-3.3.4).
0.9.37 (ruby-3.3.6).
</div>
</div>

View File

@ -6,7 +6,7 @@
<title>
Module: YouPlot::Backends
&mdash; Documentation by YARD 0.9.36
&mdash; Documentation by YARD 0.9.37
</title>
@ -118,9 +118,9 @@
</div>
<div id="footer">
Generated on Sat Jul 20 06:43:19 2024 by
Generated on Thu Dec 26 00:02:38 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.36 (ruby-3.3.4).
0.9.37 (ruby-3.3.6).
</div>
</div>

View File

@ -6,7 +6,7 @@
<title>
Module: YouPlot::Backends::Processing
&mdash; Documentation by YARD 0.9.36
&mdash; Documentation by YARD 0.9.37
</title>
@ -208,9 +208,9 @@
</div>
<div id="footer">
Generated on Sat Jul 20 06:43:19 2024 by
Generated on Thu Dec 26 00:02:38 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.36 (ruby-3.3.4).
0.9.37 (ruby-3.3.6).
</div>
</div>

View File

@ -6,7 +6,7 @@
<title>
Module: YouPlot::Backends::UnicodePlot
&mdash; Documentation by YARD 0.9.36
&mdash; Documentation by YARD 0.9.37
</title>
@ -1070,9 +1070,9 @@
</div>
<div id="footer">
Generated on Sat Jul 20 06:43:19 2024 by
Generated on Thu Dec 26 00:02:38 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.36 (ruby-3.3.4).
0.9.37 (ruby-3.3.6).
</div>
</div>

View File

@ -6,7 +6,7 @@
<title>
Exception: YouPlot::Backends::UnicodePlot::Error
&mdash; Documentation by YARD 0.9.36
&mdash; Documentation by YARD 0.9.37
</title>
@ -114,9 +114,9 @@
</div>
<div id="footer">
Generated on Sat Jul 20 06:43:20 2024 by
Generated on Thu Dec 26 00:02:38 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.36 (ruby-3.3.4).
0.9.37 (ruby-3.3.6).
</div>
</div>

View File

@ -6,7 +6,7 @@
<title>
Class: YouPlot::Command
&mdash; Documentation by YARD 0.9.36
&mdash; Documentation by YARD 0.9.37
</title>
@ -767,9 +767,9 @@
</div>
<div id="footer">
Generated on Sat Jul 20 06:43:20 2024 by
Generated on Thu Dec 26 00:02:38 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.36 (ruby-3.3.4).
0.9.37 (ruby-3.3.6).
</div>
</div>

View File

@ -6,7 +6,7 @@
<title>
Module: YouPlot::DSV
&mdash; Documentation by YARD 0.9.36
&mdash; Documentation by YARD 0.9.37
</title>
@ -460,9 +460,9 @@
</div>
<div id="footer">
Generated on Sat Jul 20 06:43:19 2024 by
Generated on Thu Dec 26 00:02:38 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.36 (ruby-3.3.4).
0.9.37 (ruby-3.3.6).
</div>
</div>

View File

@ -6,7 +6,7 @@
<title>
Class: YouPlot::Data
&mdash; Documentation by YARD 0.9.36
&mdash; Documentation by YARD 0.9.37
</title>
@ -300,9 +300,9 @@
</div>
<div id="footer">
Generated on Sat Jul 20 06:43:20 2024 by
Generated on Thu Dec 26 00:02:38 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.36 (ruby-3.3.4).
0.9.37 (ruby-3.3.6).
</div>
</div>

View File

@ -6,7 +6,7 @@
<title>
Class: YouPlot::Options
&mdash; Documentation by YARD 0.9.36
&mdash; Documentation by YARD 0.9.37
</title>
@ -1103,9 +1103,9 @@
</div>
<div id="footer">
Generated on Sat Jul 20 06:43:20 2024 by
Generated on Thu Dec 26 00:02:38 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.36 (ruby-3.3.4).
0.9.37 (ruby-3.3.6).
</div>
</div>

View File

@ -6,7 +6,7 @@
<title>
Class: YouPlot::Parameters
&mdash; Documentation by YARD 0.9.36
&mdash; Documentation by YARD 0.9.37
</title>
@ -1881,9 +1881,9 @@
</div>
<div id="footer">
Generated on Sat Jul 20 06:43:20 2024 by
Generated on Thu Dec 26 00:02:38 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.36 (ruby-3.3.4).
0.9.37 (ruby-3.3.6).
</div>
</div>

View File

@ -6,7 +6,7 @@
<title>
Class: YouPlot::Parser
&mdash; Documentation by YARD 0.9.36
&mdash; Documentation by YARD 0.9.37
</title>
@ -2352,9 +2352,9 @@
</div>
<div id="footer">
Generated on Sat Jul 20 06:43:20 2024 by
Generated on Thu Dec 26 00:02:38 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.36 (ruby-3.3.4).
0.9.37 (ruby-3.3.6).
</div>
</div>

View File

@ -6,7 +6,7 @@
<title>
Exception: YouPlot::Parser::Error
&mdash; Documentation by YARD 0.9.36
&mdash; Documentation by YARD 0.9.37
</title>
@ -114,9 +114,9 @@
</div>
<div id="footer">
Generated on Sat Jul 20 06:43:20 2024 by
Generated on Thu Dec 26 00:02:38 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.36 (ruby-3.3.4).
0.9.37 (ruby-3.3.6).
</div>
</div>

View File

@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Documentation by YARD 0.9.36
Documentation by YARD 0.9.37
</title>
@ -52,7 +52,7 @@
<div class="clear"></div>
</div>
<div id="content"><h1 class="noborder title">Documentation by YARD 0.9.36</h1>
<div id="content"><h1 class="noborder title">Documentation by YARD 0.9.37</h1>
<div id="listing">
<h1 class="alphaindex">Alphabetic Index</h1>
@ -238,9 +238,9 @@
</div>
<div id="footer">
Generated on Sat Jul 20 06:43:19 2024 by
Generated on Thu Dec 26 00:02:37 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.36 (ruby-3.3.4).
0.9.37 (ruby-3.3.6).
</div>
</div>

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html >
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8" />
@ -38,12 +38,15 @@
</div>
<div id="search">Search: <input type="text" /></div>
<div id="search">
<label for="search-class">Search:</label>
<input id="search-class" type="text" />
</div>
</div>
<ul id="full_list" class="class">
<li id="object_" class="odd"><div class="item" style="padding-left:30px"><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></div></li>
<li id='object_UnicodePlot' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="UnicodePlot.html" title="UnicodePlot (module)">UnicodePlot</a></span><small class='search_info'>Top Level Namespace</small></div></li><li id='object_YouPlot' class='odd'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="YouPlot.html" title="YouPlot (module)">YouPlot</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_YouPlot::Backends' class='collapsed even'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="YouPlot/Backends.html" title="YouPlot::Backends (module)">Backends</a></span><small class='search_info'>YouPlot</small></div><ul><li id='object_YouPlot::Backends::Processing' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="YouPlot/Backends/Processing.html" title="YouPlot::Backends::Processing (module)">Processing</a></span><small class='search_info'>YouPlot::Backends</small></div></li><li id='object_YouPlot::Backends::UnicodePlot' class='collapsed'><div class='item' style='padding-left:60px'><a class='toggle'></a> <span class='object_link'><a href="YouPlot/Backends/UnicodePlot.html" title="YouPlot::Backends::UnicodePlot (module)">UnicodePlot</a></span><small class='search_info'>YouPlot::Backends</small></div><ul><li id='object_YouPlot::Backends::UnicodePlot::Error' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="YouPlot/Backends/UnicodePlot/Error.html" title="YouPlot::Backends::UnicodePlot::Error (class)">Error</a></span> &lt; StandardError<small class='search_info'>YouPlot::Backends::UnicodePlot</small></div></li></ul></li></ul></li><li id='object_YouPlot::Command' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="YouPlot/Command.html" title="YouPlot::Command (class)">Command</a></span> &lt; Object<small class='search_info'>YouPlot</small></div></li><li id='object_YouPlot::DSV' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="YouPlot/DSV.html" title="YouPlot::DSV (module)">DSV</a></span><small class='search_info'>YouPlot</small></div></li><li id='object_YouPlot::Data' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="YouPlot/Data.html" title="YouPlot::Data (class)">Data</a></span> &lt; Struct<small class='search_info'>YouPlot</small></div></li><li id='object_YouPlot::Options' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="YouPlot/Options.html" title="YouPlot::Options (class)">Options</a></span> &lt; Struct<small class='search_info'>YouPlot</small></div></li><li id='object_YouPlot::Parameters' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="YouPlot/Parameters.html" title="YouPlot::Parameters (class)">Parameters</a></span> &lt; Struct<small class='search_info'>YouPlot</small></div></li><li id='object_YouPlot::Parser' class='collapsed even'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="YouPlot/Parser.html" title="YouPlot::Parser (class)">Parser</a></span> &lt; Object<small class='search_info'>YouPlot</small></div><ul><li id='object_YouPlot::Parser::Error' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="YouPlot/Parser/Error.html" title="YouPlot::Parser::Error (class)">Error</a></span> &lt; StandardError<small class='search_info'>YouPlot::Parser</small></div></li></ul></li></ul></li>
<li id='object_UnicodePlot' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="UnicodePlot.html" title="UnicodePlot (module)">UnicodePlot</a></span><small class='search_info'>Top Level Namespace</small></div></li><li id='object_YouPlot' class='odd'><div class='item' style='padding-left:30px'><a tabindex='0' class='toggle' role='button' aria-label='YouPlot child nodes' aria-expanded='false' aria-controls='object_YouPlot'></a> <span class='object_link'><a href="YouPlot.html" title="YouPlot (module)">YouPlot</a></span><small class='search_info'>Top Level Namespace</small></div><div aria-labelledby='object_YouPlot'><ul><li id='object_YouPlot::Backends' class='collapsed even'><div class='item' style='padding-left:45px'><a tabindex='0' class='toggle' role='button' aria-label='Backends child nodes' aria-expanded='false' aria-controls='object_YouPlot::Backends'></a> <span class='object_link'><a href="YouPlot/Backends.html" title="YouPlot::Backends (module)">Backends</a></span><small class='search_info'>YouPlot</small></div><div aria-labelledby='object_YouPlot::Backends'><ul><li id='object_YouPlot::Backends::Processing' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="YouPlot/Backends/Processing.html" title="YouPlot::Backends::Processing (module)">Processing</a></span><small class='search_info'>YouPlot::Backends</small></div></li><li id='object_YouPlot::Backends::UnicodePlot' class='collapsed'><div class='item' style='padding-left:60px'><a tabindex='0' class='toggle' role='button' aria-label='UnicodePlot child nodes' aria-expanded='false' aria-controls='object_YouPlot::Backends::UnicodePlot'></a> <span class='object_link'><a href="YouPlot/Backends/UnicodePlot.html" title="YouPlot::Backends::UnicodePlot (module)">UnicodePlot</a></span><small class='search_info'>YouPlot::Backends</small></div><div aria-labelledby='object_YouPlot::Backends::UnicodePlot'><ul><li id='object_YouPlot::Backends::UnicodePlot::Error' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="YouPlot/Backends/UnicodePlot/Error.html" title="YouPlot::Backends::UnicodePlot::Error (class)">Error</a></span> &lt; StandardError<small class='search_info'>YouPlot::Backends::UnicodePlot</small></div></li></ul></div></li></ul></div></li><li id='object_YouPlot::Command' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="YouPlot/Command.html" title="YouPlot::Command (class)">Command</a></span> &lt; Object<small class='search_info'>YouPlot</small></div></li><li id='object_YouPlot::DSV' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="YouPlot/DSV.html" title="YouPlot::DSV (module)">DSV</a></span><small class='search_info'>YouPlot</small></div></li><li id='object_YouPlot::Data' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="YouPlot/Data.html" title="YouPlot::Data (class)">Data</a></span> &lt; Struct<small class='search_info'>YouPlot</small></div></li><li id='object_YouPlot::Options' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="YouPlot/Options.html" title="YouPlot::Options (class)">Options</a></span> &lt; Struct<small class='search_info'>YouPlot</small></div></li><li id='object_YouPlot::Parameters' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="YouPlot/Parameters.html" title="YouPlot::Parameters (class)">Parameters</a></span> &lt; Struct<small class='search_info'>YouPlot</small></div></li><li id='object_YouPlot::Parser' class='collapsed even'><div class='item' style='padding-left:45px'><a tabindex='0' class='toggle' role='button' aria-label='Parser child nodes' aria-expanded='false' aria-controls='object_YouPlot::Parser'></a> <span class='object_link'><a href="YouPlot/Parser.html" title="YouPlot::Parser (class)">Parser</a></span> &lt; Object<small class='search_info'>YouPlot</small></div><div aria-labelledby='object_YouPlot::Parser'><ul><li id='object_YouPlot::Parser::Error' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="YouPlot/Parser/Error.html" title="YouPlot::Parser::Error (class)">Error</a></span> &lt; StandardError<small class='search_info'>YouPlot::Parser</small></div></li></ul></div></li></ul></div></li>
</ul>
</div>

View File

@ -20,8 +20,8 @@ h1 { padding: 12px 10px; padding-bottom: 0; margin: 0; font-size: 1.4em; }
#content.insearch #noresults { margin-left: 7px; }
li.collapsed ul { display: none; }
li a.toggle { cursor: default; position: relative; left: -5px; top: 4px; text-indent: -999px; width: 10px; height: 9px; margin-left: -10px; display: block; float: left; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5jWRgMAAAAVdEVYdENyZWF0aW9uIFRpbWUAMy8xNC8wOeNZPpQAAAE2SURBVDiNrZTBccIwEEXfelIAHUA6CZ24BGaWO+FuzZAK4k6gg5QAdGAq+Bxs2Yqx7BzyL7Llp/VfzZeQhCTc/ezuGzKKnKSzpCxXJM8fwNXda3df5RZETlIt6YUzSQDs93sl8w3wBZxCCE10GM1OcWbWjB2mWgEH4Mfdyxm3PSepBHibgQE2wLe7r4HjEidpnXMYdQPKEMJcsZ4zs2POYQOcaPfwMVOo58zsAdMt18BuoVDPxUJRacELbXv3hUIX2vYmOUvi8C8ydz/ThjXrqKqqLbDIAdsCKBd+Wo7GWa7o9qzOQHVVVXeAbs+yHHCH4aTsaCOQqunmUy1yBUAXkdMIfMlgF5EXLo2OpV/c/Up7jG4hhHcYLgWzAZXUc2b2ixsfvc/RmNNfOXD3Q/oeL9axJE1yT9IOoUu6MGUkAAAAAElFTkSuQmCC) no-repeat bottom left; }
li.collapsed a.toggle { opacity: 0.5; cursor: default; background-position: top left; }
li { color: #888; cursor: pointer; }
li.collapsed a.toggle { cursor: default; background-position: top left; }
li { color: #666; cursor: pointer; }
li.deprecated { text-decoration: line-through; font-style: italic; }
li.odd { background: #f0f0f0; }
li.even { background: #fafafa; }
@ -47,7 +47,7 @@ li small { display: block; font-size: 0.8em; }
li small:before { content: ""; }
li small:after { content: ""; }
li small.search_info { display: none; }
#search { width: 170px; position: static; margin: 3px; margin-left: 10px; font-size: 0.9em; color: #888; padding-left: 0; padding-right: 24px; }
#search { width: 170px; position: static; margin: 3px; margin-left: 10px; font-size: 0.9em; color: #666; padding-left: 0; padding-right: 24px; }
#content.insearch #search { background-position: center right; }
#search input { width: 110px; }

View File

@ -82,6 +82,11 @@ body {
#search { display: none; }
}
@media (max-width: 320px) {
body { height: 100%; overflow: hidden; overflow-wrap: break-word; }
#main { height: 100%; overflow: auto; }
}
#main img { max-width: 100%; }
h1 { font-size: 25px; margin: 1em 0 0.5em; padding-top: 4px; border-top: 1px dotted #d5d5d5; }
h1.noborder { border-top: 0px; margin-top: 0; padding-top: 4px; }
@ -106,6 +111,7 @@ h2 small a {
position: relative;
padding: 2px 7px;
}
a { font-weight: 550; }
.clear { clear: both; }
.inline { display: inline; }
.inline p:first-child { display: inline; }

View File

@ -6,7 +6,7 @@
<title>
File: README
&mdash; Documentation by YARD 0.9.36
&mdash; Documentation by YARD 0.9.37
</title>
@ -449,9 +449,9 @@ If so, please feel free to contact us.
</div></div>
<div id="footer">
Generated on Sat Jul 20 06:43:19 2024 by
Generated on Thu Dec 26 00:02:38 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.36 (ruby-3.3.4).
0.9.37 (ruby-3.3.6).
</div>
</div>

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html >
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8" />
@ -38,7 +38,10 @@
</div>
<div id="search">Search: <input type="text" /></div>
<div id="search">
<label for="search-class">Search:</label>
<input id="search-class" type="text" />
</div>
</div>
<ul id="full_list" class="file">

View File

@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<title>Documentation by YARD 0.9.36</title>
<title>Documentation by YARD 0.9.37</title>
</head>
<script type="text/javascript">
var mainUrl = 'index.html';

View File

@ -6,7 +6,7 @@
<title>
File: README
&mdash; Documentation by YARD 0.9.36
&mdash; Documentation by YARD 0.9.37
</title>
@ -449,9 +449,9 @@ If so, please feel free to contact us.
</div></div>
<div id="footer">
Generated on Sat Jul 20 06:43:19 2024 by
Generated on Thu Dec 26 00:02:38 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.36 (ruby-3.3.4).
0.9.37 (ruby-3.3.6).
</div>
</div>

582
js/app.js
View File

@ -1,314 +1,344 @@
(function() {
(function () {
var localStorage = {},
sessionStorage = {};
try {
localStorage = window.localStorage;
} catch (e) {}
try {
sessionStorage = window.sessionStorage;
} catch (e) {}
var localStorage = {}, sessionStorage = {};
try { localStorage = window.localStorage; } catch (e) { }
try { sessionStorage = window.sessionStorage; } catch (e) { }
function createSourceLinks() {
$('.method_details_list .source_code').
before("<span class='showSource'>[<a href='#' class='toggleSource'>View source</a>]</span>");
$('.toggleSource').toggle(function() {
$(this).parent().nextAll('.source_code').slideDown(100);
$(this).text("Hide source");
},
function() {
$(this).parent().nextAll('.source_code').slideUp(100);
function createSourceLinks() {
$(".method_details_list .source_code").before(
"<span class='showSource'>[<a href='#' class='toggleSource'>View source</a>]</span>"
);
$(".toggleSource").toggle(
function () {
$(this).parent().nextAll(".source_code").slideDown(100);
$(this).text("Hide source");
},
function () {
$(this).parent().nextAll(".source_code").slideUp(100);
$(this).text("View source");
});
}
}
);
}
function createDefineLinks() {
function createDefineLinks() {
var tHeight = 0;
$('.defines').after(" <a href='#' class='toggleDefines'>more...</a>");
$('.toggleDefines').toggle(function() {
$(".defines").after(" <a href='#' class='toggleDefines'>more...</a>");
$(".toggleDefines").toggle(
function () {
tHeight = $(this).parent().prev().height();
$(this).prev().css('display', 'inline');
$(this).prev().css("display", "inline");
$(this).parent().prev().height($(this).parent().height());
$(this).text("(less)");
},
function() {
},
function () {
$(this).prev().hide();
$(this).parent().prev().height(tHeight);
$(this).text("more...");
});
}
}
);
}
function createFullTreeLinks() {
function createFullTreeLinks() {
var tHeight = 0;
$('.inheritanceTree').toggle(function() {
$(".inheritanceTree").toggle(
function () {
tHeight = $(this).parent().prev().height();
$(this).parent().toggleClass('showAll');
$(this).parent().toggleClass("showAll");
$(this).text("(hide)");
$(this).parent().prev().height($(this).parent().height());
},
function() {
$(this).parent().toggleClass('showAll');
},
function () {
$(this).parent().toggleClass("showAll");
$(this).parent().prev().height(tHeight);
$(this).text("show all");
});
}
function searchFrameButtons() {
$('.full_list_link').click(function() {
toggleSearchFrame(this, $(this).attr('href'));
return false;
});
window.addEventListener('message', function(e) {
if (e.data === 'navEscape') {
$('#nav').slideUp(100);
$('#search a').removeClass('active inactive');
$(window).focus();
}
});
$(window).resize(function() {
if ($('#search:visible').length === 0) {
$('#nav').removeAttr('style');
$('#search a').removeClass('active inactive');
$(window).focus();
}
});
}
function toggleSearchFrame(id, link) {
var frame = $('#nav');
$('#search a').removeClass('active').addClass('inactive');
if (frame.attr('src') === link && frame.css('display') !== "none") {
frame.slideUp(100);
$('#search a').removeClass('active inactive');
}
);
}
else {
$(id).addClass('active').removeClass('inactive');
if (frame.attr('src') !== link) frame.attr('src', link);
frame.slideDown(100);
function searchFrameButtons() {
$(".full_list_link").click(function () {
toggleSearchFrame(this, $(this).attr("href"));
return false;
});
window.addEventListener("message", function (e) {
if (e.data === "navEscape") {
$("#nav").slideUp(100);
$("#search a").removeClass("active inactive");
$(window).focus();
}
});
$(window).resize(function () {
if ($("#search:visible").length === 0) {
$("#nav").removeAttr("style");
$("#search a").removeClass("active inactive");
$(window).focus();
}
});
}
}
function linkSummaries() {
$('.summary_signature').click(function() {
document.location = $(this).find('a').attr('href');
});
}
function summaryToggle() {
$('.summary_toggle').click(function(e) {
e.preventDefault();
localStorage.summaryCollapsed = $(this).text();
$('.summary_toggle').each(function() {
$(this).text($(this).text() == "collapse" ? "expand" : "collapse");
var next = $(this).parent().parent().nextAll('ul.summary').first();
if (next.hasClass('compact')) {
next.toggle();
next.nextAll('ul.summary').first().toggle();
}
else if (next.hasClass('summary')) {
var list = $('<ul class="summary compact" />');
list.html(next.html());
list.find('.summary_desc, .note').remove();
list.find('a').each(function() {
$(this).html($(this).find('strong').html());
$(this).parent().html($(this)[0].outerHTML);
});
next.before(list);
next.toggle();
}
});
return false;
});
if (localStorage.summaryCollapsed == "collapse") {
$('.summary_toggle').first().click();
} else { localStorage.summaryCollapsed = "expand"; }
}
function constantSummaryToggle() {
$('.constants_summary_toggle').click(function(e) {
e.preventDefault();
localStorage.summaryCollapsed = $(this).text();
$('.constants_summary_toggle').each(function() {
$(this).text($(this).text() == "collapse" ? "expand" : "collapse");
var next = $(this).parent().parent().nextAll('dl.constants').first();
if (next.hasClass('compact')) {
next.toggle();
next.nextAll('dl.constants').first().toggle();
}
else if (next.hasClass('constants')) {
var list = $('<dl class="constants compact" />');
list.html(next.html());
list.find('dt').each(function() {
$(this).addClass('summary_signature');
$(this).text( $(this).text().split('=')[0]);
if ($(this).has(".deprecated").length) {
$(this).addClass('deprecated');
};
});
// Add the value of the constant as "Tooltip" to the summary object
list.find('pre.code').each(function() {
console.log($(this).parent());
var dt_element = $(this).parent().prev();
var tooltip = $(this).text();
if (dt_element.hasClass("deprecated")) {
tooltip = 'Deprecated. ' + tooltip;
};
dt_element.attr('title', tooltip);
});
list.find('.docstring, .tags, dd').remove();
next.before(list);
next.toggle();
}
});
return false;
});
if (localStorage.summaryCollapsed == "collapse") {
$('.constants_summary_toggle').first().click();
} else { localStorage.summaryCollapsed = "expand"; }
}
function generateTOC() {
if ($('#filecontents').length === 0) return;
var _toc = $('<ol class="top"></ol>');
var show = false;
var toc = _toc;
var counter = 0;
var tags = ['h2', 'h3', 'h4', 'h5', 'h6'];
var i;
var curli;
if ($('#filecontents h1').length > 1) tags.unshift('h1');
for (i = 0; i < tags.length; i++) { tags[i] = '#filecontents ' + tags[i]; }
var lastTag = parseInt(tags[0][1], 10);
$(tags.join(', ')).each(function() {
if ($(this).parents('.method_details .docstring').length != 0) return;
if (this.id == "filecontents") return;
show = true;
var thisTag = parseInt(this.tagName[1], 10);
if (this.id.length === 0) {
var proposedId = $(this).attr('toc-id');
if (typeof(proposedId) != "undefined") this.id = proposedId;
else {
var proposedId = $(this).text().replace(/[^a-z0-9-]/ig, '_');
if ($('#' + proposedId).length > 0) { proposedId += counter; counter++; }
this.id = proposedId;
}
function toggleSearchFrame(id, link) {
var frame = $("#nav");
$("#search a").removeClass("active").addClass("inactive");
if (frame.attr("src") === link && frame.css("display") !== "none") {
frame.slideUp(100);
$("#search a").removeClass("active inactive");
} else {
$(id).addClass("active").removeClass("inactive");
if (frame.attr("src") !== link) frame.attr("src", link);
frame.slideDown(100);
}
if (thisTag > lastTag) {
for (i = 0; i < thisTag - lastTag; i++) {
if ( typeof(curli) == "undefined" ) {
curli = $('<li/>');
toc.append(curli);
}
function linkSummaries() {
$(".summary_signature").click(function () {
document.location = $(this).find("a").attr("href");
});
}
function summaryToggle() {
$(".summary_toggle").click(function (e) {
e.preventDefault();
localStorage.summaryCollapsed = $(this).text();
$(".summary_toggle").each(function () {
$(this).text($(this).text() == "collapse" ? "expand" : "collapse");
var next = $(this).parent().parent().nextAll("ul.summary").first();
if (next.hasClass("compact")) {
next.toggle();
next.nextAll("ul.summary").first().toggle();
} else if (next.hasClass("summary")) {
var list = $('<ul class="summary compact" />');
list.html(next.html());
list.find(".summary_desc, .note").remove();
list.find("a").each(function () {
$(this).html($(this).find("strong").html());
$(this).parent().html($(this)[0].outerHTML);
});
next.before(list);
next.toggle();
}
toc = $('<ol/>');
curli.append(toc);
curli = undefined;
}
});
return false;
});
if (localStorage.summaryCollapsed == "collapse") {
$(".summary_toggle").first().click();
} else {
localStorage.summaryCollapsed = "expand";
}
if (thisTag < lastTag) {
for (i = 0; i < lastTag - thisTag; i++) {
toc = toc.parent();
toc = toc.parent();
}
}
function constantSummaryToggle() {
$(".constants_summary_toggle").click(function (e) {
e.preventDefault();
localStorage.summaryCollapsed = $(this).text();
$(".constants_summary_toggle").each(function () {
$(this).text($(this).text() == "collapse" ? "expand" : "collapse");
var next = $(this).parent().parent().nextAll("dl.constants").first();
if (next.hasClass("compact")) {
next.toggle();
next.nextAll("dl.constants").first().toggle();
} else if (next.hasClass("constants")) {
var list = $('<dl class="constants compact" />');
list.html(next.html());
list.find("dt").each(function () {
$(this).addClass("summary_signature");
$(this).text($(this).text().split("=")[0]);
if ($(this).has(".deprecated").length) {
$(this).addClass("deprecated");
}
});
// Add the value of the constant as "Tooltip" to the summary object
list.find("pre.code").each(function () {
console.log($(this).parent());
var dt_element = $(this).parent().prev();
var tooltip = $(this).text();
if (dt_element.hasClass("deprecated")) {
tooltip = "Deprecated. " + tooltip;
}
dt_element.attr("title", tooltip);
});
list.find(".docstring, .tags, dd").remove();
next.before(list);
next.toggle();
}
});
return false;
});
if (localStorage.summaryCollapsed == "collapse") {
$(".constants_summary_toggle").first().click();
} else {
localStorage.summaryCollapsed = "expand";
}
var title = $(this).attr('toc-title');
if (typeof(title) == "undefined") title = $(this).text();
curli =$('<li><a href="#' + this.id + '">' + title + '</a></li>');
toc.append(curli);
lastTag = thisTag;
});
if (!show) return;
html = '<div id="toc"><p class="title hide_toc"><a href="#"><strong>Table of Contents</strong></a></p></div>';
$('#content').prepend(html);
$('#toc').append(_toc);
$('#toc .hide_toc').toggle(function() {
$('#toc .top').slideUp('fast');
$('#toc').toggleClass('hidden');
$('#toc .title small').toggle();
}, function() {
$('#toc .top').slideDown('fast');
$('#toc').toggleClass('hidden');
$('#toc .title small').toggle();
});
}
function navResizeFn(e) {
if (e.which !== 1) {
navResizeFnStop();
return;
}
sessionStorage.navWidth = e.pageX.toString();
$('.nav_wrap').css('width', e.pageX);
$('.nav_wrap').css('-ms-flex', 'inherit');
}
function navResizeFnStop() {
$(window).unbind('mousemove', navResizeFn);
window.removeEventListener('message', navMessageFn, false);
}
function navMessageFn(e) {
if (e.data.action === 'mousemove') navResizeFn(e.data.event);
if (e.data.action === 'mouseup') navResizeFnStop();
}
function navResizer() {
$('#resizer').mousedown(function(e) {
e.preventDefault();
$(window).mousemove(navResizeFn);
window.addEventListener('message', navMessageFn, false);
});
$(window).mouseup(navResizeFnStop);
if (sessionStorage.navWidth) {
navResizeFn({which: 1, pageX: parseInt(sessionStorage.navWidth, 10)});
}
}
function navExpander() {
var done = false, timer = setTimeout(postMessage, 500);
function postMessage() {
if (done) return;
clearTimeout(timer);
var opts = { action: 'expand', path: pathId };
document.getElementById('nav').contentWindow.postMessage(opts, '*');
done = true;
function generateTOC() {
if ($("#filecontents").length === 0) return;
var _toc = $('<ol class="top"></ol>');
var show = false;
var toc = _toc;
var counter = 0;
var tags = ["h2", "h3", "h4", "h5", "h6"];
var i;
var curli;
if ($("#filecontents h1").length > 1) tags.unshift("h1");
for (i = 0; i < tags.length; i++) {
tags[i] = "#filecontents " + tags[i];
}
var lastTag = parseInt(tags[0][1], 10);
$(tags.join(", ")).each(function () {
if ($(this).parents(".method_details .docstring").length != 0) return;
if (this.id == "filecontents") return;
show = true;
var thisTag = parseInt(this.tagName[1], 10);
if (this.id.length === 0) {
var proposedId = $(this).attr("toc-id");
if (typeof proposedId != "undefined") this.id = proposedId;
else {
var proposedId = $(this)
.text()
.replace(/[^a-z0-9-]/gi, "_");
if ($("#" + proposedId).length > 0) {
proposedId += counter;
counter++;
}
this.id = proposedId;
}
}
if (thisTag > lastTag) {
for (i = 0; i < thisTag - lastTag; i++) {
if (typeof curli == "undefined") {
curli = $("<li/>");
toc.append(curli);
}
toc = $("<ol/>");
curli.append(toc);
curli = undefined;
}
}
if (thisTag < lastTag) {
for (i = 0; i < lastTag - thisTag; i++) {
toc = toc.parent();
toc = toc.parent();
}
}
var title = $(this).attr("toc-title");
if (typeof title == "undefined") title = $(this).text();
curli = $('<li><a href="#' + this.id + '">' + title + "</a></li>");
toc.append(curli);
lastTag = thisTag;
});
if (!show) return;
html =
'<div id="toc"><p class="title hide_toc"><a href="#"><strong>Table of Contents</strong></a></p></div>';
$("#content").prepend(html);
$("#toc").append(_toc);
$("#toc .hide_toc").toggle(
function () {
$("#toc .top").slideUp("fast");
$("#toc").toggleClass("hidden");
$("#toc .title small").toggle();
},
function () {
$("#toc .top").slideDown("fast");
$("#toc").toggleClass("hidden");
$("#toc .title small").toggle();
}
);
}
window.addEventListener('message', function(event) {
if (event.data === 'navReady') postMessage();
return false;
}, false);
}
function navResizeFn(e) {
if (e.which !== 1) {
navResizeFnStop();
return;
}
function mainFocus() {
var hash = window.location.hash;
if (hash !== '' && $(hash)[0]) {
$(hash)[0].scrollIntoView();
sessionStorage.navWidth = e.pageX.toString();
$(".nav_wrap").css("width", e.pageX);
$(".nav_wrap").css("-ms-flex", "inherit");
}
setTimeout(function() { $('#main').focus(); }, 10);
}
function navResizeFnStop() {
$(window).unbind("mousemove", navResizeFn);
window.removeEventListener("message", navMessageFn, false);
}
function navigationChange() {
// This works around the broken anchor navigation with the YARD template.
window.onpopstate = function() {
function navMessageFn(e) {
if (e.data.action === "mousemove") navResizeFn(e.data.event);
if (e.data.action === "mouseup") navResizeFnStop();
}
function navResizer() {
$("#resizer").mousedown(function (e) {
e.preventDefault();
$(window).mousemove(navResizeFn);
window.addEventListener("message", navMessageFn, false);
});
$(window).mouseup(navResizeFnStop);
if (sessionStorage.navWidth) {
navResizeFn({ which: 1, pageX: parseInt(sessionStorage.navWidth, 10) });
}
}
function navExpander() {
if (typeof pathId === "undefined") return;
var done = false,
timer = setTimeout(postMessage, 500);
function postMessage() {
if (done) return;
clearTimeout(timer);
var opts = { action: "expand", path: pathId };
document.getElementById("nav").contentWindow.postMessage(opts, "*");
done = true;
}
window.addEventListener(
"message",
function (event) {
if (event.data === "navReady") postMessage();
return false;
},
false
);
}
function mainFocus() {
var hash = window.location.hash;
if (hash !== '' && $(hash)[0]) {
if (hash !== "" && $(hash)[0]) {
$(hash)[0].scrollIntoView();
}
};
}
$(document).ready(function() {
navResizer();
navExpander();
createSourceLinks();
createDefineLinks();
createFullTreeLinks();
searchFrameButtons();
linkSummaries();
summaryToggle();
constantSummaryToggle();
generateTOC();
mainFocus();
navigationChange();
});
setTimeout(function () {
$("#main").focus();
}, 10);
}
function navigationChange() {
// This works around the broken anchor navigation with the YARD template.
window.onpopstate = function () {
var hash = window.location.hash;
if (hash !== "" && $(hash)[0]) {
$(hash)[0].scrollIntoView();
}
};
}
$(document).ready(function () {
navResizer();
navExpander();
createSourceLinks();
createDefineLinks();
createFullTreeLinks();
searchFrameButtons();
linkSummaries();
summaryToggle();
constantSummaryToggle();
generateTOC();
mainFocus();
navigationChange();
});
})();

View File

@ -62,8 +62,25 @@ function enableToggles() {
evt.stopPropagation();
evt.preventDefault();
$(this).parent().parent().toggleClass('collapsed');
$(this).attr('aria-expanded', function (i, attr) {
return attr == 'true' ? 'false' : 'true'
});
highlight();
});
// navigation of nested classes using keyboard
$('#full_list a.toggle').on('keypress',function(evt) {
// enter key is pressed
if (evt.which == 13) {
evt.stopPropagation();
evt.preventDefault();
$(this).parent().parent().toggleClass('collapsed');
$(this).attr('aria-expanded', function (i, attr) {
return attr == 'true' ? 'false' : 'true'
});
highlight();
}
});
}
function populateSearchCache() {
@ -91,7 +108,7 @@ function enableSearch() {
}
});
$('#full_list').after("<div id='noresults' style='display:none'></div>");
$('#full_list').after("<div id='noresults' role='status' style='display: none'></div>");
}
function ignoredKeyPress(event) {
@ -154,11 +171,14 @@ function partialSearch(searchString, offset) {
function searchDone() {
searchTimeout = null;
highlight();
if ($('#full_list li:visible').size() === 0) {
$('#noresults').text('No results were found.').hide().fadeIn();
var found = $('#full_list li:visible').size();
if (found === 0) {
$('#noresults').text('No results were found.');
} else {
$('#noresults').text('').hide();
// This is read out to screen readers
$('#noresults').text('There are ' + found + ' results.');
}
$('#noresults').show();
$('#content').removeClass('insearch');
}
@ -188,6 +208,12 @@ function expandTo(path) {
$target.addClass('clicked');
$target.removeClass('collapsed');
$target.parentsUntil('#full_list', 'li').removeClass('collapsed');
$target.find('a.toggle').attr('aria-expanded', 'true')
$target.parentsUntil('#full_list', 'li').each(function(i, el) {
$(el).find('> div > a.toggle').attr('aria-expanded', 'true');
});
if($target[0]) {
window.scrollTo(window.scrollX, $target.offset().top - 250);
highlight();

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html >
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8" />
@ -38,7 +38,10 @@
</div>
<div id="search">Search: <input type="text" /></div>
<div id="search">
<label for="search-class">Search:</label>
<input id="search-class" type="text" />
</div>
</div>
<ul id="full_list" class="method">

View File

@ -6,7 +6,7 @@
<title>
Top Level Namespace
&mdash; Documentation by YARD 0.9.36
&mdash; Documentation by YARD 0.9.37
</title>
@ -100,9 +100,9 @@
</div>
<div id="footer">
Generated on Sat Jul 20 06:43:19 2024 by
Generated on Thu Dec 26 00:02:38 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.36 (ruby-3.3.4).
0.9.37 (ruby-3.3.6).
</div>
</div>