Skip to content

Commit 1ac8c47

Browse files
authored
Fix headline ordering to comply with markdownlint (prebid#6524)
1 parent 74c9c27 commit 1ac8c47

8 files changed

Lines changed: 17 additions & 17 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
files: '**/*.md'
2525
separator: ","
26-
- uses: DavidAnson/markdownlint-cli2-action@v22
26+
- uses: DavidAnson/markdownlint-cli2-action@v23
2727
if: steps.changed-files.outputs.any_changed == 'true'
2828
with:
2929
globs: "${{ steps.changed-files.outputs.all_changed_files }},!_includes"

.markdownlint.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
"MD033": false,
99
"MD036": false,
1010
"MD058": false
11-
}
11+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The markdown files are linted via [markdownlint-cli](https://github.com/igorshub
5151
You may need to configure the disabled rules specified in [.markdownlint.json](.markdownlint.json) directly in your project settings. You can invoke linting in CLI via
5252

5353
```bash
54-
markdownlint --config .markdownlint.json --ignore-path .markdownlintignore "**/*.md"
54+
markdownlint --config .markdownlint.json "**/*.md"
5555
```
5656

5757
<a name="running-jekyll-locally"></a>

_layouts/analytics.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
<div class="col-md-9" role="main">
3333
<div class="bs-docs-section">
3434

35-
<h3>{{ page.title }}</h3>
35+
<h1>{{ page.title }}</h1>
3636

37-
<h3>Features</h3>
37+
<h2>Features</h2>
3838

3939
{{content}}
4040

_layouts/bidder.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<div class="bs-docs-section">
3434
<p><a href="/dev-docs/bidders.html">Back to Bidders</a></p>
3535

36-
<h2>{{ page.title }}</h2>
36+
<h1>{{ page.title }}</h1>
3737

3838
{% if page.enable_download == false %}
3939
<div class="pb-bidder-s2">
@@ -43,17 +43,17 @@ <h4>Note:</h4> This adapter is not available in current versions of Prebid.js. R
4343

4444
{% if page.s2s_only == true %}
4545
<div class="pb-bidder-s2">
46-
<h3>Note:</h3> This is a Prebid Server adapter only.
46+
<h2>Note:</h2> This is a Prebid Server adapter only.
4747
</div>
4848
{% endif %}
4949

50-
<h3>Features</h3>
50+
<h2>Features</h2>
5151

5252
{% include dev-docs/bidder-meta-data.html page=page %}
5353

5454
{{content}}
5555

56-
<h3>"Send All Bids" Ad Server Keys</h3>
56+
<h2>"Send All Bids" Ad Server Keys</h2>
5757

5858
<font size="-1">These are the bidder-specific keys that would be targeted within GAM in a Send-All-Bids scenario. GAM truncates keys to 20 characters.</font>
5959

_sass/components/_pb.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
}
2525

2626
.pb-content {
27-
$lt-content-font-size: 19px;
27+
$lt-content-font-size: 16px;
2828

2929
padding: 22px 30px;
3030
border: 1px solid $t-divider-color;

dev-docs/analytics/agma.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ prebid_member: false
1010
gvl_id: 1122
1111
---
1212

13-
#### Analytics Options
13+
## Analytics Options
1414

1515
{: .table .table-bordered .table-striped }
1616
| Name | Scope | Description | Example | Type |
1717
|-------------|---------|--------------------|-----------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------|------------------|
1818
| code | required | Provided by agma | `'my-code'` | string |
1919

20-
### Example Configuration
20+
## Example Configuration
2121

2222
```javascript
2323
pbjs.enableAnalytics({
@@ -28,6 +28,6 @@ pbjs.enableAnalytics({
2828
});
2929
```
3030

31-
#### Registration
31+
## Registration
3232

3333
Please contact [team-internet@agma-mmc.de](mailto:team-internet@agma-mmc.de) for signup.

dev-docs/bidders/ttd.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ Note: The Trade Desk Header Bidding adapter requires setup and approval before b
3838
| Name | Scope | Description | Example | Type |
3939
| --- | --- | --- | --- | --- |
4040
| `supplySourceId` | required | The TTD-provided supply source name. | `'supplier'` | `String` |
41-
| `publisherId` | required | The publisher ID. If there is a sellers.json, this should be the same as the seller_id in the sellers.json for the site being trafficked. If there is no sellers.json, this should be hardcoded to "1". | `'1427ab10f2e448057ed3b422'` | `String` |
41+
| `publisherId` | required | The publisher ID. If there is a sellers.json, this should be the same as the seller_id in the sellers.json for the site being trafficked. If there is no sellers.json, this should be hardcoded to "1". | 1427ab10f2e448057ed3b422 | `String` |
4242
| `placementId` | optional | This field is optional if GPID is passed through the GPT module <https://docs.prebid.org/dev-docs/modules/gpt-pre-auction.html>. If that module isn't used, the GPID value should be passed in this field. | `'/1111/home#header'` | `String` |
4343
| `banner` | optional | Display banner targeting parameters. See the banner section below. | `{}` | `object` |
4444
| `bidfloor` | optional | Sets a bid floor price | `0.95` | `Float` |
45-
| `customBidderEndpoint` | optional | Only set if TTD has provided a custom endpoint. If set the custom endpoint will take precedent over the hard-coded endpoints | `https://customBidderEndpoint/bid/bidder/` | `String` |
45+
| `customBidderEndpoint` | optional | Only set if TTD has provided a custom endpoint. If set the custom endpoint will take precedent over the hard-coded endpoints | `https://custom/bid/` | `String` |
4646

4747
## Banner Object
4848

@@ -54,7 +54,7 @@ The following banner parameters are supported:
5454
| --- | --- | --- | --- | --- |
5555
| `expdir` | optional | Directions in which the banner may expand. See "Expandable Direction" in the [OpenRTB 2.5 docs](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) for possible values. | `[1, 3]` | `Array[integer]` |
5656

57-
## `mediaTypes.banner` Parameters
57+
### `mediaTypes.banner` Parameters
5858

5959
The TTD adapter for banner uses certain parameters in the AdUnit's
6060
[mediaTypes.banner](https://docs.prebid.org/dev-docs/adunit-reference.html#adUnit.mediaTypes.banner) definition. Specifically, `sizes` is required for banner ad units. `pos` is recommended.
@@ -90,7 +90,7 @@ var bannerAdUnit = {
9090

9191
## Video
9292

93-
## `mediaTypes.video` Parameters
93+
### `mediaTypes.video` Parameters
9494

9595
The TTD adapter for video requires certain parameters in the AdUnit's
9696
[mediaTypes.video](https://docs.prebid.org/dev-docs/adunit-reference.html#adUnit.mediaTypes.video) definition. Specifically, `maxduration`, `api`, `mimes`, `plcmt`, and `protocols` are all required for video ad units. `playerSize`, `startdelay`, `playbackmethod`, and `pos` are recommended. `minduration`, `minbitrate`, `maxbitrate`, `skip`, `skipmin`, and `skipafter` are optional.

0 commit comments

Comments
 (0)