prettydocs-jekyll 0.0.2 → 0.0.3
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 +4 -4
- data/_data/default/base.yml +1 -0
- data/_data/default/timeline.yml +33 -0
- data/_includes/_sections/cards.html +1 -1
- data/_includes/_sections/faqs.html +2 -2
- data/_includes/_sections/timeline.html +37 -0
- data/_includes/_theme/footer.html +1 -1
- data/_includes/_theme/head.html +1 -2
- data/_includes/_theme/header.html +1 -1
- data/_includes/_theme/js.html +5 -5
- data/_includes/_utils/common +14 -9
- data/_layouts/faqs.html +20 -20
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cbf8d569c1ff7e92dd52a026bba86f60b8c276dd
|
|
4
|
+
data.tar.gz: 53aebb778e623cfe637b519e36e328b262f440fa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c77b9822c012a8a05e26018f8d88c795370568652d5543f0c870b8f1e115bd6863340648fd6e25cf8d7ef591de67d901f29dea5749ebe37ef91d7d3df43c8aaf
|
|
7
|
+
data.tar.gz: b1b37fec013dfbd344f623baee6a37388d85733a1eee9d09ac8b57f8706cd2e8517a8f1f9094ac9c8fdd9654e54de497519fd9cad1f72a0053ec3b62d21a7e70
|
data/_data/default/base.yml
CHANGED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
- type: 'label'
|
|
2
|
+
class: 'success'
|
|
3
|
+
icon: 'fa-play'
|
|
4
|
+
|
|
5
|
+
- type: 'event'
|
|
6
|
+
class: 'info'
|
|
7
|
+
point:
|
|
8
|
+
class: 'black'
|
|
9
|
+
icon: 'fa-star'
|
|
10
|
+
heading: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.'
|
|
11
|
+
body: >
|
|
12
|
+
Donec vitae diam a lacus consectetur sagittis ac quis ligula. Sed nec dictum
|
|
13
|
+
diam. Sed sollicitudin sodales magna, fermentum pretium nibh aliquet in.
|
|
14
|
+
Morbi ullamcorper pellentesque lorem, sollicitudin facilisis augue. In nec
|
|
15
|
+
ipsum nec diam condimentum vehicula eu non eros.
|
|
16
|
+
footer: '03.03.2018 03:03'
|
|
17
|
+
|
|
18
|
+
- type: 'event'
|
|
19
|
+
class: 'warning'
|
|
20
|
+
point:
|
|
21
|
+
class: 'black'
|
|
22
|
+
icon: 'fa-star'
|
|
23
|
+
heading: 'Suspendisse eget rhoncus mauris.'
|
|
24
|
+
body: >
|
|
25
|
+
Aenean id metus non elit iaculis hendrerit in eu elit. Curabitur dictum,
|
|
26
|
+
risus vitae aliquet vehicula, ligula quam suscipit nulla, vitae accumsan
|
|
27
|
+
massa nisi eget turpis. Sed vel egestas lorem, non rhoncus est. Vivamus
|
|
28
|
+
ut orci sed nisl bibendum cursus vel sed neque.
|
|
29
|
+
footer: '03.03.2018 03:03'
|
|
30
|
+
|
|
31
|
+
- type: 'label'
|
|
32
|
+
class: 'danger'
|
|
33
|
+
icon: 'fa-stop'
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<div class="cards-container container container-fluid">
|
|
5
5
|
{% if container.title %}<h2 class="title">{{ container.title }}</h2>{% endif %}
|
|
6
6
|
{% if container.intro %}<div class="intro">{{ container.intro }}</div>{% endif %}
|
|
7
|
-
<div
|
|
7
|
+
<div class="cards-wrapper row row-centered">
|
|
8
8
|
{% for card in container.cards %}
|
|
9
9
|
<div class="item item-{{ card.color }} col-md-4 col-sm-6 col-xs-12 col-centered">
|
|
10
10
|
<div class="item-inner">
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{% include _utils/common %}
|
|
2
2
|
{% for faq in faqs %}
|
|
3
3
|
<section id="" class="doc-section">
|
|
4
|
-
<h2 id="{{ faq.section |
|
|
4
|
+
<h2 id="{{ faq.section | slugify: 'latin' }}" class="section-title">{{ faq.section }}</h2>
|
|
5
5
|
{% if faq.questions.size > 0 %}
|
|
6
6
|
{% for question in faq.questions %}
|
|
7
7
|
<div class="section-block">
|
|
8
|
-
<h4 id="{{ question.title |
|
|
8
|
+
<h4 id="{{ question.title | slugify: 'latin' }}" class="question">
|
|
9
9
|
<i class="fa fa-question-circle"></i> {{ question.title }}
|
|
10
10
|
{% if question.is_new %}
|
|
11
11
|
<span class="label label-success">Nouă</span>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{% include _utils/common %}
|
|
2
|
+
<section class="timeline timeline-line-dotted">
|
|
3
|
+
{% for item in timeline %}
|
|
4
|
+
{% if item.type == "event" %}
|
|
5
|
+
<div class="timeline-item{% if item.position %} timeline-item-{{ item.position }}{% endif %}">
|
|
6
|
+
<div class="timeline-point timeline-point-{{ item.point.class | default: 'black' }}">
|
|
7
|
+
{% if item.point.icon %}
|
|
8
|
+
<i class="fa {{ item.point.icon }}"></i>
|
|
9
|
+
{% endif %}
|
|
10
|
+
</div>
|
|
11
|
+
<div class="timeline-event timeline-event-{{ item.class | default: 'primary' }}">
|
|
12
|
+
<div class="timeline-heading">
|
|
13
|
+
<h4>{{ item.heading }}</h4>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="timeline-body">
|
|
16
|
+
<p>{{ item.body }}</p>
|
|
17
|
+
</div>
|
|
18
|
+
{% if item.footer %}
|
|
19
|
+
<div class="timeline-footer">
|
|
20
|
+
<p class="text-right">{{ item.footer }}</p>
|
|
21
|
+
</div>
|
|
22
|
+
{% endif %}
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
{% elsif item.type == "label" %}
|
|
26
|
+
<span class="timeline-label">
|
|
27
|
+
<span class="label label-{{ item.class }}">
|
|
28
|
+
{% if item.content %}
|
|
29
|
+
{{ item.content }}
|
|
30
|
+
{% elsif item.icon %}
|
|
31
|
+
<i class="fa {{ item.icon }}"></i>
|
|
32
|
+
{% endif %}
|
|
33
|
+
</span>
|
|
34
|
+
</span>
|
|
35
|
+
{% endif %}
|
|
36
|
+
{% endfor %}
|
|
37
|
+
</section>
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<div class="offset-md-2 col-md-8 col-xs-6">
|
|
12
12
|
<small>
|
|
13
13
|
Ultima actualizare: {{ site.time | date: "%-d" }} {{ month }} {{ site.time | date: "%Y" }} /
|
|
14
|
-
<a
|
|
14
|
+
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/" title="Conținut licențiat sub termenii Attribution-NonCommercial-ShareAlike 4.0 International">CC</a>
|
|
15
15
|
</small>
|
|
16
16
|
</div>
|
|
17
17
|
</div>
|
data/_includes/_theme/head.html
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
<meta charset="utf-8">
|
|
6
6
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
8
|
-
<meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
|
|
9
8
|
{% for meta in general.meta %}
|
|
10
9
|
<meta name="{{ meta.name }}" lang="{{ meta.lang }}" xml:lang="{{ meta.lang }}" content="{{ meta.content | strip }}" />
|
|
11
10
|
{% endfor %}
|
|
@@ -13,7 +12,7 @@
|
|
|
13
12
|
<meta http-equiv="refresh" content="10; url={{"/" | prepend: site.baseurl }}">
|
|
14
13
|
{% endif %}
|
|
15
14
|
|
|
16
|
-
<link rel="shortcut icon" href="{{ "/favicon.ico" | prepend: site.baseurl }}">
|
|
15
|
+
<link rel="shortcut icon" href="{{ "/assets/images/favicon.ico" | prepend: site.baseurl }}">
|
|
17
16
|
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
|
|
18
17
|
|
|
19
18
|
<!-- Global CSS -->
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<div class="branding">
|
|
5
5
|
<h1 class="logo">
|
|
6
6
|
<a href="{{ page.url }}">
|
|
7
|
-
<span aria-hidden="true" class="fa
|
|
7
|
+
<span aria-hidden="true" class="fa {{ general.header.icon }} icon"></span>
|
|
8
8
|
<span class="text-highlight">{{ general.header.title }}</span>
|
|
9
9
|
<span class="text">{{ general.header.subtitle }}</span>
|
|
10
10
|
</a>
|
data/_includes/_theme/js.html
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
|
|
2
2
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
|
|
3
|
-
<script
|
|
4
|
-
<script
|
|
5
|
-
<script
|
|
6
|
-
<script
|
|
7
|
-
<script
|
|
3
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-scrollTo/2.1.2/jquery.scrollTo.min.js"></script>
|
|
4
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.matchHeight/0.7.2/jquery.matchHeight-min.js"></script>
|
|
5
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.9.0/prism.min.js"></script>
|
|
6
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/ekko-lightbox/5.3.0/ekko-lightbox.min.js"></script>
|
|
7
|
+
<script src="{{ "/assets/js/main.js" | prepend: site.baseurl }}"></script>
|
data/_includes/_utils/common
CHANGED
|
@@ -1,24 +1,29 @@
|
|
|
1
1
|
{% assign groups = page.group | split: '.' %}
|
|
2
2
|
{% assign page_data = site.data %}
|
|
3
3
|
{% for group in groups %}
|
|
4
|
-
|
|
4
|
+
{% assign page_data = page_data[group] %}
|
|
5
5
|
{% endfor %}
|
|
6
6
|
|
|
7
|
-
{% if page_data.base %}
|
|
8
|
-
{% else %}
|
|
7
|
+
{% if page_data.base %} {% assign general = page_data.base %}
|
|
8
|
+
{% else %} {% assign general = site.data.default.base %}
|
|
9
9
|
{% endif %}
|
|
10
10
|
|
|
11
|
-
{% if page_data.cards %}
|
|
12
|
-
{% else %}
|
|
11
|
+
{% if page_data.cards %} {% assign cards = page_data.cards %}
|
|
12
|
+
{% else %} {% assign cards = site.data.default.cards %}
|
|
13
13
|
{% endif %}
|
|
14
14
|
|
|
15
|
-
{% if page_data.faqs %}
|
|
16
|
-
{% else %}
|
|
15
|
+
{% if page_data.faqs %} {% assign faqs = page_data.faqs %}
|
|
16
|
+
{% else %} {% assign faqs = site.data.default.faqs %}
|
|
17
17
|
{% endif %}
|
|
18
18
|
|
|
19
|
-
{% if page_data.contact %}
|
|
20
|
-
{% else %}
|
|
19
|
+
{% if page_data.contact %} {% assign contact = page_data.contact %}
|
|
20
|
+
{% else %} {% assign contact = site.data.default.contact %}
|
|
21
21
|
{% endif %}
|
|
22
22
|
|
|
23
|
+
{% if page_data.timeline %} {% assign timeline = page_data.timeline %}
|
|
24
|
+
{% else %} {% assign timeline = site.data.default.timeline %}
|
|
25
|
+
{% endif %}
|
|
26
|
+
|
|
27
|
+
|
|
23
28
|
{% assign resources = page.url | remove: site.url | remove: site.baseurl | split: '/' %}
|
|
24
29
|
{% assign resource_url = site.baseurl %}
|
data/_layouts/faqs.html
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
---
|
|
2
|
-
layout: default
|
|
3
|
-
---
|
|
4
|
-
<section class="doc-wrapper">
|
|
5
|
-
<div class="container">
|
|
6
|
-
<div id="doc-header" class="doc-header text-center">
|
|
7
|
-
<h1 class="doc-title">
|
|
8
|
-
<span aria-hidden="true" class="icon fa fa-question-circle"></span> {{ page.title | escape }}
|
|
9
|
-
</h1>
|
|
10
|
-
</div>
|
|
11
|
-
<div class="doc-body">
|
|
12
|
-
<div class="doc-content">
|
|
13
|
-
<div class="content-inner">
|
|
14
|
-
{{ content }}
|
|
15
|
-
</div>
|
|
16
|
-
</div>
|
|
17
|
-
{% include _partials/toc.html content=content %}
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
</
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
<section class="doc-wrapper">
|
|
5
|
+
<div class="container">
|
|
6
|
+
<div id="doc-header" class="doc-header text-center">
|
|
7
|
+
<h1 class="doc-title">
|
|
8
|
+
<span aria-hidden="true" class="icon fa fa-question-circle"></span> {{ page.title | escape }}
|
|
9
|
+
</h1>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="doc-body">
|
|
12
|
+
<div class="doc-content">
|
|
13
|
+
<div class="content-inner">
|
|
14
|
+
{{ content }}
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
{% include _partials/toc.html content=content maximum_level=2 %}
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
</section>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: prettydocs-jekyll
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexandru Coman
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-01
|
|
11
|
+
date: 2018-02-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -93,6 +93,7 @@ files:
|
|
|
93
93
|
- _data/default/cards.yml
|
|
94
94
|
- _data/default/contact.yml
|
|
95
95
|
- _data/default/faqs.yml
|
|
96
|
+
- _data/default/timeline.yml
|
|
96
97
|
- _includes/_partials/post.html
|
|
97
98
|
- _includes/_partials/social-buttons.html
|
|
98
99
|
- _includes/_partials/toc.html
|
|
@@ -102,6 +103,7 @@ files:
|
|
|
102
103
|
- _includes/_sections/faqs.html
|
|
103
104
|
- _includes/_sections/not-found.html
|
|
104
105
|
- _includes/_sections/resources.html
|
|
106
|
+
- _includes/_sections/timeline.html
|
|
105
107
|
- _includes/_theme/footer.html
|
|
106
108
|
- _includes/_theme/head.html
|
|
107
109
|
- _includes/_theme/header.html
|