quantecon-book-theme icon indicating copy to clipboard operation
quantecon-book-theme copied to clipboard

Add GitHub stars badge to sites

Open mmcky opened this issue 4 years ago • 3 comments

@jstac mentions the GitHub stars badge on the julia site

https://julialang.org/downloads/

Perhaps we should add them to our lecture series:

  • [ ] QuantEcon.py
  • [ ] QuantEcon.jl
  • [ ] lecture sites

If we don't want to have the count displayed, but want people to be able to watch or star a site we could use

https://buttons.github.io

to generate the code and add it to the themes.

mmcky avatar Jun 29 '20 00:06 mmcky

Thanks @mmcky . I don't mind to have the count displayed, even if it's low :-)

jstac avatar Jun 29 '20 01:06 jstac

@DrDrij @AakashGfude would there be an easy way to add this to the theme (perhaps on the RHS under the logo and powered by jupyterbook text.

image

mmcky avatar Jan 29 '24 02:01 mmcky

Example:

The format would be:

https://badgen.net/github/stars/[org-name]/[repo-name]

eg. <img src="https://badgen.net/github/stars/quantecon/quantecon-book-theme">

(perhaps wrap it in a Paragraph element) <p><img src="https://badgen.net/github/stars/quantecon/quantecon-book-theme" /></p>

DrDrij avatar Jan 29 '24 11:01 DrDrij