forked from mirrored/github-readme-stats
chore: standardize the GitHub and npm branding through the codebase (#4014)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
This commit is contained in:
co-authored by
Alexandr
parent
3cdfa8826e
commit
c966becb9a
@@ -1,6 +1,6 @@
|
||||
version: 2
|
||||
updates:
|
||||
# Maintain dependencies for NPM
|
||||
# Maintain dependencies for npm
|
||||
- package-ecosystem: npm
|
||||
directory: "/"
|
||||
schedule:
|
||||
|
||||
@@ -636,7 +636,7 @@ You can customize the appearance and behavior of the WakaTime stats card using t
|
||||
|
||||

|
||||
|
||||
* Shows Github logo instead rank level
|
||||
* Shows GitHub logo instead rank level
|
||||
|
||||

|
||||
|
||||
@@ -799,7 +799,7 @@ Since the GitHub API only allows 5k requests per hour, my `https://github-readme
|
||||
|
||||
## Disable rate limit protections
|
||||
|
||||
Github Readme Stats contains several Vercel environment variables that can be used to remove the rate limit protections:
|
||||
GitHub Readme Stats contains several Vercel environment variables that can be used to remove the rate limit protections:
|
||||
|
||||
* `CACHE_SECONDS`: This environment variable takes precedence over our cache minimum and maximum values and can circumvent these values for self-hosted Vercel instances.
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ const calculatePrimaryLanguage = (files) => {
|
||||
/**
|
||||
* Fetch GitHub gist information by given username and ID.
|
||||
*
|
||||
* @param {string} id Github gist ID.
|
||||
* @param {string} id GitHub gist ID.
|
||||
* @returns {Promise<GistData>} Gist data.
|
||||
*/
|
||||
const fetchGist = async (id) => {
|
||||
|
||||
@@ -105,7 +105,7 @@ const fetcher = (variables, token) => {
|
||||
* Fetch stats information for a given username.
|
||||
*
|
||||
* @param {object} variables Fetcher variables.
|
||||
* @param {string} variables.username Github username.
|
||||
* @param {string} variables.username GitHub username.
|
||||
* @param {boolean} variables.includeMergedPullRequests Include merged pull requests.
|
||||
* @param {boolean} variables.includeDiscussions Include discussions.
|
||||
* @param {boolean} variables.includeDiscussionsAnswers Include discussions answers.
|
||||
|
||||
Reference in New Issue
Block a user