1
- ### 🧮 Repositories traffic
2
-
3
- > ⚠️ This plugin requires a personal token with repo scope.
4
-
5
- The repositories * traffic* plugin displays the number of page views across your repositories.
6
-
1
+ <!-- header-->
7
2
<table >
8
- <td align =" center " >
9
- <img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.traffic.svg">
10
- </td >
3
+ <tr ><th colspan =" 2 " ><h3 >🧮 Repositories traffic</h3 ></th ></tr >
4
+ <tr ><td colspan =" 2 " align =" center " ><p >This plugin displays the number of page views across your repositories.</p >
5
+ </td ></tr >
6
+ <tr >
7
+ <th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th>
8
+ <td><a href="/source/templates/classic"><code>📗 Classic template</code></a> <a href="/source/templates/repository"><code>📘 Repository template</code></a> <a href="/source/templates/terminal"><code>📙 Terminal template</code></a></td>
9
+ </tr >
10
+ <tr >
11
+ <td><code>👤 Users</code> <code>👥 Organizations</code> <code>📓 Repositories</code></td>
12
+ </tr >
13
+ <tr >
14
+ <td><code>🔑 repo</code> <code>read:org (optional)</code> <code>read:user (optional)</code></td>
15
+ </tr >
16
+ <tr >
17
+ <td colspan="2" align="center">
18
+ <img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.traffic.svg" alt=""></img>
19
+ <img width="900" height="1" alt="">
20
+ </td>
21
+ </tr >
11
22
</table >
23
+ <!-- /header-->
12
24
13
- Because of GitHub REST API limitation, provided token requires full ` repo ` scope to access traffic informations.
14
-
15
- ![ Token with repo scope] ( /.github/readme/imgs/setup_token_repo_scope.png )
16
-
17
- #### ➡️ Available options
25
+ ## ➡️ Available options
18
26
19
27
<!-- options-->
20
28
<table >
@@ -23,7 +31,7 @@ Because of GitHub REST API limitation, provided token requires full `repo` scope
23
31
</tr >
24
32
<tr >
25
33
<td nowrap="nowrap"><code>plugin_traffic</code></td>
26
- <td rowspan="2"><p>Display repositories traffic metrics </p>
34
+ <td rowspan="2"><p>Enable traffic plugin </p>
27
35
<img width =" 900 " height =" 1 " alt =" " ></td >
28
36
</tr >
29
37
<tr >
@@ -33,7 +41,7 @@ Because of GitHub REST API limitation, provided token requires full `repo` scope
33
41
</tr >
34
42
<tr >
35
43
<td nowrap="nowrap"><code>plugin_traffic_skipped</code></td>
36
- <td rowspan="2"><p>Repositories to skip </p>
44
+ <td rowspan="2"><p>Skipped repositories </p>
37
45
<img width =" 900 " height =" 1 " alt =" " ></td >
38
46
</tr >
39
47
<tr >
@@ -45,9 +53,7 @@ Because of GitHub REST API limitation, provided token requires full `repo` scope
45
53
</table >
46
54
<!-- /options-->
47
55
48
- * [ → Full specification] ( metadata.yml ) *
49
-
50
- #### ℹ️ Examples workflows
56
+ ## ℹ️ Examples workflows
51
57
52
58
<!-- examples-->
53
59
``` yaml
60
66
plugin_traffic : ' yes'
61
67
62
68
```
63
- <!-- /examples-->
69
+ <!-- /examples-->
0 commit comments