Skip to content

Commit 431390c

Browse files
muuki88ecdrsvc
authored andcommitted
First batch of markdownlint fixes (prebid#4620)
* First batch of markdownlint fixes * Next batch * Markdownlint lint fixes batch prebid#3 * Fix missed code hightlight * Batch prebid#4 for markdownlint fixes * Batch 5 * Batch 6 * Replace random tabs with spaces * fix invalid a tags
1 parent f458e59 commit 431390c

File tree

216 files changed

+14312
-14247
lines changed

Some content is hidden

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

216 files changed

+14312
-14247
lines changed

README.md

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ This repository contains the source files for the Prebid.js documentation site a
22

33
Please see the sections below for more information:
44

5-
+ [Contributing](#contributing)
6-
+ [License](#license)
7-
+ [Prerequisites](#prerequisites)
8-
+ [Running Jekyll Locally](#running-jekyll-locally)
9-
+ [Building Assets](#building-assets)
10-
+ [The Downloads Page](#the-downloads-page)
11-
+ [Thanks](#thanks)
5+
* [Contributing](#contributing)
6+
* [License](#license)
7+
* [Prerequisites](#prerequisites)
8+
* [Running Jekyll Locally](#running-jekyll-locally)
9+
* [Building Assets](#building-assets)
10+
* [The Downloads Page](#the-downloads-page)
11+
* [Thanks](#thanks)
1212

13-
<a name="contributing" />
13+
<a name="contributing"></a>
1414

1515
## Contributing
1616

@@ -20,16 +20,16 @@ For smaller changes, such as fixing a typo or adding a new section to an existin
2020

2121
For larger changes such as reorganizing the site and moving/removing content, you may want to open an issue so we can discuss the work beforehand. This is a good idea because:
2222

23-
+ We want to value your time, so you don't do unnecessary work
24-
+ We want to value our users' time; we don't want to break links and bookmarks for users
23+
* We want to value your time, so you don't do unnecessary work
24+
* We want to value our users' time; we don't want to break links and bookmarks for users
2525

26-
<a name="license" />
26+
<a name="license"></a>
2727

2828
## License
2929

3030
All docs are under the license shown in the `LICENSE` file in this directory.
3131

32-
<a name="prerequisites" />
32+
<a name="prerequisites"></a>
3333

3434
## Prerequisites
3535

@@ -45,7 +45,7 @@ For CSS, the site uses Laravel Mix to build CSS from Sass (scss-flavored) source
4545
1. `npm ci` to install packages for building assets
4646
1. build assets as described below
4747

48-
<a name="running-jekyll-locally" />
48+
<a name="running-jekyll-locally"></a>
4949

5050
## Running Jekyll Locally
5151

@@ -54,13 +54,12 @@ Before submitting a pull request, you should run the site locally to make sure y
5454
To get started editing the site and seeing your changes, clone this repo and enter the following commands in your terminal:
5555

5656
```bash
57-
$ JEKYLL_ENV=production bundle exec jekyll serve --watch --incremental
57+
JEKYLL_ENV=production bundle exec jekyll serve --watch --incremental
5858
```
5959

60-
6160
You should see output that looks something like this:
6261

63-
```
62+
```bash
6463
Configuration file: /Users/me/git/prebid.github.io/_config.yml
6564
Source: /Users/me/git/prebid.github.io
6665
Destination: /Users/me/git/prebid.github.io/_site
@@ -77,13 +76,13 @@ Configuration file: /Users/me/git/prebid.github.io/_config.yml
7776

7877
Open the `Server address` URL in your browser, and you should see a locally running copy of the site.
7978

80-
<a name="building-assets"/>
79+
<a name="building-assets"></a>
8180

8281
## Building Assets
8382

84-
- `npm run dev` to build unminified CSS for development
85-
- `npm run prod` to build minified CSS for production
86-
- `npm run watch` to use [Browsersync](https://browsersync.io) to rebuild CSS on demand and reload the browser
83+
* `npm run dev` to build unminified CSS for development
84+
* `npm run prod` to build minified CSS for production
85+
* `npm run watch` to use [Browsersync](https://browsersync.io) to rebuild CSS on demand and reload the browser
8786

8887
## The Downloads Page
8988

@@ -98,7 +97,7 @@ The Downloads page is generated from [the Markdown bidder adapter docs](https://
9897

9998
This means an adaptor is not available to download from Prebid.org as soon as the code gets merged into Prebid.js - it will be available after the next release (usually in a couple of weeks).
10099

101-
<a name="thanks" />
100+
<a name="thanks"></a>
102101

103102
## Thanks
104103

_assets/sass/abstracts/_breakpoints.scss

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
// Breakpoint Declarations
22
//
33
// Responsive breakpoint declarations
4-
// Breakpoints are matched in Responsive VC Design Options Plugin
5-
// http://actian/wp-admin/admin.php?page=bb_edo_all_devices
4+
// Breakpoints are matched in Responsive VC Design Options Plugin
5+
// http://actian/wp-admin/admin.php?page=bb_edo_all_devices
66
//
7-
// Markup:
8-
// 'phone-xs': 320px,
9-
// 'phone-sm': 480px,
10-
// 'phone': 767px, // Page Builder Default
11-
// 'tablet': 960px, // Page Builder Default
12-
// 'desktop-sm': 1200px,
13-
// 'desktop': 1980px,
7+
// Markup:
8+
// 'phone-xs': 320px,
9+
// 'phone-sm': 480px,
10+
// 'phone': 767px, // Page Builder Default
11+
// 'tablet': 960px, // Page Builder Default
12+
// 'desktop-sm': 1200px,
13+
// 'desktop': 1980px,
1414
//
1515
// Styleguide Layout.Breakpoints
1616

_assets/sass/abstracts/_mixins.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
@mixin ie10-and-up {
146146
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
147147
@content
148-
}
148+
}
149149
}
150150

151151
// linear-gradient

_assets/sass/pages/_404.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
.error404 {
2-
width:100%;
3-
height: 100%;
4-
text-align: center;
2+
width:100%;
3+
height: 100%;
4+
text-align: center;
55
}
66

77
.error404 h1 {
8-
color: #FF0000;
9-
font-size: 60px;
10-
font-weight: bold;
8+
color: #FF0000;
9+
font-size: 60px;
10+
font-weight: bold;
1111
}
1212

1313

_includes/dev-docs/native-image-asset-sizes.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ There are two methods for defining sizes for image-like assets (`image` and `ico
22

33
Using `mediaTypes.native.image.sizes` (or `mediaTypes.native.icon.sizes` for icons):
44

5-
{% highlight js %}
6-
5+
```javascript
76
mediaTypes: {
87
native: {
98
image: {
@@ -12,13 +11,11 @@ mediaTypes: {
1211
}
1312
}
1413
}
15-
16-
{% endhighlight %}
14+
```
1715

1816
Using `mediaTypes.native.image.aspect_ratios` (or `mediaTypes.native.icon.aspect_ratios` for icons):
1917

20-
{% highlight js %}
21-
18+
```javascript
2219
mediaTypes: {
2320
native: {
2421
image: {
@@ -32,5 +29,4 @@ mediaTypes: {
3229
}
3330
}
3431
}
35-
36-
{% endhighlight %}
32+
```

_layouts/analytics.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77

88
<div class="row ">
99

10-
<div class="col-lg-3 sidebar" id="sidebar">
10+
<div class="col-lg-3 sidebar" id="sidebar">
1111

1212
<div>
1313
<button class="navbar-toggler d-lg-none" type="button" data-toggle="collapse" data-target="#sidebarContent" aria-controls="sidebarContent" aria-expanded="false" aria-label="Toggle Sidebar navigation">
1414
<span class="navbar-toggler-icon"></span>
1515
</button>
1616
<div class="collapse d-lg-block" id="sidebarContent">
17-
{% include left_nav.html %}
17+
{% include left_nav.html %}
1818
</div>
1919
</div>
2020

21-
</div>
21+
</div>
2222

2323
<div class="col-lg-9">
2424
<div class="pb-content" markdown="1">

_layouts/bidder.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77

88
<div class="row ">
99

10-
<div class="col-lg-3 sidebar" id="sidebar">
10+
<div class="col-lg-3 sidebar" id="sidebar">
1111

1212
<div>
1313
<button class="navbar-toggler d-lg-none" type="button" data-toggle="collapse" data-target="#sidebarContent" aria-controls="sidebarContent" aria-expanded="false" aria-label="Toggle Sidebar navigation">
1414
<span class="navbar-toggler-icon"></span>
1515
</button>
1616
<div class="collapse d-lg-block" id="sidebarContent">
17-
{% include left_nav.html %}
17+
{% include left_nav.html %}
1818
</div>
1919
</div>
2020

21-
</div>
21+
</div>
2222

2323
<div class="col-lg-9">
2424
<div class="pb-content" markdown="1">
@@ -108,7 +108,7 @@ <h3>Features</h3>
108108
<th class="pbTh">Safeframes OK</th>
109109
<td class="pbTd">{% if page.safeframes_ok == false %}no{% elsif page.safeframes_ok == true %}yes{% else %}check with bidder{% endif %}</td>
110110
<th class="pbTh"></th>
111-
<td class="pbTd"></td>
111+
<td class="pbTd"></td>
112112
</tr>
113113
</table>
114114

_layouts/example.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77
<div class="row">
88

99
<!-- Left nav -->
10-
<div class="col-lg-3 sidebar" id="sidebar">
10+
<div class="col-lg-3 sidebar" id="sidebar">
1111

1212
<div>
1313
<button class="navbar-toggler d-lg-none" type="button" data-toggle="collapse" data-target="#sidebarContent" aria-controls="sidebarContent" aria-expanded="false" aria-label="Toggle Sidebar navigation">
1414
<span class="navbar-toggler-icon"></span>
1515
</button>
1616
<div class="collapse d-lg-block" id="sidebarContent">
17-
{% include left_nav.html %}
17+
{% include left_nav.html %}
1818
</div>
1919
</div>
2020

21-
</div>
21+
</div>
2222

2323
<!-- Main content -->
2424
<div class="col-lg-9">
@@ -51,10 +51,10 @@ <h4>About this example:</h4>
5151
</div>
5252
</div>
5353

54-
<p></p>
54+
<p></p>
5555
<p>
5656
In the JSFiddle example below:
57-
<ul><li>Click <b>Result</b> to see the example output.</li>
57+
<ul><li>Click <b>Result</b> to see the example output.</li>
5858
<li>Click <b>Edit in JSFiddle</b> to open the example in the JSFiddle editor in a new tab.</li></ul>
5959
</p>
6060

_layouts/userid.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77

88
<div class="row ">
99

10-
<div class="col-lg-3 sidebar" id="sidebar">
10+
<div class="col-lg-3 sidebar" id="sidebar">
1111

1212
<div>
1313
<button class="navbar-toggler d-lg-none" type="button" data-toggle="collapse" data-target="#sidebarContent" aria-controls="sidebarContent" aria-expanded="false" aria-label="Toggle Sidebar navigation">
1414
<span class="navbar-toggler-icon"></span>
1515
</button>
1616
<div class="collapse d-lg-block" id="sidebarContent">
17-
{% include left_nav.html %}
17+
{% include left_nav.html %}
1818
</div>
1919
</div>
2020

21-
</div>
21+
</div>
2222

2323
<div class="col-lg-9">
2424
<div class="pb-content" markdown="1">

about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sidebarType: 0
1212
<style>
1313

1414
p {
15-
font-size: 18px;
15+
font-size: 18px;
1616
}
1717

1818
</style>

0 commit comments

Comments
 (0)