Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow HTML in the copyright message #603

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jdillard
Copy link

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
Copy link
Owner

pradyunsg commented Dec 25, 2022

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.

@pradyunsg pradyunsg added the configuration Affects one or more configurable behaviours label Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configuration Affects one or more configurable behaviours
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants