From 1f6c70d99afc4261290a07bfc5c68c7b29bad933 Mon Sep 17 00:00:00 2001
From: lowlighter <22963968+lowlighter@users.noreply.github.com>
Date: Sat, 15 Jan 2022 21:59:02 -0500
Subject: [PATCH] doc(plugins/repositories): update
---
source/plugins/repositories/README.md | 50 +++++++++++++++---------
source/plugins/repositories/metadata.yml | 18 ++++++---
2 files changed, 44 insertions(+), 24 deletions(-)
diff --git a/source/plugins/repositories/README.md b/source/plugins/repositories/README.md
index 94ca6c29..f7c31718 100644
--- a/source/plugins/repositories/README.md
+++ b/source/plugins/repositories/README.md
@@ -1,19 +1,32 @@
-### đ Repositories
-
-The *repositories* plugin can display a list of chosen featured repositories.
-
+
-
-
-
- |
+ đ Repositories |
+ This plugin displays a list of chosen featured repositories.
+It is mostly intended for images that will be used outside of GitHub, since it is already possible to pin repositories on GitHub.
+
+â ī¸ People will not be able to click on it due to limitations of using SVG inside <img> tags.
+
+ |
+
+ Supported features â Full specification |
+ đ Classic template |
+
+
+ đ¤ Users đĨ Organizations |
+
+
+ đ (scopeless) read:org (optional) read:user (optional) repo (optional) |
+
+
+
+
+
+ |
+
+
-It is mostly intended for external usage as [pinned repositories](https://www.google.com/search?client=firefox-b-d&q=github+pinned+repositories) is probably a better alternative if you want to embed them on your profile.
-
-Because of limitations of using SVG inside of `
` tags, people won't be able to click on it.
-
-#### âĄī¸ Available options
+## âĄī¸ Available options
@@ -22,7 +35,7 @@ Because of limitations of using SVG inside of `
` tags, people won't be able
plugin_repositories |
- Display chosen featured repositories
+ | Enable repositories plugin
![]() |
@@ -32,7 +45,8 @@ Because of limitations of using SVG inside of `
` tags, people won't be able
plugin_repositories_featured |
- List of repositories to display
+ | List of featured repositories
+If no owner is specified, it will implicitly use the current account login
![]() |
@@ -43,9 +57,7 @@ Because of limitations of using SVG inside of `
` tags, people won't be able
-*[â Full specification](metadata.yml)*
-
-#### âšī¸ Examples workflows
+## âšī¸ Examples workflows
```yaml
@@ -59,4 +71,4 @@ with:
plugin_repositories_featured: lowlighter/metrics
```
-
\ No newline at end of file
+
diff --git a/source/plugins/repositories/metadata.yml b/source/plugins/repositories/metadata.yml
index ef02a253..4112208a 100644
--- a/source/plugins/repositories/metadata.yml
+++ b/source/plugins/repositories/metadata.yml
@@ -1,5 +1,13 @@
name: "đ Repositories"
category: github
+description: |
+ This plugin displays a list of chosen featured repositories.
+
+ It is mostly intended for images that will be used outside of GitHub, since it is already possible to [pin repositories](https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/pinning-items-to-your-profile) on GitHub.
+
+ > â ī¸ People will not be able to click on it due to limitations of using SVG inside `
` tags.
+examples:
+ default: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.repositories.svg
index: 20
supports:
- user
@@ -8,16 +16,16 @@ scopes:
- public_access
inputs:
- # Enable or disable plugin
plugin_repositories:
- description: Display chosen featured repositories
+ description: Enable repositories plugin
type: boolean
default: no
- # Featured repositories to display
- # If no owner is specified, it will implicitly use the current account login as owner
plugin_repositories_featured:
- description: List of repositories to display
+ description: |
+ List of featured repositories
+
+ If no owner is specified, it will implicitly use the current account login
type: array
format: comma-separated
default: ""