XAMPPRocky/tokei_rs

Feature request: customize badge label

Offen

#3 geöffnet am 02.01.2018

 (7 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Rust (11 Forks)auto 404
enhancementhelp wanted

Repository-Metriken

Stars
 (67 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

(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