jekyll-theme-open-project 1.1.6 → 1.1.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85878bb8934c388906c78f315ab686d8c57fafe4dce7582c6edef0ded08b6d97
4
- data.tar.gz: b59c03895746a5ce35fd6f8bdc0067305a9f6042389f2e10633926caef34d516
3
+ metadata.gz: 1f9fb728dcaec1733126dd837316df368a372ed99cbf63b1e43f60f93cda9350
4
+ data.tar.gz: 19c23d2ed09970e408e51eeb321369a19691b3a65a9986ce1ce8968d20001156
5
5
  SHA512:
6
- metadata.gz: dde74ba1fe0e7574e4433d3659bc45efd41b310609da5b766fb15f79457dc1c802b8d671f28978d7b65ce6338ef1d1e95fe24dc4c42f9d19a0439d6278fb5532
7
- data.tar.gz: 21b2851722be95f000fda06649917552cfdede18d6e2d1e74fbd384e6a15868881a364929223de1dff031e9b4ea71db6dddc8f992e552169963ad22983afa07c
6
+ metadata.gz: 97b5135b6bc8f9830cbdf946f59fd2971436ca1e32ac8542dd29be848971aaf9a6722c5e4ffd81b3622f3ad5d940abc1c2e4c493d4dc358b8d84a7caf3cff707
7
+ data.tar.gz: '0592a659dded78dc979812cef1d730b821dddbb51595bc7c45ca4925781c1f0f1a46a2b81614ad1457bc34aab829d5ce9032d05c18bd76673a4c32bea0747bdd'
@@ -10,6 +10,8 @@
10
10
  {% assign item_docs = include.items | where_exp: "item", "item.url contains docs_base_url" %}
11
11
  {% assign nav = item_docs | where_exp: "item", "item.path contains 'docs/navigation'" | first %}
12
12
 
13
+ {% assign num_nav_sections = nav.sections | size %}
14
+
13
15
  {% assign item_data = include.items | where_exp: "item", "item.url == product_base_url" | first %}
14
16
 
15
17
  <nav class="nav-sidebar">
@@ -29,7 +31,8 @@
29
31
  <section class="external-links">
30
32
  {% include item-external-links.html item_type=include.item_type item_data=include.item_data %}
31
33
  </section>
32
- {% else %}
34
+
35
+ {% elsif num_nav_sections > 0 %}
33
36
  <header class="sidebar-header">
34
37
  <h3 class="title">
35
38
  Documentation
@@ -18,6 +18,9 @@
18
18
  Source Repository
19
19
  </span>
20
20
  {% endif %}
21
+ <span class="ico-ext">
22
+ <i class="fas fa-external-link-square-alt"></i>
23
+ </span>
21
24
  </a> {% endif %}
22
25
  {% if item_data.docs_url %}
23
26
  <li class="item">
@@ -37,16 +40,33 @@
37
40
  Documentation
38
41
  </span>
39
42
  {% endif %}
43
+ <span class="ico-ext">
44
+ <i class="fas fa-external-link-square-alt"></i>
45
+ </span>
40
46
  </a> {% endif %}
41
47
  </ul>
42
48
  {% else if include.item_type == 'specs' and item_data.rfc_id or item_data.ietf_datatracker_id or item_data.source_url %}
43
49
  <ul class="section-items">
44
50
  {% if item_data.rfc_id %}
45
51
  <li class="item">
46
- <a href="http://ietf.org/html/rfc{{ item_data.rfc_id }}">IETF RFC {{ item_data.rfc_id }}</a> {% endif %}
52
+ <a href="http://ietf.org/html/rfc{{ item_data.rfc_id }}">
53
+ <span class="lbl">
54
+ IETF RFC {{ item_data.rfc_id }}
55
+ </span>
56
+ <span class="ico-ext">
57
+ <i class="fas fa-external-link-square-alt"></i>
58
+ </span>
59
+ </a> {% endif %}
47
60
  {% if item_data.ietf_datatracker_id %}
48
61
  <li class="item">
49
- <a href="https://datatracker.ietf.org/doc/{{ item_data.ietf_datatracker_id }}{% if page.ietf_datatracker_ver %}-{{ page.ietf_datatracker_ver }}{% endif %}">IETF document</a> {% endif %}
62
+ <a href="https://datatracker.ietf.org/doc/{{ item_data.ietf_datatracker_id }}{% if page.ietf_datatracker_ver %}-{{ page.ietf_datatracker_ver }}{% endif %}">
63
+ <span class="lbl">
64
+ IETF document
65
+ </span>
66
+ <span class="ico-ext">
67
+ <i class="fas fa-external-link-square-alt"></i>
68
+ </span>
69
+ </a> {% endif %}
50
70
  {% if item_data.source_url %}
51
71
  <li class="item">
52
72
  <a href="{{ item_data.source_url }}">
@@ -65,6 +85,9 @@
65
85
  Source Markup
66
86
  </span>
67
87
  {% endif %}
88
+ <span class="ico-ext">
89
+ <i class="fas fa-external-link-square-alt"></i>
90
+ </span>
68
91
  </a> {% endif %}
69
92
  </ul>
70
93
  {% endif %}
@@ -2,7 +2,8 @@
2
2
  {% if num_tags > 0 %}
3
3
  <ul class="tags">
4
4
  {% for tag in include.tags %}
5
- <li>{{ tag }}</li>
5
+ {% assign tag_human = tag | replace: "_", " " %}
6
+ <li>{{ tag_human }}</li>
6
7
  {% endfor %}
7
8
  </ul>
8
9
  {% endif %}
@@ -64,6 +64,12 @@
64
64
  width: 32px;
65
65
  padding-right: 10px;
66
66
  }
67
+ .ico-ext {
68
+ flex-shrink: 0;
69
+ text-align: right;
70
+ width: 32px;
71
+ padding-left: 10px;
72
+ }
67
73
  }
68
74
  }
69
75
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-open-project
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.