-
Hey We're using mkdocs-material for our opensource project to-be-continuous:
But so far we didn't find any proper way of adapting the mkdocs-material/src/assets/javascripts/components/source/facts/github/index.ts function to retrieve the Git repo stats (stars, forks, latest tag) from the right repository (b.t.w. I don't even know which repo stats it is currently displaying 😅) Any idea how to deal with it? Thanks for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @pismy, You can delete the cache value from the sessionStorage and you'll see it will update the stars according to the link set in the The However, modifying the TypeScript would require you to do a rebuild of the theme and future maintenance. One alternative could be to set up your own Another alternative could be using a hook and modify the final minified
As a side note, you can define variables in the |
Beta Was this translation helpful? Give feedback.
Works like charm ! (navigate around templates)
I didn't even have to override
extra.js
(everything is done in thesource
component)