pymc icon indicating copy to clipboard operation
pymc copied to clipboard

logo link no longer points to www.pymc.io

Open OriolAbril opened this issue 2 years ago • 2 comments

we use logo_link to make clicking on the logo go to www.pymc.io instead of the build based homepage (learn for versioned docs and gallery for pymc-examples). This no longer works with the new version of the theme, it should now use a different way to set this as explained in https://pydata-sphinx-theme.readthedocs.io/en/latest/user_guide/branding.html#customize-logo-link. The same thing probably happens over at pymc-examples but I haven't checked nor opened an issue (at least so far). Ideally fixing this would mean checking pymc-examples and making 1-2 prs on both repos, otherwise, please open an issue on pymc-examples to track this

OriolAbril avatar Aug 17 '22 11:08 OriolAbril

I can have a go at this!

rowan-schaefer avatar Aug 19 '22 00:08 rowan-schaefer

Thanks!

OriolAbril avatar Aug 19 '22 06:08 OriolAbril

I changed

"logo_link": "https://www.pymc.io",

(line 259 from https://github.com/pymc-devs/pymc/blob/f3ac08b96641a418569f8423a68c44e22cfc483e/docs/source/conf.py) to

    "logo": {
        "link": "https://pymc.io",
        },

which didn't seem to work.

The logo from my generated HTML point to http://[::]:8000/https%3A//www.pymc.io.html after this code fix. I attempted variants of https://pymc.io for the purposes of testing, but all of them produced a similar, relative URL-link (as opposed to an absolute-link). I'm unsure why this is the case. Could this be from Sphinx's end?

hdnl avatar Oct 04 '22 08:10 hdnl

There is a bug in the latest release of the sphinx theme we use (0.10.1) which has already been fixed and release 0.11.0 will probably be released in the coming days (multiple release candidates have been released already). I would recommend already opening a draft PR and triggering a rebuild once the next release for the theme is out. The fix should happen in both pymc and pymc-examples repo.

Note: https://pymc.io is not a valid link, not sure why but the www part is necessary.

OriolAbril avatar Oct 05 '22 15:10 OriolAbril

I have fixed the issue for pymc-examples in https://github.com/pymc-devs/pymc/issues/6054. Same thing still needs to happen in pymc repo though. @hdnl or @rowangayleschaefer, will any of you be able to do that?

OriolAbril avatar Oct 10 '22 21:10 OriolAbril

I can -- give me about ~24 hours.

hdnl avatar Oct 10 '22 21:10 hdnl

Closed by #6209

michaelosthege avatar Nov 19 '22 14:11 michaelosthege