Skip to content

Commit d87575f

Browse files
author
fabianmoronzirfas
committed
refactor(build pages): moved reference folders to subfolder
1 parent 46d388b commit d87575f

File tree

301 files changed

+17521
-9865
lines changed

Some content is hidden

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

301 files changed

+17521
-9865
lines changed

.bin/api/data.json

Lines changed: 16059 additions & 9390 deletions
Large diffs are not rendered by default.

.bin/lib/files-and-folders.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ function process(ele, folder, ow) {
5858
function generate(overwrite) {
5959
data.forEach((element, index, array)=>{
6060
if(element.cat !== 'null') {
61-
process(element, `./${element.cat.toLowerCase()}/`, overwrite);
61+
process(element, `./reference/${element.cat.toLowerCase()}/`, overwrite);
6262
}else{
63-
process(element, './global/', overwrite);
63+
process(element, './reference/global/', overwrite);
6464
}
6565
});
6666
}

_data/categories.json

Lines changed: 705 additions & 99 deletions
Large diffs are not rendered by default.

_data/cats-and-subcats.json

Lines changed: 708 additions & 99 deletions
Large diffs are not rendered by default.

_includes/entry-card.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="entry">
22
{% assign eid = include.entry.name | downcase %}
3-
<h4 id="{{eid}}" class="entries-title">{% if include.ispage == false %}<a href="/{{id}}/{{include.entry.name}}.html">{% endif %}{{include.entry.codetitle}}{% if include.ispage == false %}</a>{% endif %}</h4>
3+
<h4 id="{{eid}}" class="entries-title">{% if include.ispage == false %}<a href="/reference/{{id}}/{{include.entry.name}}.html">{% endif %}{{include.entry.codetitle}}{% if include.ispage == false %}</a>{% endif %}</h4>
44
{% if include.entry.description != null %}
55
<p class="descriptions">{{include.entry.description}}</p>
66
{% endif %}

_layouts/entry.html

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,16 @@
44
<!-- start layout entry -->
55
{% include entry-card.html entry=page ispage=true %}
66
{{content}}
7-
<a href="/#">☚ back to index</a>
7+
8+
<script type="text/javascript">
9+
$(document).ready(function(){
10+
$('.yesscript').show();
11+
});
12+
</script>
13+
<div class="yesscript">
14+
<a href="#" onClick="history.go(-1);return true;">☚ back to reference</a>
15+
</div>
16+
<noscript>
17+
<a href="/reference/">☚ back to reference</a>
18+
</noscript>
819
<!-- end layout entry -->

assets/css/styles.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ and (orientation:portrait) {
157157
}
158158
}
159159

160+
.yesscript { display:none; }
161+
160162
// ------------------------
161163
// old basil css. Overwrite new settings
162164
@import 'basil';

document/adobeMatrix.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

document/apply.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

document/array.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)