Update README.md

This commit is contained in:
linguist
2020-12-28 22:05:42 +01:00
parent 7a2c6462a2
commit 4f66c214d7
3 changed files with 18 additions and 6 deletions

View File

@@ -164,8 +164,8 @@ But there's more with [plugins](https://github.com/lowlighter/metrics/tree/maste
<table> <table>
<tr> <tr>
<th>Classic template</a></th> <th>Classic template</th>
<th>Terminal template</a></th> <th>Terminal template</th>
</tr> </tr>
<tr> <tr>
<td> <td>
@@ -175,6 +175,17 @@ But there's more with [plugins](https://github.com/lowlighter/metrics/tree/maste
<img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.terminal.svg" alt="" width="400"> <img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.terminal.svg" alt="" width="400">
</td> </td>
</tr> </tr>
<tr>
<th>Repository template<br><sup>A special template to embed on any repository readme !</sup></th>
<th></th>
</tr>
<tr>
<td>
<img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.repository.svg" alt="" width="400">
</td>
<td>
</td>
</tr>
<tr> <tr>
<td colspan="2" align="center"> <td colspan="2" align="center">
<a href="https://github.com/lowlighter/metrics/projects/1"> <a href="https://github.com/lowlighter/metrics/projects/1">
@@ -630,7 +641,7 @@ Add the following to your workflow instead :
🚧 The feature below is only available on @master 🚧 The feature below is only available on @master
You can also display the screenshot taken by PageSpeed API : You can also display the screenshot taken by PageSpeed API :
![Pagespeed plugin (screenshot)](https://github.com/lowlighter/lowlighter/blob/master/metrics.plugin.pagespeed.screenshot.svg) ![Pagespeed plugin (screenshot)](https://github.com/lowlighter/lowlighter/blob/master/metrics.plugin.pagespeed.screenshot.svg)
@@ -916,7 +927,7 @@ Add the following to your workflow :
🚧 The feature below is only available on @master 🚧 The feature below is only available on @master
It is possible to display starred topics as `Mastered and known technologies` instead : It is possible to display starred topics as `Mastered and known technologies` instead :
![Topics plugin (mastered)](https://github.com/lowlighter/lowlighter/blob/master/metrics.plugin.topics.mastered.svg) ![Topics plugin (mastered)](https://github.com/lowlighter/lowlighter/blob/master/metrics.plugin.topics.mastered.svg)
@@ -975,7 +986,7 @@ Fill the informations and set visibility to *public* :
It is possible to display projects related to repositories along with personal projects. It is possible to display projects related to repositories along with personal projects.
To do so, open your repository project and retrieve the last url endpoint, in the format `:user/:repository/projects/:project_id` (for example, `lowlighter/metrics/projects/1`) and add it in the `plugin_projects_repositories` option. Enable `Track project progress` in the project settings to display a progress bar in generated metrics. To do so, open your repository project and retrieve the last url endpoint, in the format `:user/:repository/projects/:project_id` (for example, `lowlighter/metrics/projects/1`) and add it in the `plugin_projects_repositories` option. Enable `Track project progress` in the project settings to display a progress bar in generated metrics.
![Add a repository project](.github/readme/imgs/plugin_projects_repositories.png) ![Add a repository project](.github/readme/imgs/plugin_projects_repositories.png)

File diff suppressed because one or more lines are too long

View File

@@ -4,6 +4,7 @@
+ (!!plugins.followup)*68 + (!!plugins.followup)*68
+ (!!base.metadata)*28 + (!!base.metadata)*28
+ (!!plugins.projects)*22 + (plugins.projects?.list?.length ?? 0)*60 + (!!plugins.projects?.error)*22 + (!!plugins.projects)*22 + (plugins.projects?.list?.length ?? 0)*60 + (!!plugins.projects?.error)*22
+ Math.max(0, ((!!base.header)+(!!base.metadata)+(!!plugins.followup)+(!!plugins.projects))-1))*4
%>"> %>">
<defs><style><%= fonts %></style></defs> <defs><style><%= fonts %></style></defs>

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB