programming-pages 0.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CODE_OF_CONDUCT.md +46 -0
- data/CONTRIBUTING.md +15 -0
- data/LICENSE +21 -0
- data/README.md +157 -0
- data/_config.yml +40 -0
- data/_data/icons/theme.yml +73 -0
- data/_includes/elements/attribution.html +28 -0
- data/_includes/elements/help.html +24 -0
- data/_includes/elements/indices.html +225 -0
- data/_includes/elements/search.html +7 -0
- data/_includes/elements/title.html +8 -0
- data/_includes/icon.liquid +22 -0
- data/_includes/ordered_child_list.liquid +48 -0
- data/_includes/package_shortener.liquid +29 -0
- data/_includes/scripts/example.js +7 -0
- data/_includes/scripts/help.js +10 -0
- data/_includes/scripts/indices.js +17 -0
- data/_includes/scripts/jquery/jquery-3.3.1.custom.min.js +2 -0
- data/_includes/scripts/jquery-address/jquery-address-1.6.semantic-ui.min.js +3 -0
- data/_includes/scripts/loadcss/loadcss-2.0.1.min.js +2 -0
- data/_includes/scripts/mousetrap/mousetrap-1.6.1.min.js +11 -0
- data/_includes/scripts/page.js +37 -0
- data/_includes/scripts/search.js +30 -0
- data/_includes/scripts/semantic-ui/_version.js +5 -0
- data/_includes/scripts/semantic-ui/dimmer.min.js +1 -0
- data/_includes/scripts/semantic-ui/modal.min.js +1 -0
- data/_includes/scripts/semantic-ui/search.min.js +1 -0
- data/_includes/scripts/semantic-ui/sidebar.min.js +1 -0
- data/_includes/scripts/semantic-ui/site.min.js +1 -0
- data/_includes/scripts/semantic-ui/state.min.js +1 -0
- data/_includes/scripts/semantic-ui/sticky.min.js +1 -0
- data/_includes/scripts/semantic-ui/tab.min.js +1 -0
- data/_includes/scripts/semantic-ui/transition.min.js +1 -0
- data/_includes/styles/semantic-ui/_version.css +5 -0
- data/_includes/styles/semantic-ui/breadcrumb.min.css +1 -0
- data/_includes/styles/semantic-ui/container.min.css +1 -0
- data/_includes/styles/semantic-ui/dimmer.min.css +1 -0
- data/_includes/styles/semantic-ui/divider.min.css +1 -0
- data/_includes/styles/semantic-ui/grid.min.css +1 -0
- data/_includes/styles/semantic-ui/header.min.css +1 -0
- data/_includes/styles/semantic-ui/image.min.css +1 -0
- data/_includes/styles/semantic-ui/input.min.css +1 -0
- data/_includes/styles/semantic-ui/item.min.css +1 -0
- data/_includes/styles/semantic-ui/label.min.css +1 -0
- data/_includes/styles/semantic-ui/list.min.css +1 -0
- data/_includes/styles/semantic-ui/menu.min.css +1 -0
- data/_includes/styles/semantic-ui/message.min.css +1 -0
- data/_includes/styles/semantic-ui/modal.min.css +1 -0
- data/_includes/styles/semantic-ui/rail.min.css +1 -0
- data/_includes/styles/semantic-ui/reset.min.css +1 -0
- data/_includes/styles/semantic-ui/search.min.css +1 -0
- data/_includes/styles/semantic-ui/segment.min.css +1 -0
- data/_includes/styles/semantic-ui/sidebar.min.css +1 -0
- data/_includes/styles/semantic-ui/site.min.css +1 -0
- data/_includes/styles/semantic-ui/sticky.min.css +1 -0
- data/_includes/styles/semantic-ui/tab.min.css +1 -0
- data/_includes/styles/semantic-ui/table.min.css +1 -0
- data/_includes/styles/semantic-ui/transition.min.css +1 -0
- data/_includes/styles/svg-icons.css +520 -0
- data/_includes/styles/tweaks.css +195 -0
- data/_includes/themes/syntax.css +84 -0
- data/_layouts/base.html +26 -0
- data/_layouts/compress.html +51 -0
- data/_layouts/example.html +43 -0
- data/_layouts/guide-index.html +14 -0
- data/_layouts/layout.html +70 -0
- data/_layouts/page.html +56 -0
- data/assets/site.css +36 -0
- data/assets/site.js +20 -0
- data/favicon.png +0 -0
- data/index.md +16 -0
- data/screenshot.png +0 -0
- metadata +161 -0
@@ -0,0 +1,84 @@
|
|
1
|
+
/*!
|
2
|
+
* monokai theme modified from: https://github.com/richleland/pygments-css/blob/master/monokai.css
|
3
|
+
* rules synced with rouge token types (see: https://github.com/jneen/rouge/blob/master/lib/rouge/token.rb)
|
4
|
+
*/
|
5
|
+
pre.highlight {
|
6
|
+
background-color: #272822;
|
7
|
+
color: #f8f8f2;
|
8
|
+
padding: .5em;
|
9
|
+
border-radius: .5em;
|
10
|
+
}
|
11
|
+
|
12
|
+
.highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
|
13
|
+
.highlight .c { color: #75715e } /* Comment */
|
14
|
+
.highlight .c1 { color: #75715e } /* Comment.Single */
|
15
|
+
.highlight .cd { color: #75715e } /* Comment.Doc */
|
16
|
+
.highlight .cm { color: #75715e } /* Comment.Multiline */
|
17
|
+
.highlight .cp { color: #75715e } /* Comment.Preproc */
|
18
|
+
.highlight .cs { color: #75715e } /* Comment.Special */
|
19
|
+
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
|
20
|
+
.highlight .g { color: #66d9ef } /* Generic */
|
21
|
+
.highlight .gd { color: #f92672 } /* Generic.Deleted */
|
22
|
+
.highlight .ge { font-style: italic } /* Generic.Emph */
|
23
|
+
.highlight .gh { color: #75715e } /* Generic.Heading */
|
24
|
+
.highlight .gi { color: #a6e22e } /* Generic.Inserted */
|
25
|
+
.highlight .gl { color: #66efd9 } /* Generic.Lineno */
|
26
|
+
.highlight .go { color: #66d9ef } /* Generic.Output */
|
27
|
+
.highlight .gp { color: #66efd9 } /* Generic.Prompt */
|
28
|
+
.highlight .gr { color: #960050; background-color: #1e0010 } /* Generic.Error */
|
29
|
+
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
30
|
+
.highlight .gt { color: #66efd9 } /* Generic.Traceback */
|
31
|
+
.highlight .gu { color: #75715e } /* Generic.Subheading */
|
32
|
+
.highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */
|
33
|
+
.highlight .k { color: #66d9ef } /* Keyword */
|
34
|
+
.highlight .kc { color: #66d9ef } /* Keyword.Constant */
|
35
|
+
.highlight .kd { color: #66d9ef } /* Keyword.Declaration */
|
36
|
+
.highlight .kn { color: #f92672 } /* Keyword.Namespace */
|
37
|
+
.highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
|
38
|
+
.highlight .kr { color: #66d9ef } /* Keyword.Reserved */
|
39
|
+
.highlight .kt { color: #66d9ef } /* Keyword.Type */
|
40
|
+
.highlight .kv { color: #66d9ef } /* Keyword.Variable */
|
41
|
+
.highlight .l { color: #ae81ff } /* Literal */
|
42
|
+
.highlight .ld { color: #e6db74 } /* Literal.Date */
|
43
|
+
.highlight .m { color: #ae81ff } /* Literal.Number */
|
44
|
+
.highlight .mb { color: #ae81ff } /* Literal.Number.Bin */
|
45
|
+
.highlight .mf { color: #ae81ff } /* Literal.Number.Float */
|
46
|
+
.highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
|
47
|
+
.highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
|
48
|
+
.highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
|
49
|
+
.highlight .mx { color: #ae81ff } /* Literal.Number.Other */
|
50
|
+
.highlight .n { color: #f8f8f2 } /* Name */
|
51
|
+
.highlight .na { color: #a6e22e } /* Name.Attribute */
|
52
|
+
.highlight .nb { color: #f8f8f2 } /* Name.Builtin */
|
53
|
+
.highlight .nc { color: #a6e22e } /* Name.Class */
|
54
|
+
.highlight .nd { color: #a6e22e } /* Name.Decorator */
|
55
|
+
.highlight .ne { color: #a6e22e } /* Name.Exception */
|
56
|
+
.highlight .nf { color: #a6e22e } /* Name.Function */
|
57
|
+
.highlight .ni { color: #f8f8f2 } /* Name.Entity */
|
58
|
+
.highlight .nl { color: #f8f8f2 } /* Name.Label */
|
59
|
+
.highlight .nn { color: #f8f8f2 } /* Name.Namespace */
|
60
|
+
.highlight .no { color: #66d9ef } /* Name.Constant */
|
61
|
+
.highlight .nt { color: #f92672 } /* Name.Tag */
|
62
|
+
.highlight .nv { color: #f8f8f2 } /* Name.Variable */
|
63
|
+
.highlight .nx { color: #a6e22e } /* Name.Other */
|
64
|
+
.highlight .o { color: #f92672 } /* Operator */
|
65
|
+
.highlight .ow { color: #f92672 } /* Operator.Word */
|
66
|
+
.highlight .p { color: #f8f8f2 } /* Punctuation */
|
67
|
+
.highlight .pi { color: #f8f8f2 } /* Punctuation.Indicator */
|
68
|
+
.highlight .py { color: #f8f8f2 } /* Name.Property */
|
69
|
+
.highlight .s { color: #e6db74 } /* Literal.String */
|
70
|
+
.highlight .s1 { color: #e6db74 } /* Literal.String.Single */
|
71
|
+
.highlight .s2 { color: #e6db74 } /* Literal.String.Double */
|
72
|
+
.highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
|
73
|
+
.highlight .sc { color: #e6db74 } /* Literal.String.Char */
|
74
|
+
.highlight .sd { color: #e6db74 } /* Literal.String.Doc */
|
75
|
+
.highlight .se { color: #ae81ff } /* Literal.String.Escape */
|
76
|
+
.highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
|
77
|
+
.highlight .si { color: #e6db74 } /* Literal.String.Interpol */
|
78
|
+
.highlight .sr { color: #e6db74 } /* Literal.String.Regex */
|
79
|
+
.highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
|
80
|
+
.highlight .sx { color: #e6db74 } /* Literal.String.Other */
|
81
|
+
.highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
|
82
|
+
.highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
|
83
|
+
.highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
|
84
|
+
.highlight .w { color: #f8f8f2 } /* Text.Whitespace */
|
data/_layouts/base.html
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
layout: compress
|
3
|
+
---
|
4
|
+
|
5
|
+
<!doctype html>
|
6
|
+
<html lang="en">
|
7
|
+
|
8
|
+
<head>
|
9
|
+
<meta charset="utf-8">
|
10
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
11
|
+
<title>{{ page.title }}</title>
|
12
|
+
<style type="text/css">svg.icon{width:1em;height:1em}</style>
|
13
|
+
<link rel="preload" as="style" href="{{ site.baseurl }}/assets/site.css" onload="this.onload=null;this.rel='stylesheet';">
|
14
|
+
<noscript><link rel="stylesheet" href="{{ site.baseurl }}/assets/site.css"></noscript>
|
15
|
+
<script>
|
16
|
+
{% include scripts/loadcss/loadcss-2.0.1.min.js %}
|
17
|
+
</script>
|
18
|
+
<script src="{{ site.baseurl }}/assets/site.js" type="text/javascript" charset="utf-8"></script>
|
19
|
+
<link rel="icon" href="{{ site.baseurl }}/favicon.png">
|
20
|
+
</head>
|
21
|
+
|
22
|
+
<body>
|
23
|
+
{{ content }}
|
24
|
+
</body>
|
25
|
+
|
26
|
+
</html>
|
@@ -0,0 +1,51 @@
|
|
1
|
+
---
|
2
|
+
# use liquid tags and filters to remove non-license comments and blank lines outside of <pre> tags
|
3
|
+
# simplified from jekyll-compress-html: https://github.com/penibelst/jekyll-compress-html
|
4
|
+
---
|
5
|
+
{% capture _LINE_FEED %}
|
6
|
+
{% endcapture %}
|
7
|
+
|
8
|
+
{%- capture _content -%}{{- content -}}{%- endcapture -%}
|
9
|
+
|
10
|
+
{% comment %} Remove unimportant comments {% endcomment %}
|
11
|
+
{% comment %} Use <!--! ... --> for important comments that should not be stripped {% endcomment %}
|
12
|
+
{%- assign _comments = "<!-- | -->" | split: "|" -%}
|
13
|
+
{%- capture _comment_befores -%}.{{ _content }}{%- endcapture -%}
|
14
|
+
{%- assign _comment_befores = _comment_befores | split: _comments.first -%}
|
15
|
+
{%- for _comment_before in _comment_befores -%}
|
16
|
+
{%- if forloop.first -%}{% continue %}{%- endif -%}
|
17
|
+
{%- capture _comment_outside -%}
|
18
|
+
{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}
|
19
|
+
{%- endcapture -%}
|
20
|
+
{%- capture _comment -%}
|
21
|
+
{%- unless _carry -%}{{ _comments.first }}{%- endunless -%}
|
22
|
+
{{ _comment_outside | split: _comments.last | first }}
|
23
|
+
{%- if _comment_outside contains _comments.last -%}
|
24
|
+
{{ _comments.last }}
|
25
|
+
{%- assign _carry = false -%}
|
26
|
+
{%- else -%}
|
27
|
+
{%- assign _carry = true -%}
|
28
|
+
{%- endif -%}
|
29
|
+
{%- endcapture -%}
|
30
|
+
{%- assign _content = _content | remove_first: _comment -%}
|
31
|
+
{%- endfor -%}
|
32
|
+
|
33
|
+
{% comment %} Remove blank lines outside of pre blocks {% endcomment %}
|
34
|
+
{%- assign _pre_befores = _content | split: "<pre" -%}
|
35
|
+
{%- assign _content = "" -%}
|
36
|
+
{%- for _pre_before in _pre_befores -%}
|
37
|
+
{%- assign _pres = _pre_before | split: "</pre>" -%}
|
38
|
+
{%- assign _pres_after = "" -%}
|
39
|
+
{%- unless _pres.size == 0 -%}
|
40
|
+
{%- assign _lines = _pres.last | split: _LINE_FEED -%}
|
41
|
+
{%- capture _pres_content -%}{% for _line in _lines %}{%- assign _trimmed = _line | split: " " | join: " " -%}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{%- endcapture -%}
|
42
|
+
{%- assign _pres_after = _pres_content -%}
|
43
|
+
{%- endunless -%}
|
44
|
+
{%- capture _content -%}
|
45
|
+
{{- _content -}}
|
46
|
+
{%- if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{%- endif -%}
|
47
|
+
{%- unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{%- endunless -%}
|
48
|
+
{%- endcapture -%}
|
49
|
+
{%- endfor -%}
|
50
|
+
|
51
|
+
{{- _content -}}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
---
|
4
|
+
|
5
|
+
{% assign dir = page.relative_path | split: '.' | first | split: '/' | last %}
|
6
|
+
|
7
|
+
<span class="anchor" id="heading"> </span>
|
8
|
+
<h1 class="ui dividing header">{{ page.title }}</h1>
|
9
|
+
|
10
|
+
<div class="ui stackable two column grid">
|
11
|
+
{% if page.thumb %}
|
12
|
+
<div class="ten wide column"><img class="ui rounded image" src="{{ page.thumb }}"></div>
|
13
|
+
{% endif %}
|
14
|
+
<div class="six wide column">{{ content }}</div>
|
15
|
+
</div>
|
16
|
+
|
17
|
+
{% unless page.code.size == 0 %}
|
18
|
+
<div id="example-code-tabs" class="ui top attached tabular menu">
|
19
|
+
{% for n in (1..page.code.size) %}
|
20
|
+
{% assign i = n | minus: 1 %}
|
21
|
+
<a class="{% if forloop.first %}active {% endif%}item" data-tab="file{{ n }}">{{ page.code[i].label }}</a>
|
22
|
+
{% endfor %}
|
23
|
+
</div>
|
24
|
+
|
25
|
+
{% for n in (1..page.code.size) %}
|
26
|
+
<div class="{% if forloop.first %}active {% endif%}ui bottom attached tab segment" data-tab="file{{ n }}">
|
27
|
+
{% assign i = n | minus: 1 %}
|
28
|
+
{% assign file = page.code[i] %}
|
29
|
+
{% capture filepath %}{{ dir }}/{{ file.url }}{% endcapture %}
|
30
|
+
{% assign syntax = file.language | default: 'text' %}
|
31
|
+
{% capture code %}```{{ syntax }}
|
32
|
+
{% include_relative {{ filepath }} %}
|
33
|
+
```{% endcapture %}
|
34
|
+
{{ code | markdownify }}
|
35
|
+
</div>
|
36
|
+
{% endfor %}
|
37
|
+
|
38
|
+
<script type="text/javascript">
|
39
|
+
{% include scripts/example.js %}
|
40
|
+
</script>
|
41
|
+
{% endunless %}
|
42
|
+
|
43
|
+
</div>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="ui basic segment">
|
6
|
+
<h1 class="ui dividing header">{{ page.title }}</h1>
|
7
|
+
|
8
|
+
{% include ordered_child_list.liquid page=page docs=site.guides %}
|
9
|
+
|
10
|
+
{% if content %}
|
11
|
+
<div class="ui basic segment">
|
12
|
+
{{ content | markdownify }}
|
13
|
+
</div>
|
14
|
+
{% endif %}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
---
|
4
|
+
|
5
|
+
{% capture newline %}
|
6
|
+
{% endcapture %}
|
7
|
+
|
8
|
+
<h1 id="heading" class="ui dividing header">{{ page.title }}</h1>
|
9
|
+
|
10
|
+
{% if page.parent_layout %}
|
11
|
+
<div class="ui list">
|
12
|
+
<div class="item">
|
13
|
+
{% include icon.liquid id='flow-line' %}
|
14
|
+
<div class="content">
|
15
|
+
<div class="ui breadcrumb">
|
16
|
+
<span class="section active">{{ page.title }}</span>
|
17
|
+
{% for ancestor in page.parent_layout %}
|
18
|
+
{% include icon.liquid id='chevron-right' class='divider' %}
|
19
|
+
<a class="section" href="{{ site.baseurl | append: site.module_root }}/{{ ancestor }}/#{{ site.module_root }}/">{{ ancestor }}</a>
|
20
|
+
{% endfor %}
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
{% endif %}
|
26
|
+
|
27
|
+
<div class="ui basic segment"><span class="anchor" id="description"> </span>
|
28
|
+
{% assign lines = page.description | split: newline %}
|
29
|
+
<p class="larger text">
|
30
|
+
{{ lines.first | markdownify | remove: '<p>' | remove: '</p>' }}
|
31
|
+
</p>
|
32
|
+
|
33
|
+
{% assign description = "" | split: "" %}
|
34
|
+
{% for line in lines offset:1 %}{% assign description = description | push: line %}{% endfor %}
|
35
|
+
{{ description | join: newline | markdownify }}
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<div class="ui basic segment">
|
39
|
+
<h2 id="usage" class="ui header">Usage</h2>
|
40
|
+
|
41
|
+
{% capture md %}
|
42
|
+
```yaml
|
43
|
+
---
|
44
|
+
layout: "{{ page.title }}"
|
45
|
+
{% if page.parameters %}
|
46
|
+
{% assign params = page.parameters | sort: 'name' -%}
|
47
|
+
{%- for p in params -%}
|
48
|
+
{{ p.name }}: {{ p.type }}
|
49
|
+
{% endfor -%}{%- endif -%}
|
50
|
+
---
|
51
|
+
<content>
|
52
|
+
```
|
53
|
+
{% endcapture %}
|
54
|
+
{{ md | markdownify }}
|
55
|
+
</div>
|
56
|
+
|
57
|
+
{% if page.parameters %}
|
58
|
+
<div class="ui basic segment">
|
59
|
+
<h2 id="parameters" class="ui header">Parameters</h2>
|
60
|
+
|
61
|
+
<table class="ui striped definition table"><tbody>
|
62
|
+
{% assign params = page.parameters | sort: 'name' %}
|
63
|
+
{% for p in params %}
|
64
|
+
{% capture optional %}{% if p.optional %}<div class="ui horizontal label">optional</div> {% endif %}{% endcapture %}
|
65
|
+
<tr><td class="collapsing"><code>{{ p.name }}</code></td><td>{{ optional }}{% if p.description %}{{ p.description | markdownify | remove: '<p>' | remove: '</p>' }}{% endif %}</td></tr>
|
66
|
+
{% endfor %}
|
67
|
+
</tbody></table>
|
68
|
+
{% endif %}
|
69
|
+
|
70
|
+
</div>
|
data/_layouts/page.html
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
---
|
2
|
+
layout: base
|
3
|
+
|
4
|
+
theme_version: 0.5.7
|
5
|
+
theme_url: https://github.com/pixeldroid/programming-pages
|
6
|
+
---
|
7
|
+
|
8
|
+
<!-- top menu -->
|
9
|
+
<div id="site-title" class="ui top fixed menu">
|
10
|
+
{% include elements/title.html %}
|
11
|
+
</div>
|
12
|
+
|
13
|
+
<!-- animated sidebar (can be revealed in mobile view) -->
|
14
|
+
<div id="sidebar-retractable" class="ui vertical inverted sidebar menu">
|
15
|
+
<!-- #collection-indices is re-parented here for mobile view -->
|
16
|
+
</div>
|
17
|
+
|
18
|
+
<!-- pushing container (will be pushed right when retractable sidebar opens) -->
|
19
|
+
<div class="pusher">
|
20
|
+
|
21
|
+
<div class="ui left attached internal rail">
|
22
|
+
<!-- static sidebar (visible in non-mobile view) -->
|
23
|
+
<div id="sidebar-fixed" class="ui vertical inverted menu">
|
24
|
+
<div id="collection-indices">
|
25
|
+
{% include elements/indices.html %}
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
|
30
|
+
<!-- main contents -->
|
31
|
+
<div id="page-container">
|
32
|
+
<div class="ui left aligned fluid container">
|
33
|
+
<div id="page-content" class="ui basic segment">
|
34
|
+
{{ content }}
|
35
|
+
</div>
|
36
|
+
|
37
|
+
<!-- footer -->
|
38
|
+
<div id="site-attribution" class="ui basic segment">
|
39
|
+
{% include elements/attribution.html %}
|
40
|
+
</div>
|
41
|
+
</div>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<!-- help modal -->
|
47
|
+
<div id="site-help" class="ui small modal">
|
48
|
+
{% include elements/help.html %}
|
49
|
+
</div>
|
50
|
+
|
51
|
+
<script type="text/javascript">
|
52
|
+
{% include scripts/indices.js %}
|
53
|
+
{% include scripts/search.js %}
|
54
|
+
{% include scripts/page.js %}
|
55
|
+
{% include scripts/help.js %}
|
56
|
+
</script>
|
data/assets/site.css
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
layout: compress
|
3
|
+
---
|
4
|
+
|
5
|
+
{% include styles/semantic-ui/_version.css %}
|
6
|
+
{% include styles/semantic-ui/site.min.css %}
|
7
|
+
{% include styles/semantic-ui/reset.min.css %}
|
8
|
+
|
9
|
+
{% include styles/semantic-ui/breadcrumb.min.css %}
|
10
|
+
{% include styles/semantic-ui/container.min.css %}
|
11
|
+
{% include styles/semantic-ui/dimmer.min.css %}
|
12
|
+
{% include styles/semantic-ui/divider.min.css %}
|
13
|
+
{% include styles/semantic-ui/grid.min.css %}
|
14
|
+
{% include styles/semantic-ui/header.min.css %}
|
15
|
+
{% include styles/semantic-ui/image.min.css %}
|
16
|
+
{% include styles/semantic-ui/input.min.css %}
|
17
|
+
{% include styles/semantic-ui/item.min.css %}
|
18
|
+
{% include styles/semantic-ui/label.min.css %}
|
19
|
+
{% include styles/semantic-ui/list.min.css %}
|
20
|
+
{% include styles/semantic-ui/menu.min.css %}
|
21
|
+
{% include styles/semantic-ui/message.min.css %}
|
22
|
+
{% include styles/semantic-ui/modal.min.css %}
|
23
|
+
{% include styles/semantic-ui/rail.min.css %}
|
24
|
+
{% include styles/semantic-ui/search.min.css %}
|
25
|
+
{% include styles/semantic-ui/segment.min.css %}
|
26
|
+
{% include styles/semantic-ui/sidebar.min.css %}
|
27
|
+
{% include styles/semantic-ui/sticky.min.css %}
|
28
|
+
{% include styles/semantic-ui/tab.min.css %}
|
29
|
+
{% include styles/semantic-ui/table.min.css %}
|
30
|
+
{% include styles/semantic-ui/transition.min.css %}
|
31
|
+
|
32
|
+
{% capture _css %}
|
33
|
+
{% include styles/svg-icons.css %}
|
34
|
+
{% include styles/tweaks.css %}
|
35
|
+
{% include themes/syntax.css %}
|
36
|
+
{% endcapture %}{{ _css | scssify }}
|
data/assets/site.js
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
---
|
2
|
+
layout: compress
|
3
|
+
---
|
4
|
+
|
5
|
+
{% include scripts/jquery/jquery-3.3.1.custom.min.js %}
|
6
|
+
{% include scripts/jquery-address/jquery-address-1.6.semantic-ui.min.js %}
|
7
|
+
|
8
|
+
{% include scripts/mousetrap/mousetrap-1.6.1.min.js %}
|
9
|
+
|
10
|
+
{% include scripts/semantic-ui/_version.js %}
|
11
|
+
{% include scripts/semantic-ui/site.min.js %}
|
12
|
+
|
13
|
+
{% include scripts/semantic-ui/dimmer.min.js %}
|
14
|
+
{% include scripts/semantic-ui/modal.min.js %}
|
15
|
+
{% include scripts/semantic-ui/search.min.js %}
|
16
|
+
{% include scripts/semantic-ui/sidebar.min.js %}
|
17
|
+
{% include scripts/semantic-ui/state.min.js %}
|
18
|
+
{% include scripts/semantic-ui/sticky.min.js %}
|
19
|
+
{% include scripts/semantic-ui/tab.min.js %}
|
20
|
+
{% include scripts/semantic-ui/transition.min.js %}
|
data/favicon.png
ADDED
Binary file
|
data/index.md
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
title: Welcome
|
4
|
+
---
|
5
|
+
|
6
|
+
# {{ page.title }}
|
7
|
+
|
8
|
+
**programming pages** is a [GitHub Pages][gh-pages] theme for publishing code documentation.
|
9
|
+
{:.larger.text}
|
10
|
+
|
11
|
+
For more details, please refer to the [documentation][theme-docs]
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
[gh-pages]: https://pages.github.com/ "Websites for you and your projects"
|
16
|
+
[theme-docs]: https://pixeldroid.com/programming-pages/ "a Jekyll theme for publishing code documentation to GitHub pages"
|
data/screenshot.png
ADDED
Binary file
|
metadata
ADDED
@@ -0,0 +1,161 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: programming-pages
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.5.8
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- pixeldroid
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-11-02 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: github-pages
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '192'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '192'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.16'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.16'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '12.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '12.0'
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
executables: []
|
58
|
+
extensions: []
|
59
|
+
extra_rdoc_files: []
|
60
|
+
files:
|
61
|
+
- CODE_OF_CONDUCT.md
|
62
|
+
- CONTRIBUTING.md
|
63
|
+
- LICENSE
|
64
|
+
- README.md
|
65
|
+
- _config.yml
|
66
|
+
- _data/icons/theme.yml
|
67
|
+
- _includes/elements/attribution.html
|
68
|
+
- _includes/elements/help.html
|
69
|
+
- _includes/elements/indices.html
|
70
|
+
- _includes/elements/search.html
|
71
|
+
- _includes/elements/title.html
|
72
|
+
- _includes/icon.liquid
|
73
|
+
- _includes/ordered_child_list.liquid
|
74
|
+
- _includes/package_shortener.liquid
|
75
|
+
- _includes/scripts/example.js
|
76
|
+
- _includes/scripts/help.js
|
77
|
+
- _includes/scripts/indices.js
|
78
|
+
- _includes/scripts/jquery-address/jquery-address-1.6.semantic-ui.min.js
|
79
|
+
- _includes/scripts/jquery/jquery-3.3.1.custom.min.js
|
80
|
+
- _includes/scripts/loadcss/loadcss-2.0.1.min.js
|
81
|
+
- _includes/scripts/mousetrap/mousetrap-1.6.1.min.js
|
82
|
+
- _includes/scripts/page.js
|
83
|
+
- _includes/scripts/search.js
|
84
|
+
- _includes/scripts/semantic-ui/_version.js
|
85
|
+
- _includes/scripts/semantic-ui/dimmer.min.js
|
86
|
+
- _includes/scripts/semantic-ui/modal.min.js
|
87
|
+
- _includes/scripts/semantic-ui/search.min.js
|
88
|
+
- _includes/scripts/semantic-ui/sidebar.min.js
|
89
|
+
- _includes/scripts/semantic-ui/site.min.js
|
90
|
+
- _includes/scripts/semantic-ui/state.min.js
|
91
|
+
- _includes/scripts/semantic-ui/sticky.min.js
|
92
|
+
- _includes/scripts/semantic-ui/tab.min.js
|
93
|
+
- _includes/scripts/semantic-ui/transition.min.js
|
94
|
+
- _includes/styles/semantic-ui/_version.css
|
95
|
+
- _includes/styles/semantic-ui/breadcrumb.min.css
|
96
|
+
- _includes/styles/semantic-ui/container.min.css
|
97
|
+
- _includes/styles/semantic-ui/dimmer.min.css
|
98
|
+
- _includes/styles/semantic-ui/divider.min.css
|
99
|
+
- _includes/styles/semantic-ui/grid.min.css
|
100
|
+
- _includes/styles/semantic-ui/header.min.css
|
101
|
+
- _includes/styles/semantic-ui/image.min.css
|
102
|
+
- _includes/styles/semantic-ui/input.min.css
|
103
|
+
- _includes/styles/semantic-ui/item.min.css
|
104
|
+
- _includes/styles/semantic-ui/label.min.css
|
105
|
+
- _includes/styles/semantic-ui/list.min.css
|
106
|
+
- _includes/styles/semantic-ui/menu.min.css
|
107
|
+
- _includes/styles/semantic-ui/message.min.css
|
108
|
+
- _includes/styles/semantic-ui/modal.min.css
|
109
|
+
- _includes/styles/semantic-ui/rail.min.css
|
110
|
+
- _includes/styles/semantic-ui/reset.min.css
|
111
|
+
- _includes/styles/semantic-ui/search.min.css
|
112
|
+
- _includes/styles/semantic-ui/segment.min.css
|
113
|
+
- _includes/styles/semantic-ui/sidebar.min.css
|
114
|
+
- _includes/styles/semantic-ui/site.min.css
|
115
|
+
- _includes/styles/semantic-ui/sticky.min.css
|
116
|
+
- _includes/styles/semantic-ui/tab.min.css
|
117
|
+
- _includes/styles/semantic-ui/table.min.css
|
118
|
+
- _includes/styles/semantic-ui/transition.min.css
|
119
|
+
- _includes/styles/svg-icons.css
|
120
|
+
- _includes/styles/tweaks.css
|
121
|
+
- _includes/themes/syntax.css
|
122
|
+
- _layouts/base.html
|
123
|
+
- _layouts/compress.html
|
124
|
+
- _layouts/example.html
|
125
|
+
- _layouts/guide-index.html
|
126
|
+
- _layouts/layout.html
|
127
|
+
- _layouts/page.html
|
128
|
+
- assets/site.css
|
129
|
+
- assets/site.js
|
130
|
+
- favicon.png
|
131
|
+
- index.md
|
132
|
+
- screenshot.png
|
133
|
+
homepage: https://github.com/pixeldroid/programming-pages
|
134
|
+
licenses:
|
135
|
+
- MIT
|
136
|
+
metadata:
|
137
|
+
plugin_type: theme
|
138
|
+
documentation_uri: https://pixeldroid.com/programming-pages/
|
139
|
+
source_code_uri: https://github.com/pixeldroid/programming-pages
|
140
|
+
bug_tracker_uri: https://github.com/pixeldroid/programming-pages/issues
|
141
|
+
post_install_message:
|
142
|
+
rdoc_options: []
|
143
|
+
require_paths:
|
144
|
+
- lib
|
145
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
146
|
+
requirements:
|
147
|
+
- - ">="
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '0'
|
150
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '0'
|
155
|
+
requirements: []
|
156
|
+
rubyforge_project:
|
157
|
+
rubygems_version: 2.7.7
|
158
|
+
signing_key:
|
159
|
+
specification_version: 4
|
160
|
+
summary: a Jekyll theme for publishing code documentation to GitHub pages
|
161
|
+
test_files: []
|