Skip to content

Commit a1144b3

Browse files
authored
Merge branch 'prebid:master' into master
2 parents 84d5474 + 3a88a9e commit a1144b3

File tree

952 files changed

+44218
-20437
lines changed

Some content is hidden

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

952 files changed

+44218
-20437
lines changed

.github/pull_request_template.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Thanks for improving the documentation 😃
2+
Please give a short description and check the matching checkboxes to help us review this as quick as possible.
3+
4+
## 🏷 Type of documentation
5+
6+
- [ ] new bid adapter
7+
- [ ] update bid adapter
8+
- [ ] new feature
9+
- [ ] text edit only (wording, typos)
10+
- [ ] bugfix (code examples)
11+
- [ ] new examples
12+
13+
## 📋 Checklist
14+
15+
- [ ] Related pull requests in prebid.js or server are linked
16+
- [ ] For new adapters check [submitting your adapter docs](https://docs.prebid.org/dev-docs/bidder-adaptor.html#submitting-your-adapter)

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ Gemfile.lock
99
.jekyll-metadata
1010
*ads.txt.bkp*
1111
.sass-cache
12+
13+
# Files generated by `npm install`
14+
node_modules/
502 Bytes
Binary file not shown.

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
source 'https://rubygems.org'
2-
gem 'github-pages', '>= 30'
2+
gem 'github-pages', '>= 30'

README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
This repository contains the source files for the Prebid.js documentation site at [Prebid.org](https://prebid.org).
22

3-
Please see the sections below for more information.
3+
Please see the sections below for more information:
44

55
+ [Contributing](#contributing)
66
+ [License](#license)
@@ -14,7 +14,7 @@ Please see the sections below for more information.
1414

1515
## Contributing
1616

17-
Thanks in advance for your contribution! Contributors are listed in the **Thanks** section below.
17+
Thanks in advance for your contribution!
1818

1919
For smaller changes, such as fixing a typo or adding a new section to an existing page, submit a pull request.
2020

@@ -33,7 +33,7 @@ All docs are under the license shown in the `LICENSE` file in this directory.
3333

3434
## Prerequisites
3535

36-
The site uses [Jekyll](https://jekyllrb.com/), which is written in the [Ruby](https://www.ruby-lang.org/en/) language.
36+
The site is hosted on GitHub pages, and uses [Jekyll](https://jekyllrb.com/) to generate the HTML. Jekyll is written in the [Ruby](https://www.ruby-lang.org/en/) language.
3737

3838
1. follow the instructions at https://jekyllrb.com/docs/installation/ for your OS
3939
1. gem install github-pages
@@ -42,7 +42,7 @@ The site uses [Jekyll](https://jekyllrb.com/), which is written in the [Ruby](ht
4242
For CSS, the site uses Laravel Mix to build CSS from Sass (scss-flavored) source files. Under the hood Laravel Mix uses Webpack.
4343

4444
1. follow the instructions at https://nodejs.dev to install Node.js for your OS
45-
1. `npm install` to install packages for building assets
45+
1. `npm ci` to install packages for building assets
4646
1. build assets as described below
4747

4848
<a name="running-jekyll-locally" />
@@ -53,20 +53,22 @@ Before submitting a pull request, you should run the site locally to make sure y
5353

5454
To get started editing the site and seeing your changes, clone this repo and enter the following commands in your terminal:
5555

56-
- `cd path/to/prebid.github.io`
57-
- `bundle exec jekyll serve`
56+
```bash
57+
$ JEKYLL_ENV=production bundle exec jekyll serve --watch --incremental
58+
```
59+
5860

5961
You should see output that looks something like this:
6062

6163
```
62-
Configuration file: /Users/rloveland/Dropbox/Code/prebid.github.io/_config.yml
63-
Source: /Users/rloveland/Dropbox/Code/prebid.github.io
64-
Destination: /Users/rloveland/Dropbox/Code/prebid.github.io/_site
64+
Configuration file: /Users/me/git/prebid.github.io/_config.yml
65+
Source: /Users/me/git/prebid.github.io
66+
Destination: /Users/me/git/prebid.github.io/_site
6567
Incremental build: disabled. Enable with --incremental
6668
Generating...
6769
done in 13.596 seconds.
68-
Auto-regeneration: enabled for '/Users/rloveland/Dropbox/Code/prebid.github.io'
69-
Configuration file: /Users/rloveland/Dropbox/Code/prebid.github.io/_config.yml
70+
Auto-regeneration: enabled for '/Users/me/git/prebid.github.io'
71+
Configuration file: /Users/me/git/prebid.github.io/_config.yml
7072
Server address: http://127.0.0.1:8080/
7173
Server running... press ctrl-c to stop.
7274
...
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.pb-content {
2+
.autocomplete-filter {
3+
padding: 10px 15px;
4+
border: 1px solid #b3c1cc;
5+
background-color: rgba(236, 243, 245, 0.35);
6+
7+
&:focus {
8+
outline: none;
9+
}
10+
}
11+
}
12+
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
.pb-content {
2+
.c-bidder-list-group {
3+
h4 {
4+
color: #797f90;
5+
font-size: 19px;
6+
font-weight: 700;
7+
}
8+
}
9+
10+
.c-bidder-list {
11+
padding-left: 0;
12+
columns: 2;
13+
14+
li {
15+
padding-bottom: 5px;
16+
17+
&::before {
18+
content: none !important;
19+
}
20+
}
21+
22+
a {
23+
text-decoration: none;
24+
}
25+
}
26+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
.download-form {
2+
margin-bottom: 20px;
3+
4+
> .row {
5+
flex-flow: column;
6+
}
7+
8+
.adapters {
9+
display: flex;
10+
flex-flow: row wrap;
11+
}
12+
}
13+
14+
.download-form__modal,
15+
.modal-backdrop.fade {
16+
opacity: 0;
17+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
.algolia-autocomplete {
2+
.algolia-docsearch-suggestion--category-header {
3+
display: none !important;
4+
}
5+
}
6+
7+
.c-search {
8+
position: relative;
9+
10+
@include media('<=990px') {
11+
float: left;
12+
}
13+
14+
&::after {
15+
@include position(absolute, 50% 10px null null);
16+
@include size(20px);
17+
transform: translateY(-50%);
18+
background: url(/assets/images/icons/search-icon2.svg);
19+
background-size: cover;
20+
content: '';
21+
}
22+
23+
input[type="search"] {
24+
@include padding(null 8px);
25+
border: 1px solid rgba(0, 0, 0, 0.125);
26+
max-width: 120px;
27+
transition: max-width 200ms ease-in-out;
28+
29+
&:hover, &:focus {
30+
max-width: 200px;
31+
outline: none;
32+
}
33+
34+
/* clears the ‘X’ from Internet Explorer */
35+
&::-ms-clear { display: none; width : 0; height: 0; }
36+
&::-ms-reveal { display: none; width : 0; height: 0; }
37+
38+
/* clears the ‘X’ from Chrome */
39+
&::-webkit-search-decoration,
40+
&::-webkit-search-cancel-button,
41+
&::-webkit-search-results-button,
42+
&::-webkit-search-results-decoration { display: none; }
43+
}
44+
}

_assets/sass/main.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
@import 'vendor/bootstrap';
1616
@import 'vendor/bourbon';
1717
@import 'vendor/include-media';
18+
@import 'vendor/awesomplete';
1819

1920
// Base Styles
2021
@import 'base/base';
@@ -32,6 +33,10 @@
3233
@import 'components/pb';
3334
@import 'components/social-media';
3435
@import 'components/table';
36+
@import 'components/download-form';
37+
@import 'components/autocomplete-filter';
38+
@import 'components/bidder-list';
39+
@import 'components/search';
3540

3641
// Pages
3742
@import 'pages/home';

0 commit comments

Comments
 (0)