Skip to content

Conversation

lorenzovngl
Copy link
Contributor

This pull requrest is related to #48790. These changes revert the directive, that don't work as expected and causes a code leak on the web page, to use a different image depending on the theme used:

I can't figured out how to solve it, so I restored a previous version of the file (see Commits tab) and I will open an issue about this problem.

@lorenzovngl lorenzovngl mentioned this pull request Oct 4, 2022
1 task
@mroeschke mroeschke added the Web pandas website label Oct 4, 2022
@mroeschke mroeschke added this to the 1.5.1 milestone Oct 4, 2022
Copy link
Member

@datapythonista datapythonista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks @lorenzovngl

I think the original problem is that the :class: directive is for :image: directives in the pydata sphinx theme. But this is a :img-top: element from sphinx panels if I'm not wrong: https://sphinx-panels.readthedocs.io/en/latest/#card-layout

Not sure if classes can be specified for them, I see some elements of sphinx panels use :classes:, but since the error is that the directive is just rendered, I wonder is any subdirective will work at all.

I guess if no other solution seems reasonable, we can also make the SAS word gray.

But for now let's just revert to this, thanks for this PR.

@datapythonista datapythonista added Bug Docs and removed Web pandas website labels Oct 5, 2022
@datapythonista datapythonista changed the title WEB: reverted directive for SAS logo white DOC: reverted directive for SAS logo white Oct 5, 2022
@mroeschke
Copy link
Member

Thanks @lorenzovngl

phofl pushed a commit that referenced this pull request Oct 5, 2022
…ogo white) (#48960)

Backport PR #48935: DOC: reverted directive for SAS logo white

Co-authored-by: Lorenzo Vainigli <[email protected]>
noatamir pushed a commit to noatamir/pandas that referenced this pull request Nov 9, 2022
WEB: reverted directive for SAS logo white
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants