mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-09-08 18:17:43 +00:00
feat: added "exclude_repo" option to Top Langs (#493)
* 🚀 Added "exclude_repo" option to Top Langs * chore: code style update Co-authored-by: Anurag <hazru.anurag@gmail.com>
This commit is contained in:
@@ -168,6 +168,7 @@ You can provide multiple comma-separated values in bg_color option to render a g
|
||||
- `layout` - Switch between two available layouts `default` & `compact`
|
||||
- `card_width` - Set the card's width manually _(number)_
|
||||
- `langs_count` - Show more languages on the card, between 1-10, defaults to 5 _(number)_
|
||||
- `exclude_repo` - Exclude specified repositories _(Comma-separated values)_
|
||||
|
||||
> :warning: **Important:**
|
||||
> Language names should be uri-escaped, as specified in [Percent Encoding](https://en.wikipedia.org/wiki/Percent-encoding)
|
||||
@@ -221,6 +222,14 @@ Endpoint: `api/top-langs?username=anuraghazra`
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
```
|
||||
|
||||
### Exclude individual repositories
|
||||
|
||||
You can use `?exclude_repo=repo1,repo2` parameter to exclude individual repositories.
|
||||
|
||||
```md
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
```
|
||||
|
||||
### Hide individual languages
|
||||
|
||||
You can use `?hide=language1,language2` parameter to hide individual languages.
|
||||
|
||||
Reference in New Issue
Block a user