Skip to content

Commit

Permalink
Add API documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic100 committed Feb 16, 2017
1 parent 0267871 commit 10e8f4e
Show file tree
Hide file tree
Showing 67 changed files with 66,010 additions and 23 deletions.
14 changes: 11 additions & 3 deletions _includes/navbar.html
Expand Up @@ -6,15 +6,23 @@
<a href="{{site.github.url}}/plugins.html">Plugins</a>
</li>

<li {% if page.title == 'Events' %}class="active"{% endif %}>
<a href="{{site.github.url}}/dev/events.html">Events</a>
</li>

<li>
<a href="{{site.github.url}}/api">API</a>
</li>

<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">Advanced <span class="caret"></span></a>
<ul class="dropdown-menu">
<li {% if page.title == 'Create plugins' %}class="active"{% endif %}>
<a href="{{site.github.url}}/dev/plugins.html">Create plugins</a>
</li>

<li {% if page.title == 'Events' %}class="active"{% endif %}>
<a href="{{site.github.url}}/dev/events.html">Events</a>
<li {% if page.title == 'No Bootstrap' %}class="active"{% endif %}>
<a href="{{site.github.url}}/dev/no-bootstrap.html">No Bootstrap</a>
</li>
</ul>
</li>
</li>
5 changes: 2 additions & 3 deletions _layouts/default.html
Expand Up @@ -190,9 +190,8 @@ <h1>{{page.title}}</h1>
<!-- Async scripts
=========================================== -->
{% if site.header.trianglify %}
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.4.11/d3.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/trianglify/0.1.2/trianglify.min.js"></script>
<script>trianglify('{{site.header.color1}}', '{{site.header.color2}}');</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/trianglify/1.0.1/trianglify.min.js"></script>
<script>trianglify('{{site.header.color1}}', '{{site.header.color2}}', '{{site.name}}');</script>
{% endif %}

{% if site.twitter.enabled or site.twitter.account %}
Expand Down
1,951 changes: 1,951 additions & 0 deletions api/Group.html

Large diffs are not rendered by default.

1,033 changes: 1,033 additions & 0 deletions api/Model.html

Large diffs are not rendered by default.

1,075 changes: 1,075 additions & 0 deletions api/Node.html

Large diffs are not rendered by default.

5,940 changes: 5,940 additions & 0 deletions api/QueryBuilder.html

Large diffs are not rendered by default.

1,313 changes: 1,313 additions & 0 deletions api/Rule.html

Large diffs are not rendered by default.

952 changes: 952 additions & 0 deletions api/Utils.html

Large diffs are not rendered by default.

1,180 changes: 1,180 additions & 0 deletions api/core.js.html

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions api/css/bootstrap.min.css

Large diffs are not rendered by default.

137 changes: 137 additions & 0 deletions api/css/prism.css
@@ -0,0 +1,137 @@
/**
* prism.js default theme for JavaScript, CSS and HTML
* Based on dabblet (http://dabblet.com)
* @author Lea Verou
*/

code[class*="language-"],
pre[class*="language-"] {
color: black;
background: none;
text-shadow: 0 1px white;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;

-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;

-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}

pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
text-shadow: none;
background: #b3d4fc;
}

pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
code[class*="language-"]::selection, code[class*="language-"] ::selection {
text-shadow: none;
background: #b3d4fc;
}

@media print {
code[class*="language-"],
pre[class*="language-"] {
text-shadow: none;
}
}

/* Code blocks */
pre[class*="language-"] {
padding: 1em;
margin: .5em 0;
overflow: auto;
}

:not(pre) > code[class*="language-"],
pre[class*="language-"] {
background: #f5f2f0;
}

/* Inline code */
:not(pre) > code[class*="language-"] {
padding: .1em;
border-radius: .3em;
white-space: normal;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: slategray;
}

.token.punctuation {
color: #999;
}

.namespace {
opacity: .7;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
color: #905;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
color: #690;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
color: #a67f59;
background: hsla(0, 0%, 100%, .5);
}

.token.atrule,
.token.attr-value,
.token.keyword {
color: #07a;
}

.token.function {
color: #DD4A68;
}

.token.regex,
.token.important,
.token.variable {
color: #e90;
}

.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}

.token.entity {
cursor: help;
}
1 change: 1 addition & 0 deletions api/css/prism.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions api/css/template.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 10e8f4e

Please sign in to comment.