Skip to content

Commit 488162a

Browse files
committed
Add comments for blog post
1 parent 0375d7b commit 488162a

File tree

85 files changed

+126
-3091
lines changed

Some content is hidden

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

85 files changed

+126
-3091
lines changed

mkdocs.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,15 @@ plugins:
6464
- awesome-pages
6565
- minify
6666
- blog
67-
- privacy
6867
extra:
6968
social:
7069
- icon: fontawesome/brands/github
7170
link: https://github.com/fblettner
7271
- icon: fontawesome/brands/linkedin
7372
link: https://www.linkedin.com/in/franck-blettner-72509510/
73+
meta:
74+
- name: Content-Security-Policy
75+
value: frame-ancestors 'self' https://giscus.app;
7476
consent:
7577
title: Cookie consent
7678
actions:
@@ -81,7 +83,7 @@ extra:
8183
We use cookies to recognize your repeated visits and preferences, as well
8284
as to measure the effectiveness of our documentation and whether users
8385
find what they're searching for. With your consent, you're helping us to
84-
make our documentation better.
86+
make our documentation better.
8587
markdown_extensions:
8688
- attr_list
8789
- pymdownx.highlight:

overrides/partials/comments.html

Lines changed: 7 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,9 @@
1-
{% if page.meta.comments %}
2-
<h2 id="__comments">{{ lang.t("meta.comments") }}</h2>
3-
<script src="https://giscus.app/client.js"
4-
data-repo="fblettner/fblettner.github.io"
5-
data-repo-id="R_kgDOG89fCQ"
6-
data-category="Comments"
7-
data-category-id="DIC_kwDOG89fCc4CkhAQ"
8-
data-mapping="pathname"
9-
data-strict="0"
10-
data-reactions-enabled="1"
11-
data-emit-metadata="0"
12-
data-input-position="bottom"
13-
data-theme="preferred_color_scheme"
14-
data-lang="en"
15-
crossorigin="anonymous"
16-
async>
17-
</script>
18-
<!-- Synchronize Giscus theme with palette -->
19-
<script>
20-
var giscus = document.querySelector("script[src*=giscus]")
1+
{% if page.file.src_uri.startswith('blog/posts') %}
2+
<h2 id="__comments">{{ lang.t("meta.comments") }}</h2>
3+
<script src="https://giscus.app/client.js" data-repo="fblettner/fblettner.github.io" data-repo-id="R_kgDOG89fCQ"
4+
data-category="Comments" data-category-id="DIC_kwDOG89fCc4CkhAQ" data-mapping="pathname" data-strict="1"
5+
data-reactions-enabled="1" data-emit-metadata="1" data-input-position="top" data-theme="preferred_color_scheme"
6+
data-lang="en" crossorigin="anonymous" data-loading="lazy" async>
7+
</script>
218

22-
// Set palette on initial load
23-
var palette = __md_get("__palette")
24-
if (palette && typeof palette.color === "object") {
25-
var theme = palette.color.scheme === "slate"
26-
? "transparent_dark"
27-
: "light"
28-
29-
// Instruct Giscus to set theme
30-
giscus.setAttribute("data-theme", theme)
31-
}
32-
33-
// Register event handlers after documented loaded
34-
document.addEventListener("DOMContentLoaded", function() {
35-
var ref = document.querySelector("[data-md-component=palette]")
36-
ref.addEventListener("change", function() {
37-
var palette = __md_get("__palette")
38-
if (palette && typeof palette.color === "object") {
39-
var theme = palette.color.scheme === "slate"
40-
? "transparent_dark"
41-
: "light"
42-
43-
// Instruct Giscus to change theme
44-
var frame = document.querySelector(".giscus-frame")
45-
frame.contentWindow.postMessage(
46-
{ giscus: { setConfig: { theme } } },
47-
"https://giscus.app"
48-
)
49-
}
50-
})
51-
})
52-
</script>
539
{% endif %}

site/404.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636

3737

3838

39-
40-
<link rel="stylesheet" href="/assets/external/fonts.googleapis.com/css.49ea35f2.css">
39+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
40+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback">
4141
<style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style>
4242

4343

@@ -1286,7 +1286,7 @@ <h1>404 - Not found</h1>
12861286

12871287

12881288
<h4>Cookie consent</h4>
1289-
<p>We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. With your consent, you're helping us to make our documentation better. </p>
1289+
<p>We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. With your consent, you're helping us to make our documentation better. </p>
12901290
<input class="md-toggle" type="checkbox" id="__settings" >
12911291
<div class="md-consent__settings">
12921292
<ul class="task-list">

site/api/bip-api/nomabc/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242

4343

4444

45-
46-
<link rel="stylesheet" href="../../../assets/external/fonts.googleapis.com/css.49ea35f2.css">
45+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
46+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback">
4747
<style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style>
4848

4949

@@ -1352,15 +1352,15 @@ <h2 id="2-declaration-of-a-custom-function-into-a-rtf-template">2. Declaration o
13521352
<p>Add a field into the template and set the property like this</p>
13531353
<div class="language-xml highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-1-1">1</a></span></pre></div></td><td class="code"><div><pre><span></span><code><span id="__span-1-1"><a id="__codelineno-1-1" name="__codelineno-1-1"></a><span class="cp">&lt;?register-barcode-vendor:&#39;nomabc.BarcodeUtil&#39;;&#39;NOMANA’?&gt;</span>
13541354
</span></code></pre></div></td></tr></table></div>
1355-
<p><img alt="NOMASX-1" src="https://docs.nomana-it.fr/assets/nomabc/custom_function.png"></p>
1355+
<p><img alt="NOMASX-1" src="https://docs.nomana-it.fr/assets/nomabc/custom_function.png" /></p>
13561356
<h2 id="3-convert-into-barcode-128">3. Convert into BarCode 128</h2>
13571357
<p>Add the field with the value to convert and modify the property with the following script</p>
13581358
<div class="language-xml highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-2-1">1</a></span></pre></div></td><td class="code"><div><pre><span></span><code><span id="__span-2-1"><a id="__codelineno-2-1" name="__codelineno-2-1"></a><span class="cp">&lt;?format-barcode:DataBarreCode;&#39;code128&#39;;&#39;NOMANA’?&gt;</span>
13591359
</span></code></pre></div></td></tr></table></div>
1360-
<p><img alt="NOMASX-1" src="https://docs.nomana-it.fr/assets/nomabc/convert_barcode.png"></p>
1360+
<p><img alt="NOMASX-1" src="https://docs.nomana-it.fr/assets/nomabc/convert_barcode.png" /></p>
13611361
<h2 id="4-display-barcode">4. Display BarCode</h2>
13621362
<p>Modify the font for the field in RTF with and select "Code 128z". If the truetype is not declared into Windows fonts, you will not see the font but you can simply modify it by typing the font name as screenshot below</p>
1363-
<p><img alt="NOMASX-1" src="https://docs.nomana-it.fr/assets/nomabc/display_barcode.png"></p>
1363+
<p><img alt="NOMASX-1" src="https://docs.nomana-it.fr/assets/nomabc/display_barcode.png" /></p>
13641364

13651365

13661366

@@ -1495,7 +1495,7 @@ <h2 id="4-display-barcode">4. Display BarCode</h2>
14951495

14961496

14971497
<h4>Cookie consent</h4>
1498-
<p>We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. With your consent, you're helping us to make our documentation better. </p>
1498+
<p>We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. With your consent, you're helping us to make our documentation better. </p>
14991499
<input class="md-toggle" type="checkbox" id="__settings" >
15001500
<div class="md-consent__settings">
15011501
<ul class="task-list">

site/api/bip-api/nomabip/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242

4343

4444

45-
46-
<link rel="stylesheet" href="../../../assets/external/fonts.googleapis.com/css.49ea35f2.css">
45+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
46+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback">
4747
<style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style>
4848

4949

@@ -1441,8 +1441,8 @@ <h2 id="4-usage">4. Usage</h2>
14411441
</span></code></pre></div></td></tr></table></div></li>
14421442
</ul>
14431443
<h2 id="5-screenshot">5. Screenshot</h2>
1444-
<p><img alt="NOMASX-1" src="https://docs.nomana-it.fr/assets/nomabip/nomabip_gui.png"></p>
1445-
<p><img alt="NOMASX-1" src="https://docs.nomana-it.fr/assets/nomabip/nomabip_sample_pdf.png"></p>
1444+
<p><img alt="NOMASX-1" src="https://docs.nomana-it.fr/assets/nomabip/nomabip_gui.png" /></p>
1445+
<p><img alt="NOMASX-1" src="https://docs.nomana-it.fr/assets/nomabip/nomabip_sample_pdf.png" /></p>
14461446

14471447

14481448

@@ -1577,7 +1577,7 @@ <h2 id="5-screenshot">5. Screenshot</h2>
15771577

15781578

15791579
<h4>Cookie consent</h4>
1580-
<p>We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. With your consent, you're helping us to make our documentation better. </p>
1580+
<p>We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. With your consent, you're helping us to make our documentation better. </p>
15811581
<input class="md-toggle" type="checkbox" id="__settings" >
15821582
<div class="md-consent__settings">
15831583
<ul class="task-list">

site/api/getting-started/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242

4343

4444

45-
46-
<link rel="stylesheet" href="../../assets/external/fonts.googleapis.com/css.49ea35f2.css">
45+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
46+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback">
4747
<style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style>
4848

4949

@@ -1449,7 +1449,7 @@ <h2 id="bi-publisher">BI Publisher</h2>
14491449

14501450

14511451
<h4>Cookie consent</h4>
1452-
<p>We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. With your consent, you're helping us to make our documentation better. </p>
1452+
<p>We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. With your consent, you're helping us to make our documentation better. </p>
14531453
<input class="md-toggle" type="checkbox" id="__settings" >
14541454
<div class="md-consent__settings">
14551455
<ul class="task-list">

site/api/jde-api/jdebip/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242

4343

4444

45-
46-
<link rel="stylesheet" href="../../../assets/external/fonts.googleapis.com/css.49ea35f2.css">
45+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
46+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback">
4747
<style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style>
4848

4949

@@ -1521,7 +1521,7 @@ <h2 id="3-usage">3. Usage</h2>
15211521

15221522

15231523
<h4>Cookie consent</h4>
1524-
<p>We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. With your consent, you're helping us to make our documentation better. </p>
1524+
<p>We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. With your consent, you're helping us to make our documentation better. </p>
15251525
<input class="md-toggle" type="checkbox" id="__settings" >
15261526
<div class="md-consent__settings">
15271527
<ul class="task-list">

site/api/jde-api/jdebsfn/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242

4343

4444

45-
46-
<link rel="stylesheet" href="../../../assets/external/fonts.googleapis.com/css.49ea35f2.css">
45+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
46+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback">
4747
<style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style>
4848

4949

@@ -1502,7 +1502,7 @@ <h2 id="3-usage">3. Usage</h2>
15021502

15031503

15041504
<h4>Cookie consent</h4>
1505-
<p>We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. With your consent, you're helping us to make our documentation better. </p>
1505+
<p>We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. With your consent, you're helping us to make our documentation better. </p>
15061506
<input class="md-toggle" type="checkbox" id="__settings" >
15071507
<div class="md-consent__settings">
15081508
<ul class="task-list">

0 commit comments

Comments
 (0)