XAMPPRocky/tokei_rs

Feature request: customize badge label

Open

#3 opened on Jan 2, 2018

 (7 comments) (1 reaction) (0 assignees)Rust (11 forks)auto 404
enhancementhelp wanted

Repository metrics

Stars
 (67 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

(moved from https://github.com/Aaronepower/tokei/issues/139)

In tldr-pages/tldr we're using the file count badge as a proxy to the number of pages in the collection. Ideally we'd want to only count files in the pages directory (requested at #2), but even with the current count, which is already a good approximation, we'd want to change the label from "Files" to "pages". A feature to provide a custom label for the badge would enable us to do that.

On a related (but independent) note, I think the label should be lowercased to match the majority of default badge labels (see e.g. https://shields.io)

Contributor guide