Skip to content

Commit 91777c6

Browse files
committed
add code blocks
1 parent abae8cc commit 91777c6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

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

99
Your `entitlements-app` config `config/entitlements.yaml` runs through ERB interpretation automatically. You can extend your entitlements configuration to load plugins like so:
1010

11-
```
11+
```ruby
1212
<%-
1313
unless ENV['CI_MODE']
1414
begin
@@ -27,7 +27,7 @@ Your `entitlements-app` config `config/entitlements.yaml` runs through ERB inter
2727
2828
You can then define `lib/entitlements-and-plugins` like so:
2929
30-
```
30+
```ruby
3131
#!/usr/bin/env ruby
3232
# frozen_string_literal: true
3333
@@ -49,7 +49,7 @@ Any plugins defined in `lib/entitlements-and-plugins` will be loaded and used at
4949
5050
`entitlements-github-plugin` manages org team membership to two roles - `admin` and `member`. Your `entitlements-app` config `config/entitlements.yaml` is used to configure the location for the declarations of this membership.
5151
52-
```
52+
```ruby
5353
github.com/github/org:
5454
addr: <%= ENV["GITHUB_API_BASE"] %>
5555
base: ou=org,ou=github,ou=GitHub,dc=github,dc=com
@@ -65,7 +65,7 @@ Any plugins defined in `lib/entitlements-and-plugins` will be loaded and used at
6565
6666
`entitlements-github-plugin` manages membership for all teams listed in the defined subfolder. The plugin will use extension-less name of the file as the team name. GitHub Team management can be configured like so:
6767
68-
```
68+
```ruby
6969
github.com/github/teams:
7070
addr: <%= ENV["GITHUB_API_BASE"] %>
7171
base: ou=teams,ou=github,ou=GitHub,dc=github,dc=com

0 commit comments

Comments
 (0)