* Change default stats card width with hide rank
* Add tests for stats card with card_width
* Add card_width Stats Card description to readme
* fix: add icon width to stats-card min width calculation
* fix: fixes rank circle padding problem
This commit fixes a padding problem that was introduced in
f9c0e0bff6. In the new code, the padding
around the rank circle will be 50 when the stats card is bigger than
450. When it is smaller than 450 the left and right padding will shrink
equally.
* style: run prettier
* tests: add extra stats 'card_width' tests
This commit makes sure we also test the stats card width for the case that the 'show_icons'
option is enabled.
* style: run prettier
Co-authored-by: rickstaa <rick.staa@outlook.com>
Updated the Vercel PAT setup instructions.
The original instructions don't say to enable `repo` permissions on the Personal Access Token. Without these permissions, the widget was not able to count the `total commits` on my private repos. I updated the instructions to specifically mention enabling the `repo` permission on the PAT.
I tested this using my own Vercel instance and can confirm the `repo` permission is needed.
This fix has been mentioned here: https://github.com/anuraghazra/github-readme-stats/issues/1275#issuecomment-929887319
* feat: added option to hide languages
* feat: recalculate percentages for hidden languages
* refactor: reverted langs_count and did some formatting
* doc: added hide to readme
* feat: make languages var mutable and improve filter logic
Co-authored-by: Adrian Kunz <clashsoft@hotmail.com>
* refactor: improve code and added tests
Co-authored-by: Adrian Kunz <clashsoft@hotmail.com>
Co-authored-by: Anurag <hazru.anurag@gmail.com>
* chore: allow to customize wakatime data range
* docs: document wakatime range parameter
docs: add wakatime section to german readme
Co-authored-by: Anurag Hazra <hazru.anurag@gmail.com>
* Custom stats title (anuraghazra#229)
* Add custom title test
* remove unused code
* Update readme.md to include the `custom_title` option
* Update readme_es.md to include `custom_title` option
Co-Authored-By: José Javier Rodríguez Zas <jjavierdguezas@gmail.com>
* Merge branch 'master' of https://github.com/anuraghazra/github-readme-stats.git into custom-title
* feat: added customTitle option in Card
Co-authored-by: José Javier Rodríguez Zas <jjavierdguezas@gmail.com>
Co-authored-by: Anurag <hazru.anurag@gmail.com>