Skip to content

Commit ce76783

Browse files
committed
Update docs
1 parent 574d805 commit ce76783

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1567
-15
lines changed

docs/LICENSE.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016-present Parker Moore and the minima contributors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

docs/_config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@ title: Canvas Layer for AWS Lambda
22
description: >
33
Cairo backed Mozilla Web Canvas API implementation layer for AWS Lambda
44
theme: minima
5+
minima:
6+
social_links:
7+
- { platform: github, user_url: "https://github.com/charoitel/lambda-layer-canvas-nodejs" }
8+
- { platform: linkedin, user_url: "https://www.linkedin.com/in/charoitel" }

docs/_includes/custom-head.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<link rel="shortcut icon" type="image/x-icon" href="{{ "/assets/favicon.ico?" | prepend: site.baseurl }}" >
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{%- if page.comments != false and jekyll.environment == "production" -%}
2+
3+
<div id="disqus_thread"></div>
4+
<script>
5+
var disqus_config = function () {
6+
this.page.url = '{{ page.url | absolute_url }}';
7+
this.page.identifier = '{{ page.url | absolute_url }}';
8+
};
9+
10+
(function() {
11+
var d = document, s = d.createElement('script');
12+
13+
s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
14+
15+
s.setAttribute('data-timestamp', +new Date());
16+
(d.head || d.body).appendChild(s);
17+
})();
18+
</script>
19+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
20+
{%- endif -%}

docs/_includes/footer.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<footer class="site-footer h-card">
2+
<data class="u-url" href="{{ "/" | relative_url }}"></data>
3+
4+
<div class="wrapper">
5+
6+
<div class="footer-col-wrapper">
7+
<div class="footer-col">
8+
<div class="social-links">
9+
{%- if site.author %}
10+
<ul class="contact-list">
11+
{% if site.author.name -%}
12+
<li class="p-name">{{ site.author.name | escape }}</li>
13+
{% endif -%}
14+
{% if site.author.email -%}
15+
<li><a class="u-email" href="mailto:{{ site.author.email }}">{{ site.author.email }}</a></li>
16+
{%- endif %}
17+
</ul>
18+
{%- endif %}
19+
{%- include social.html -%}
20+
</div>
21+
</div>
22+
<div class="footer-col">
23+
<p>{{ site.description | escape }}</p>
24+
</div>
25+
</div>
26+
27+
</div>
28+
29+
</footer>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
2+
<script>
3+
window['ga-disable-{{ site.google_analytics }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
4+
window.dataLayer = window.dataLayer || [];
5+
function gtag(){window.dataLayer.push(arguments);}
6+
gtag('js', new Date());
7+
8+
gtag('config', '{{ site.google_analytics }}');
9+
</script>

docs/_includes/head.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<head>
2+
<meta charset="utf-8">
3+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4+
<meta name="viewport" content="width=device-width, initial-scale=1">
5+
{%- seo -%}
6+
<link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
7+
{%- feed_meta -%}
8+
{%- if jekyll.environment == 'production' and site.google_analytics -%}
9+
{%- include google-analytics.html -%}
10+
{%- endif -%}
11+
12+
{%- include custom-head.html -%}
13+
14+
</head>

docs/_includes/header.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<header class="site-header">
2+
3+
<div class="wrapper">
4+
{%- assign default_paths = site.pages | map: "path" -%}
5+
{%- assign page_paths = site.header_pages | default: default_paths -%}
6+
{%- assign titles_size = site.pages | map: 'title' | join: '' | size -%}
7+
<a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
8+
9+
{%- if titles_size > 0 -%}
10+
<nav class="site-nav">
11+
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
12+
<label for="nav-trigger">
13+
<span class="menu-icon">
14+
<svg viewBox="0 0 18 15" width="18px" height="15px">
15+
<path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
16+
</svg>
17+
</span>
18+
</label>
19+
20+
<div class="trigger">
21+
{%- for path in page_paths -%}
22+
{%- assign my_page = site.pages | where: "path", path | first -%}
23+
{%- if my_page.title -%}
24+
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
25+
{%- endif -%}
26+
{%- endfor -%}
27+
</div>
28+
</nav>
29+
{%- endif -%}
30+
</div>
31+
</header>
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)