From bdd11b7bd53c7f694035612be900bb8e15340980 Mon Sep 17 00:00:00 2001
From: Simon Lecoq <22963968+lowlighter@users.noreply.github.com>
Date: Wed, 23 Dec 2020 00:18:41 +0100
Subject: [PATCH] Update README.md
---
README.md | 57 ++++++++++++++++++++++++++++++++++++++++++++++---------
1 file changed, 48 insertions(+), 9 deletions(-)
diff --git a/README.md b/README.md
index 69a2610b..6615b783 100644
--- a/README.md
+++ b/README.md
@@ -131,6 +131,18 @@ But there's more with [plugins](https://github.com/lowlighter/metrics/tree/maste
+
+ | 🗃️ Header special features |
+ |
+
+
+
+
+
+
+ |
+ |
+
@@ -445,8 +457,7 @@ Consider trying them at [metrics.lecoq.io](https://metrics.lecoq.io) !
Used template defaults to the `classic` one.
-
-💬 Template/plugin compatibily matrix
+### 🧰 Template/plugin compatibily matrix
@@ -480,7 +491,7 @@ Used template defaults to the `classic` one.
| ✔️ |
✔️M |
✔️ |
- ✔️ |
+ ✔️N |
✔️ |
@@ -504,10 +515,8 @@ Used template defaults to the `classic` one.
**Legend**
* **P** : Partial support *(Hover cell for more informations)*
-* **M** : Plugin is currently available only on `@master`
-* **N** : Plugin is already available but new features are available on `@master`
-
-
+* **M** : Plugin is not released yet but is available on `@master`
+* **N** : Plugin is already released, but new features are available on `@master`
## 🧩 Plugins
@@ -1003,7 +1012,7 @@ Add the following to your workflow :
### 💡 Habits
-The coding *habits* add deduced coding habits based on your recent activity, from up to 100 events.
+The coding *habits* add deduced coding habits based on your recent activity, from up to 1000 events.

@@ -1015,13 +1024,43 @@ It will consume an additional GitHub request per event fetched.
Because of GitHub REST API limitation, provided token requires full `repo` scope to access **private** events.
Events that cannot be fetched will be ignored so it is still possible to use this plugin with a scope-less token.
+A high value must be provided for `plugin_habits_from` in order for this section to be accurate, although it'll increase the number of GitHub requests sent.
+If you're using GitHub Api in other projects, you could reach the rate limit.
+
+
+
+These facts are generated from your recent coding activity.
+The indent style is deduced from the diffs of your recent commits.
+
Add the following to your workflow :
```yaml
- uses: lowlighter/metrics@latest
with:
# ... other options
plugin_habits: yes
- plugin_habits_from: 100
+ plugin_habits_from: 200
+ plugin_habits_days: 14
+```
+
+ 🚧 The following feature is available as pre-release on @master
+
+You can display charts in this section :
+
+
+
+These charts are generated from your recent coding activity.
+Languages metrics are computed with [github/linguist](https://github.com/github/linguist) from the diffs of your recent commits.
+
+Add the following to your workflow instead :
+```yaml
+- uses: lowlighter/metrics@latest
+ with:
+ # ... other options
+ plugin_habits: yes
+ plugin_habits_from: 200
+ plugin_habits_days: 14
+ plugin_habits_facts: yes
+ plugin_habits_charts: yes
```
|