aboutsummaryrefslogtreecommitdiff
path: root/docs/Sponsors.md
blob: b40975252e6db7cacb9bdd5b572166846e929918 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Sponsorship

Compiler Explorer is funded by sponsors: mostly individuals through Patreon, GitHub sponsors and PayPal one-off
payments. There is potential for corporate sponsorship; though extremely limited due to the goal of making Compiler
Explorer a mostly ad-free experience.

Corporate sponsorship requests should be directed to [Matt](mailto:matt@godbolt.org), who has sole discretion on what
kinds of sponsorship is appropriate.

## The sponsors.yaml format

Sponsors are added by editing the `sponsors.yaml` file. The format is:

```yaml
---
levels:
  - name: Level one
    description: A description of the first level of sponsors.
    class: css-class-to-apply # optional
    sponsors:
      - name: Displayed name
        img: url of an image # optional
        priority: 100 # optional, higher means shown first, else sorted by name
        url: link to navigate to if clicked # optional
        topIcon: true # optional, if true, show on the top of index.pug
      - name: Another...
      - Yet another # top level string treated as a {name: "Yet another"}
  - name: Level two
    description: The second level.
    sponsors:
      - bob
      - ian
      - joe
```