1- ### 🗃️ Base content
2-
3- The * base* content is all metrics enabled by default.
4-
1+ <!-- header-->
52<table >
3+ <tr ><th colspan =" 2 " ><h3 >🗃️ Base content</h3 ></th ></tr >
4+ <tr ><td colspan =" 2 " align =" center " ></td ></tr >
5+ <tr >
6+ <th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th>
7+ <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>
8+ </tr >
9+ <tr >
10+ <td><code>👤 Users</code> <code>👥 Organizations</code> <code>📓 Repositories</code></td>
11+ </tr >
612 <tr >
7- <td align="center">
8- <img src="https://github.com/lowlighter/metrics/blob/examples/metrics.classic.svg">
9- <img width="900" height="1" alt="">
10- </td>
11- <td align="center">
12- <img src="https://github.com/lowlighter/metrics/blob/examples/metrics.organization.svg">
13- <img width="900" height="1" alt="">
14- </td>
13+ <td><code>🔑 (scopeless)</code> <code>read:org (optional)</code> <code>read:user (optional)</code> <code>repo (optional)</code></td>
14+ </tr >
15+ <tr >
16+ <td colspan =" 2 " ><table ><tr >
17+ <td align =" center " >
18+ <img src =" https://github.com/lowlighter/metrics/blob/examples/metrics.classic.svg " alt =" " ></img >
19+ </td >
20+ <td align =" center " >
21+ <img src =" https://github.com/lowlighter/metrics/blob/examples/metrics.organization.svg " alt =" " ></img >
22+ </td >
23+ </tr ></table ></td >
1524 </tr >
1625</table >
26+ <!-- /header-->
1727
18- It contains the following sections:
19- * ` header ` , which usually contains your username, your two-week commits calendars and a few additional data
20- * ` activity ` , which contains your recent activity (commits, pull requests, issues, etc.)
21- * ` community ` , which contains your community stats (following, sponsors, organizations, etc.)
22- * ` repositories ` , which contains your repositories stats (license, forks, stars, etc.)
23- * ` metadata ` , which contains informations about generated metrics
24-
25- These are all enabled by default, but you can explicitely opt out from them.
26-
27- #### ➡️ Available options
28+ ## ➡️ Available options
2829
2930<!-- options-->
3031<table >
@@ -33,7 +34,16 @@ These are all enabled by default, but you can explicitely opt out from them.
3334 </tr >
3435 <tr >
3536 <td nowrap="nowrap"><code>base</code></td>
36- <td rowspan="2"><p>Metrics base content</p>
37+ <td rowspan="2"><p>Base content</p>
38+ <p >The following sections are supported:</p >
39+ <ul >
40+ <li ><code >header</code >, which usually contains username, two-week commits calendars and a few additional data</li >
41+ <li ><code >activity</code >, which contains recent activity (commits, pull requests, issues, etc.)</li >
42+ <li ><code >community</code >, which contains community stats (following, sponsors, organizations, etc.)</li >
43+ <li ><code >repositories</code >, which contains repositories stats (license, forks, stars, etc.)</li >
44+ <li ><code >metadata</code >, which contains informations about generated metrics</li >
45+ </ul >
46+ <p >These are all enabled by default, but it is possible to explicitely opt out from them.</p >
3747<img width =" 900 " height =" 1 " alt =" " ></td >
3848 </tr >
3949 <tr >
@@ -45,7 +55,8 @@ These are all enabled by default, but you can explicitely opt out from them.
4555 </tr >
4656 <tr >
4757 <td nowrap="nowrap"><code>repositories</code></td>
48- <td rowspan="2"><p>Number of repositories to use</p>
58+ <td rowspan="2"><p>Repositories to fetch</p>
59+ <p >A higher value result in more accurate metrics but can hit GitHub API rate-limit more easily (especially with a lot of plugins enabled)</p >
4960<img width =" 900 " height =" 1 " alt =" " ></td >
5061 </tr >
5162 <tr >
@@ -57,7 +68,9 @@ These are all enabled by default, but you can explicitely opt out from them.
5768 </tr >
5869 <tr >
5970 <td nowrap="nowrap"><code>repositories_batch</code></td>
60- <td rowspan="2"><p>Number of repositories to load at once by queries</p>
71+ <td rowspan="2"><p>Repositories to fetch at a time</p>
72+ <p >If you receive <code >Something went wrong while executing your query</code > (which is usually caused by API timeout),
73+ try lowering this value.</p >
6174<img width =" 900 " height =" 1 " alt =" " ></td >
6275 </tr >
6376 <tr >
@@ -70,7 +83,7 @@ These are all enabled by default, but you can explicitely opt out from them.
7083 </tr >
7184 <tr >
7285 <td nowrap="nowrap"><code>repositories_forks</code></td>
73- <td rowspan="2"><p>Include forks in metrics </p>
86+ <td rowspan="2"><p>Include forks</p>
7487<img width =" 900 " height =" 1 " alt =" " ></td >
7588 </tr >
7689 <tr >
@@ -81,6 +94,14 @@ These are all enabled by default, but you can explicitely opt out from them.
8194 <tr >
8295 <td nowrap="nowrap"><code>repositories_affiliations</code></td>
8396 <td rowspan="2"><p>Repositories affiliations</p>
97+ <ul >
98+ <li ><code >owner</code >: owned repositories</li >
99+ <li ><code >collaborator</code >: repositories with push access</li >
100+ <li ><code >organization_member</code >: repositories from an organization where user is a member</li >
101+ </ul >
102+ <p >Some plugin outputs may be affected by this setting too.</p >
103+ <p >Set to <code >" ;" ; </code > to disable and fetch all repositories related to you.
104+ Broad affiliation will result in less representative metrics.</p >
84105<img width =" 900 " height =" 1 " alt =" " ></td >
85106 </tr >
86107 <tr >
@@ -92,7 +113,7 @@ These are all enabled by default, but you can explicitely opt out from them.
92113 </tr >
93114 <tr >
94115 <td nowrap="nowrap"><code>repositories_skipped</code></td>
95- <td rowspan="2"><p>Default repositories to skip </p>
116+ <td rowspan="2"><p>Default skipped repositories </p>
96117<img width =" 900 " height =" 1 " alt =" " ></td >
97118 </tr >
98119 <tr >
@@ -103,7 +124,7 @@ These are all enabled by default, but you can explicitely opt out from them.
103124 </tr >
104125 <tr >
105126 <td nowrap="nowrap"><code>users_ignored</code></td>
106- <td rowspan="2"><p>Default users to ignore </p>
127+ <td rowspan="2"><p>Default ignored users </p>
107128<img width =" 900 " height =" 1 " alt =" " ></td >
108129 </tr >
109130 <tr >
@@ -116,7 +137,8 @@ These are all enabled by default, but you can explicitely opt out from them.
116137 </tr >
117138 <tr >
118139 <td nowrap="nowrap"><code>commits_authoring</code></td>
119- <td rowspan="2"><p>List of surnames or email addresses you use when authoring commits</p>
140+ <td rowspan="2"><p>Name, username, email addresses that has been used for authoring commits</p>
141+ <p >This setting can be used to detect commits ownerships in some plugin</p >
120142<img width =" 900 " height =" 1 " alt =" " ></td >
121143 </tr >
122144 <tr >
@@ -129,9 +151,7 @@ These are all enabled by default, but you can explicitely opt out from them.
129151</table >
130152<!-- /options-->
131153
132- * [ → Full specification] ( metadata.yml ) *
133-
134- #### ℹ️ Examples workflows
154+ ## ℹ️ Examples workflows
135155
136156<!-- examples-->
137157``` yaml
0 commit comments