Skip to content

Commit 8840747

Browse files
committed
build: apply lintspaces to Markdown
1 parent 634dcc0 commit 8840747

24 files changed

+197
-200
lines changed

Gruntfile.coffee

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,9 +1073,6 @@ module.exports = (grunt) ->
10731073
"\.*"
10741074
"**"
10751075

1076-
# temp fixed in #2526
1077-
"!**/*.md"
1078-
10791076
# temp fixed in ESLint updates in #2503
10801077
"!**/*.js"
10811078

docs/developing-en.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
{
3-
"title": "Developing for GCWeb",
4-
"language": "en",
5-
"description": "Instructions on how to develop for the Canada.ca theme.",
6-
"altLangPage": "developing-fr.html",
7-
"dateModified": "2022-04-12"
3+
"title": "Developing for GCWeb",
4+
"language": "en",
5+
"description": "Instructions on how to develop for the Canada.ca theme.",
6+
"altLangPage": "developing-fr.html",
7+
"dateModified": "2022-04-12"
88
}
99
---
1010

docs/developing-fr.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
{
3-
"title": "Developing for GCWeb",
4-
"language": "fr",
5-
"description": "Instructions sur comment développer pour le thème de Canada.ca.",
6-
"altLangPage": "developing-en.html",
7-
"dateModified": "2021-12-03"
3+
"title": "Developing for GCWeb",
4+
"language": "fr",
5+
"description": "Instructions sur comment développer pour le thème de Canada.ca.",
6+
"altLangPage": "developing-en.html",
7+
"dateModified": "2021-12-03"
88
}
99
---
1010

index-en.md

Lines changed: 71 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ css:
129129
<div class="mrgn-rght-md mrgn-bttm-md mrgn-lft-md">
130130
<p>{{ component.description[ page.language ] | default: "[Short description of the component]" }}</p>
131131
<!--
132-
Main working example
133-
- First working example in the example list where the language match
134-
-->
132+
Main working example
133+
- First working example in the example list where the language match
134+
-->
135135
{% assign mainExamples = list-pages.examples | where: "language", page.language | first %}
136136
<ul class="list-unstyled mrgn-bttm-lg mrgn-lft-md">
137137
{% if mainExamples %}
@@ -149,9 +149,9 @@ css:
149149
{% endif %}
150150
{% endif %}
151151
<!--
152-
Documentation
153-
- Link to the documentations if any
154-
-->
152+
Documentation
153+
- Link to the documentations if any
154+
-->
155155
{% if list-pages.docs %}
156156
<!--<ul class="list-unstyled mrgn-bttm-lg mrgn-lft-md">-->
157157
{% assign docs = list-pages.docs | where: "language", page.language %}
@@ -162,11 +162,11 @@ css:
162162
<li><a href="https://github.com/wet-boew/GCWeb/tree/master/components/{{ component.componentName }}" hreflang="en"><span class="fas fa-code small mrgn-rght-sm" aria-hidden="true"></span>Source code</a></li>
163163
</ul>
164164
<!--
165-
> All examples and info
166-
* Example
167-
* Documentation
168-
* Spec
169-
-->
165+
> All examples and info
166+
* Example
167+
* Documentation
168+
* Spec
169+
-->
170170
<details class="mrgn-tp-lg"><summary>All examples and info</summary>
171171
<ul class="list-unstyled">
172172
{% for pgGroup in list-pages %}
@@ -220,9 +220,9 @@ css:
220220
<div class="mrgn-rght-md mrgn-bttm-md mrgn-lft-md">
221221
<p>{{ template.description[ page.language ] | default: "[Short description of the template]" }}</p>
222222
<!--
223-
Main working example
224-
- First working example in the example list where the language match
225-
-->
223+
Main working example
224+
- First working example in the example list where the language match
225+
-->
226226
{% assign mainExamples = list-pages.examples | where: "language", page.language | first %}
227227
<ul class="list-unstyled mrgn-bttm-lg mrgn-lft-md">
228228
{% if mainExamples %}
@@ -240,9 +240,9 @@ css:
240240
{% endif %}
241241
{% endif %}
242242
<!--
243-
Documentation
244-
- Link to the documentations if any
245-
-->
243+
Documentation
244+
- Link to the documentations if any
245+
-->
246246
{% if list-pages.docs %}
247247
<!--<ul class="list-unstyled mrgn-bttm-lg mrgn-lft-md">-->
248248
{% assign docs = list-pages.docs | where: "language", page.language %}
@@ -252,11 +252,11 @@ css:
252252
{% endif %}
253253
</ul>
254254
<!--
255-
> All examples and info
256-
* Example
257-
* Documentation
258-
* Spec
259-
-->
255+
> All examples and info
256+
* Example
257+
* Documentation
258+
* Spec
259+
-->
260260
<details class="mrgn-tp-lg"><summary>All examples and info</summary>
261261
<ul class="mrgn-tp-md">
262262
{% for pgGroup in list-pages %}
@@ -298,9 +298,9 @@ css:
298298
<div class="mrgn-rght-md mrgn-bttm-md mrgn-lft-md">
299299
<p>{{ designPattern.description[ page.language ] | default: "[Short description of the design pattern]" }}</p>
300300
<!--
301-
Main working example
302-
- First working example in the example list where the language match
303-
-->
301+
Main working example
302+
- First working example in the example list where the language match
303+
-->
304304
{% assign mainExamples = list-pages.examples | where: "language", page.language | first %}
305305
<ul class="list-unstyled mrgn-bttm-lg mrgn-lft-md">
306306
{% if mainExamples %}
@@ -318,9 +318,9 @@ css:
318318
{% endif %}
319319
{% endif %}
320320
<!--
321-
Documentation
322-
- Link to the documentations if any
323-
-->
321+
Documentation
322+
- Link to the documentations if any
323+
-->
324324
{% if list-pages.docs %}
325325
<!--<ul class="list-unstyled mrgn-bttm-lg mrgn-lft-md">-->
326326
{% assign docs = list-pages.docs | where: "language", page.language %}
@@ -331,11 +331,11 @@ css:
331331
<li><a href="https://github.com/wet-boew/GCWeb/tree/master/design-patterns/{{ designPattern.componentName }}" hreflang="en"><span class="fas fa-code small mrgn-rght-sm" aria-hidden="true"></span>Source code</a></li>
332332
</ul>
333333
<!--
334-
> All examples and info
335-
* Example
336-
* Documentation
337-
* Spec
338-
-->
334+
> All examples and info
335+
* Example
336+
* Documentation
337+
* Spec
338+
-->
339339
<details class="mrgn-tp-lg"><summary>All examples and info</summary>
340340
<ul class="list-unstyled">
341341
{% for pgGroup in list-pages %}
@@ -416,9 +416,9 @@ css:
416416
<div class="mrgn-rght-md mrgn-bttm-md mrgn-lft-md">
417417
<p>{{ item.description[ page.language ] | default: "[Short description of the site global functionality]" }}</p>
418418
<!--
419-
Main working example
420-
- First working example in the example list where the language match
421-
-->
419+
Main working example
420+
- First working example in the example list where the language match
421+
-->
422422
{% assign mainExamples = list-pages.examples | where: "language", page.language | first %}
423423
<ul class="list-unstyled mrgn-bttm-lg mrgn-lft-md">
424424
{% if mainExamples %}
@@ -436,9 +436,9 @@ css:
436436
{% endif %}
437437
{% endif %}
438438
<!--
439-
Documentation
440-
- Link to the documentations if any
441-
-->
439+
Documentation
440+
- Link to the documentations if any
441+
-->
442442
{% if list-pages.docs %}
443443
<!--<ul class="list-unstyled mrgn-bttm-lg mrgn-lft-md">-->
444444
{% assign docs = list-pages.docs | where: "language", page.language %}
@@ -448,11 +448,11 @@ css:
448448
{% endif %}
449449
</ul>
450450
<!--
451-
> All examples and info
452-
* Example
453-
* Documentation
454-
* Spec
455-
-->
451+
> All examples and info
452+
* Example
453+
* Documentation
454+
* Spec
455+
-->
456456
<details class="mrgn-tp-lg"><summary>All examples and info</summary>
457457
<ul class="mrgn-tp-md">
458458
{% for pgGroup in list-pages %}
@@ -506,9 +506,9 @@ css:
506506
<div class="mrgn-rght-md mrgn-bttm-md mrgn-lft-md">
507507
<p>{{ item.description[ page.language ] | default: "[Short description of the common component]" }}</p>
508508
<!--
509-
Main working example
510-
- First working example in the example list where the language match
511-
-->
509+
Main working example
510+
- First working example in the example list where the language match
511+
-->
512512
{% assign mainExamples = list-pages.examples | where: "language", page.language | first %}
513513
<ul class="list-unstyled mrgn-bttm-lg mrgn-lft-md">
514514
{% if mainExamples %}
@@ -526,9 +526,9 @@ css:
526526
{% endif %}
527527
{% endif %}
528528
<!--
529-
Documentation
530-
- Link to the documentations if any
531-
-->
529+
Documentation
530+
- Link to the documentations if any
531+
-->
532532
{% if list-pages.docs %}
533533
<!--<ul class="list-unstyled mrgn-bttm-lg mrgn-lft-md">-->
534534
{% assign docs = list-pages.docs | where: "language", page.language %}
@@ -538,11 +538,11 @@ css:
538538
{% endif %}
539539
</ul>
540540
<!--
541-
> All examples and info
542-
* Example
543-
* Documentation
544-
* Spec
545-
-->
541+
> All examples and info
542+
* Example
543+
* Documentation
544+
* Spec
545+
-->
546546
<details class="mrgn-tp-lg"><summary>All examples and info</summary>
547547
<ul class="mrgn-tp-md">
548548
{% for pgGroup in list-pages %}
@@ -573,7 +573,7 @@ css:
573573
</li>
574574
{% endfor %}
575575
</ul>
576-
<!-- The new added section of wet-boew -->
576+
<!-- The new added section of wet-boew -->
577577
<h2 id="wetboew" class="mrgn-bttm-lg">Wet-boew</h2>
578578
<ul class="row list-unstyled wb-eqht-grd wb-filter mrgn-tp-md pb-4" data-wb-filter='{ "selector": ">li" }'>
579579
{% for wetboew in site.data[ "wet-boew" ] %}
@@ -596,9 +596,9 @@ css:
596596
<div class="mrgn-rght-md mrgn-bttm-md mrgn-lft-md">
597597
<p>{{ wetboew.description[ page.language ] | default: "[Short description of the wetboew]" }}</p>
598598
<!--
599-
Main working example
600-
- First working example in the example list where the language match
601-
-->
599+
Main working example
600+
- First working example in the example list where the language match
601+
-->
602602
{% assign mainExamples = list-pages.examples | where: "language", page.language | first %}
603603
<ul class="list-unstyled mrgn-bttm-lg mrgn-lft-md">
604604
{% if mainExamples %}
@@ -616,29 +616,29 @@ css:
616616
{% endif %}
617617
{% endif %}
618618
<!--
619-
Documentation
620-
- Link to the documentations if any
621-
-->
619+
Documentation
620+
- Link to the documentations if any
621+
-->
622622
{% if list-pages.docs %}
623623
<!--<ul class="list-unstyled mrgn-bttm-lg mrgn-lft-md">-->
624624
{% assign docs = list-pages.docs | where: "language", page.language %}
625625
<!--
626-
Documentation in GCWeb repo
627-
-->
626+
Documentation in GCWeb repo
627+
-->
628628
{% for doc in docs %}
629629
{% if doc.url %}
630630
<li><a href="{{ doc.url }}"><span class="fas fa-info-circle small mrgn-rght-sm" aria-hidden="true"></span>Documentation</a></li>
631-
{% endif %}
632-
{% endfor %}
631+
{% endif %}
632+
{% endfor %}
633633
{% endif %}
634634
<li><a href="https://github.com/wet-boew/GCWeb/tree/master/wet-boew/{{ wetboew.componentName }}" hreflang="en"><span class="fas fa-code small mrgn-rght-sm" aria-hidden="true"></span>Source code</a></li>
635635
</ul>
636636
<!--
637-
> All examples and info
638-
* Example
639-
* Documentation
640-
* Spec
641-
-->
637+
> All examples and info
638+
* Example
639+
* Documentation
640+
* Spec
641+
-->
642642
<details class="mrgn-tp-lg"><summary>All examples and info</summary>
643643
<ul class="list-unstyled">
644644
{% for pgGroup in list-pages %}

index-fr.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ css:
573573
</li>
574574
{% endfor %}
575575
</ul>
576-
<!-- The new added section of wet-boew -->
576+
<!-- The new added section of wet-boew -->
577577
<h2 id="wetboew" class="mrgn-bttm-lg">Wet-boew</h2>
578578
<ul class="row list-unstyled wb-eqht-grd wb-filter mrgn-tp-md pb-4" data-wb-filter='{ "selector": ">li" }'>
579579
{% for wetboew in site.data[ "wet-boew" ] %}
@@ -629,7 +629,7 @@ css:
629629
{% if doc.url %}
630630
<li><a href="{{ doc.url }}"><span class="fas fa-info-circle small mrgn-rght-sm" aria-hidden="true"></span>Documentation</a></li>
631631
{% endif %}
632-
{% endfor %}
632+
{% endfor %}
633633
{% endif %}
634634
<li><a href="https://github.com/wet-boew/GCWeb/tree/master/wet-boew/{{ wetboew.componentName }}" hreflang="en"><span class="fas fa-code small mrgn-rght-sm" aria-hidden="true"></span>Source code</a></li>
635635
</ul>

0 commit comments

Comments
 (0)