pradyunsg / furo

A clean customizable documentation theme for Sphinx
https://pradyunsg.me/furo/quickstart
MIT License
2.69k stars 309 forks source link

Allow HTML in the copyright message #603

Open jdillard opened 1 year ago

jdillard commented 1 year ago

It would be nice to allow HTML in the copyright so that you can link to a website, like so:

copyright = "<a href=\"https://jareddillard.com\">Jared Dillard</a>"

Screenshot from 2022-12-22 23-00-44

I don't know if this creates a security risk by using safe, but if it does I think you'd have to try and shoot yourself in the foot. I'm also not sure if docs of some kind should be added to point out that use can use HTML (carefully).

pradyunsg commented 1 year ago

Thanks for this PR!

The tricky problem with doing this is that... well... this is not what other Sphinx themes do and people use name <email> style fairly often.