Skip to content

Commit 37eb117

Browse files
authored
Merge branch 'VerzatileDevOrg:main' into VsDLLsDoc
2 parents 87e144c + 3c52543 commit 37eb117

35 files changed

Lines changed: 359 additions & 114 deletions

_config.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@ github_base_url: "https://github.com/VerzatileDevOrg/Programming_HandBook"
99
aux_links:
1010
Contribute to the Github Repository: https://github.com/VerzatileDevOrg/Programming_HandBook
1111

12-
back_to_top: true # Works through Footer.html
13-
1412
plugins:
1513
- jekyll-last-modified-at
1614

1715
# Optional. The default date format, used if none is specified in the tag.
1816
last-modified-at:
19-
date-format: '%d/%m/%Y'
17+
date-format: '%d/%m/%Y'

_includes/components/footer.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<div class="footer">
22
<hr>
33

4-
{% if site.back_to_top %}
5-
<p>
6-
<a href="" id="back-to-top">Back to Top</a>
7-
</p>
4+
{% if page.back_to_top != false %}
5+
<p>
6+
<a href="#" id="back-to-top">Back to Top</a>
7+
</p>
88
{% endif %}
99

1010
<div>

_includes/under_construction.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
<img src="{{ site.baseurl }}/images/under_construction.png" alt="Header" style="width:20%;">
21
<br>
3-
Please return back next time.
2+
3+
{: .warning }
4+
"The page you are trying to access is currently under construction.<br/>
5+
Please check back later!<br/>
6+
<br/>
7+
Feel free to enhance and contribute to the content by clicking on the 'Edit this page on GitHub' link located at the bottom of the page. <br/>
8+
<br/>
9+
Thank you for your understanding and cooperation.

_layouts/default.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,65 @@
11
---
22
layout: table_wrappers
3+
include_language_switch_script: false
4+
back_to_top: true
35
---
46

57
<!DOCTYPE html>
68

79
<html lang="{{ site.lang | default: 'en-US' }}">
810
{% include head.html %}
911
<body>
12+
<!-- Skip to main content link for accessibility -->
1013
<a class="skip-to-main" href="#main-content">Skip to main content</a>
14+
15+
<!-- Include icons and sidebar components -->
1116
{% include icons/icons.html %}
1217
{% include components/sidebar.html %}
18+
19+
<!-- Main content section -->
1320
<div class="main" id="top">
1421
{% include components/header.html %}
22+
23+
<!-- Main content wrapper with breadcrumbs -->
1524
<div class="main-content-wrap">
1625
{% include components/breadcrumbs.html %}
26+
27+
<!-- Main content container -->
1728
<div id="main-content" class="main-content">
1829
<main>
30+
<!-- Include anchor headings for heading links -->
1931
{% if site.heading_anchors != false %}
2032
{% include vendor/anchor_headings.html html=content beforeHeading="true" anchorBody="<svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><use xlink:href=\"#svg-link\"></use></svg>" anchorClass="anchor-heading" anchorAttrs="aria-labelledby=\"%html_id%\"" %}
2133
{% else %}
2234
{{ content }}
2335
{% endif %}
2436

37+
<!-- Include children navigation if page has children and TOC is enabled -->
2538
{% if page.has_children == true and page.has_toc != false %}
2639
{% include components/children_nav.html %}
2740
{% endif %}
2841
</main>
42+
43+
<!-- Include site footer -->
2944
{% include components/footer.html %}
3045
</div>
3146
</div>
47+
48+
<!-- Include search footer if search is enabled -->
3249
{% if site.search_enabled != false %}
3350
{% include components/search_footer.html %}
3451
{% endif %}
3552
</div>
3653

54+
<!-- Include Mermaid diagrams if enabled -->
3755
{% if site.mermaid %}
3856
{% include components/mermaid.html %}
3957
{% endif %}
58+
59+
<!-- Includes Button switch to change from one Programming Language to another (Must be Enabled Or won't be possible) -->
60+
<!-- To Enable use " include_programming_language_switch_script: true " on .md pages -->
61+
{% if page.include_programming_language_switch_script %}
62+
<script src="{{ '/assets/js/programmingLanguageSwitch.js' | relative_url }}" defer></script>
63+
{% endif %}
4064
</body>
4165
</html>

_sass/code.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,11 @@
3636
margin-bottom: $sp-3;
3737
background-color: $code-background-color;
3838
border-radius: $border-radius;
39-
box-shadow: none;
39+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
4040
-webkit-overflow-scrolling: touch;
4141
position: relative;
4242
padding: 10px;
43+
border-left: 4px solid purple;
4344

4445
// copy button (or other button)
4546
// the button appear only when there is a hover on the code or focus on button

0 commit comments

Comments
 (0)