Commit Graph
133 Commits
Author SHA1 Message Date
b0bb994ad3 Fix #1170: Allow customizable width for GitHub Stats Card (#1334)
* 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
f9c0e0bff64f325235ccbf936c9d5f7a918ac790. 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>
2022-09-16 12:50:30 +02:00
John SweeneyandGitHub d5c94b6f57 Remove unneeded underscore from Readme (#2003) 2022-09-06 08:50:39 +02:00
tmtandGitHub 678fa11416 docs: note for temporary cache inc (#1890) 2022-07-27 07:48:20 +02:00
tmtandGitHub cffb0843b1 docs: incorrect cache documentation (#1889) 2022-07-27 07:47:55 +02:00
PyBakerandGitHub 33874275b2 docs: update readme.md (#1836) 2022-07-06 13:00:20 +02:00
Rick StaaandGitHub bdaaba2021 docs: add wakatime public profile note (#1794)
Add a small note to make users aware that the wakatime card currently only works with public profiles.
2022-06-23 11:43:02 +02:00
Rick StaaandGitHub 758ed96dce docs: add discussion button to readme (#1776)
This commit adds a link to the discussion page to make sure people ask questions there instead of opening issues.
2022-05-19 12:40:35 +02:00
Nico IsmailiandGitHub 9734a998cc docs: linked "hide" URL param values to its description (#1766) 2022-05-18 16:36:22 +02:00
bde609f246 Update readme.md (#1399)
Co-authored-by: Rick Staa <rick.staa@outlook.com>
2022-05-03 10:26:21 +02:00
0xLogNandGitHub 877ac89e84 spelling & grammar in README (#1350) 2022-05-03 10:12:49 +02:00
Robin MilletteandGitHub 202bcd4451 Fix readme typo (#1171)
Langauges
2022-05-03 10:04:45 +02:00
Chinmay ChhajedandGitHub f7ddcbe757 docs: update readme (#1721)
This pull request fixes several syntax errors in the readme that might confuse people.
2022-05-01 21:20:51 +02:00
Ansgar GrunseidandGitHub 20ace75271 fix grammar: add missing period (#1025) 2022-02-16 23:12:32 +01:00
c3d9197912 fix grammatical error in readme.md (#975)
* update readme.md

* docs: apply one small grammar style change

Co-authored-by: rickstaa <rick.staa@outlook.com>
2022-02-16 08:24:56 +01:00
James TufarelliandGitHub 3f0ca9d967 docs: fixed Vercel PAT setup instructions (#1508)
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
2021-12-29 21:17:31 +05:30
Anurag HazraandGitHub bc6c22ea17 docs: add fork instructions (#1418)
* docs: add fork instructions

* chore: revert toc
2021-10-25 23:29:04 +05:30
Moe BachrouchandGitHub c7fd3ed8f2 docs: replace '?theme' with '&theme' (#1307) 2021-09-12 21:42:07 +05:30
1a3edcaae0 feat: hide wakatime languages (#1212)
* 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>
2021-08-28 00:35:10 +05:30
김예환 Ye-Hwan Kim (Sam)andGitHub ae6b56bf7f docs: fix grammar (#1242) 2021-08-14 20:37:36 +05:30
OldWizard209andGitHub fede678fa2 docs: better navigation in readme (#1196) 2021-07-20 12:49:21 +05:30
Rishi SureshandGitHub 7a096acf66 feat: added border_color option (#1000)
* feat: Allow customization of border color

* docs: Update readme
2021-04-28 00:28:44 +05:30
Florian BussmannandGitHub 9773d924fb feat: limit langs shown on wakatime card (#988) 2021-04-27 00:34:34 +05:30
Anurag HazraandGitHub 979f9a4946 docs: add covid fund link (#1019) 2021-04-26 14:09:22 +05:30
Peter Dave HelloandGitHub c8c3358f1b docs: correct code block language in readme.md (#949)
This one is html not markdown
2021-03-21 18:19:16 +05:30
24e5f866c0 feat: allow to customize wakatime range (#874)
* 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>
2021-03-08 11:39:43 +05:30
Teddy HeinenandGitHub c8a5e835a5 feat: add corner rounding parameter so we can make square cards (#845)
* add corner rounding parameter so i can make square cards

* rename rx to border_radius
2021-03-07 22:23:32 +05:30
AlexandrandGitHub fcc51020ff docs: added missing link to nepali translations (#912) 2021-03-07 22:04:53 +05:30
AnaxesandGitHub 1e36b20057 docs: update readme.md (#914)
Updated one word "Loved" to "Love".
2021-03-07 22:04:36 +05:30
Muhammad Sanjar AfaqandGitHub c27f920616 docs: minor readme updates (#893)
Correct typos and difficult word choices.
2021-03-07 21:59:34 +05:30
Kim HåandGitHub 7ba181b66e docs: fixed a typo. (#915) 2021-02-28 16:55:13 +05:30
AlexandrandGitHub 76f71513f0 docs: added info about api_domain option into docs (#840) 2021-01-29 22:24:49 +05:30
Maarten van HeusdenandGitHub ce0a97c29d docs: change github to GitHub (#657) 2021-01-27 19:11:32 +05:30
Yusuke UeharaandGitHub 72f94ad77b docs : Update readme card options (#816)
* Omit common parameters

* Update Japanese documentation
2021-01-17 15:04:09 +05:30
Mustafa Çağrı GüvenandGitHub d04f72134a docs(translation): Add Turkish Language Readme File (#766) 2020-12-31 12:07:56 +05:30
Anurag HazraandGitHub 1c12326081 feat: auto resize card if rank is hidden (#721) 2020-12-13 20:15:00 +05:30
Anurag HazraandGitHub 4c7b95e7fc chore: updated team utm url 2020-12-09 14:35:42 +05:30
Anurag HazraandGitHub e945ae4852 chore: added vercel utm_source link 2020-12-09 13:43:50 +05:30
Anurag HazraandGitHub f7f11d0b25 feat: added disable_animations flag (#643) 2020-11-14 18:52:36 +05:30
94aeabe300 feat: add wakatime compact layout (#560)
* Add wakatime compact layout

* Update readme

* test: added & updated test snapshots

Co-authored-by: Anurag <hazru.anurag@gmail.com>
2020-11-04 23:51:57 +05:30
ff9cf1317f chore: full Dutch (The Netherlands) support (#541)
* Added full dutch langauge support

* Update

Co-authored-by: Anurag Hazra <hazru.anurag@gmail.com>
2020-10-31 14:29:06 +05:30
Vinicius Lago GehrkeandGitHub a15fe13ad6 chore(docs): corrected a basic typo (#586) 2020-10-25 18:09:51 +05:30
Aaron MeeseandGitHub bbf6fe1312 docs: added URL Encoding Help (#542) 2020-10-17 19:08:17 +05:30
Oliver KoppandGitHub 24ba102e10 docs: add explanation of the ranks (#576) 2020-10-17 18:49:42 +05:30
Anurag 69ab2db852 docs: updated docs with locale 2020-10-04 14:07:07 +05:30
f1df178643 feat: card locale translations (#509)
* Add Card Translations

* Add tests and documentation for `?lang` option

* Card Translations: update Italian

* Run Prettier

* Correct German Translations.

Co-authored-by: schmelto <30869493+schmelto@users.noreply.github.com>

* refactor: added i18n class to manage translation logic & improved code

* Make the new src/translations.js more concise

* Update translations.js

Co-authored-by: schmelto <30869493+schmelto@users.noreply.github.com>

* Revert 4175484d69289e4ee7283ab968b8e71c3c5d77df

* fix: overlap because of language length

Co-authored-by: lrusso96 <russo.1699981@studenti.uniroma1.it>
Co-authored-by: schmelto <30869493+schmelto@users.noreply.github.com>
Co-authored-by: Anurag <hazru.anurag@gmail.com>
2020-10-04 13:35:15 +05:30
057ff69ac2 feat: custom card title (#293)
* 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>
2020-09-27 13:10:39 +05:30
wolfiandGitHub e1932fdf74 docs: add hide_border option in all language docs (#436) 2020-09-27 12:42:15 +05:30
d4e2a1b395 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>
2020-09-27 12:39:44 +05:30
Anurag HazraandGitHub a5d99aa5a9 docs: added wakatime link 2020-09-26 15:44:53 +05:30
8aea1e3c35 feat: added repo card hide border option (#488)
* 🚀 Prettier config

* 🚀 hide_border for Repo Card

* fix: wrong total commits (#490)

* chore: run prettier on all files

* chore: lol lets add the trailing commas

Co-authored-by: Anurag Hazra <hazru.anurag@gmail.com>
2020-09-24 21:38:14 +05:30