Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
shakty committed Apr 21, 2018
1 parent ce7a316 commit 6dfdf0e
Show file tree
Hide file tree
Showing 15 changed files with 954 additions and 415 deletions.
1 change: 1 addition & 0 deletions bin/make.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ program
}
var command = dockerDir + 'docker -i ' + rootDir +
' index.js lib/ listeners/ -o ' + rootDir + 'docs/ -u';

var child = exec(command, function (error, stdout, stderr) {
if (stdout) console.log(stdout);
if (stderr) console.log(stderr);
Expand Down
11 changes: 9 additions & 2 deletions docs/doc-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -311,20 +311,22 @@ body .highlight .c { color: #408080; font-style: italic } /* Comment */
body .highlight .err { border: 1px solid #FF0000 } /* Error */
body .highlight .k { color: #008000; font-weight: bold } /* Keyword */
body .highlight .o { color: #666666 } /* Operator */
body .highlight .ch { color: #408080; font-style: italic } /* Comment.Hashbang */
body .highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
body .highlight .cp { color: #BC7A00 } /* Comment.Preproc */
body .highlight .cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */
body .highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
body .highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
body .highlight .gd { color: #A00000 } /* Generic.Deleted */
body .highlight .ge { font-style: italic } /* Generic.Emph */
body .highlight .gr { color: #FF0000 } /* Generic.Error */
body .highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
body .highlight .gi { color: #00A000 } /* Generic.Inserted */
body .highlight .go { color: #808080 } /* Generic.Output */
body .highlight .go { color: #888888 } /* Generic.Output */
body .highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
body .highlight .gs { font-weight: bold } /* Generic.Strong */
body .highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
body .highlight .gt { color: #0040D0 } /* Generic.Traceback */
body .highlight .gt { color: #0044DD } /* Generic.Traceback */
body .highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
body .highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
body .highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
Expand All @@ -347,12 +349,15 @@ body .highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
body .highlight .nv { color: #19177C } /* Name.Variable */
body .highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
body .highlight .w { color: #bbbbbb } /* Text.Whitespace */
body .highlight .mb { color: #666666 } /* Literal.Number.Bin */
body .highlight .mf { color: #666666 } /* Literal.Number.Float */
body .highlight .mh { color: #666666 } /* Literal.Number.Hex */
body .highlight .mi { color: #666666 } /* Literal.Number.Integer */
body .highlight .mo { color: #666666 } /* Literal.Number.Oct */
body .highlight .sa { color: #BA2121 } /* Literal.String.Affix */
body .highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
body .highlight .sc { color: #BA2121 } /* Literal.String.Char */
body .highlight .dl { color: #BA2121 } /* Literal.String.Delimiter */
body .highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
body .highlight .s2 { color: #BA2121 } /* Literal.String.Double */
body .highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
Expand All @@ -363,7 +368,9 @@ body .highlight .sr { color: #BB6688 } /* Literal.String.Regex */
body .highlight .s1 { color: #BA2121 } /* Literal.String.Single */
body .highlight .ss { color: #19177C } /* Literal.String.Symbol */
body .highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
body .highlight .fm { color: #0000FF } /* Name.Function.Magic */
body .highlight .vc { color: #19177C } /* Name.Variable.Class */
body .highlight .vg { color: #19177C } /* Name.Variable.Global */
body .highlight .vi { color: #19177C } /* Name.Variable.Instance */
body .highlight .vm { color: #19177C } /* Name.Variable.Magic */
body .highlight .il { color: #666666 } /* Literal.Number.Integer.Long */
2 changes: 1 addition & 1 deletion docs/index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h1>
</div>
</div>
</td>
<td class="code highlight"><div class="highlight"><pre><span class="nx">module</span><span class="p">.</span><span class="nx">exports</span><span class="p">.</span><span class="nx">GameWindow</span> <span class="o">=</span> <span class="nx">require</span><span class="p">(</span><span class="s1">&#39;./lib/GameWindow.js&#39;</span><span class="p">);</span>
<td class="code highlight"><div class="highlight"><pre><span></span><span class="nx">module</span><span class="p">.</span><span class="nx">exports</span><span class="p">.</span><span class="nx">GameWindow</span> <span class="o">=</span> <span class="nx">require</span><span class="p">(</span><span class="s1">&#39;./lib/GameWindow.js&#39;</span><span class="p">);</span>
</pre></div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/lib/Canvas.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h1>
</div>
</div>
</td>
<td class="code highlight"><div class="highlight"><pre><span class="p">(</span><span class="kd">function</span><span class="p">(</span><span class="nx">exports</span><span class="p">)</span> <span class="p">{</span>
<td class="code highlight"><div class="highlight"><pre><span></span><span class="p">(</span><span class="kd">function</span><span class="p">(</span><span class="nx">exports</span><span class="p">)</span> <span class="p">{</span>

<span class="s2">&quot;use strict&quot;</span><span class="p">;</span>

Expand Down
Loading

0 comments on commit 6dfdf0e

Please sign in to comment.