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

[🐛 Bug]: Broken logo image on Python API docs #15501

Open
cgoldberg opened this issue Mar 24, 2025 · 2 comments
Open

[🐛 Bug]: Broken logo image on Python API docs #15501

cgoldberg opened this issue Mar 24, 2025 · 2 comments
Labels
C-py Python Bindings I-defect Something is not working as intended

Comments

@cgoldberg
Copy link
Contributor

What happened?

The Selenium logo isn't showing on the Python API docs for 4.30: https://www.selenium.dev/selenium/docs/api/py/api.html

There is supposed to be a logo in the upper left corner of the sidebar. It does not appear when viewing the docs. When I view them on Chrome mobile, I see a broken image icon. On Chrome desktop, I just see nothing.

The logo is configured via: https://github.com/SeleniumHQ/selenium/blob/trunk/py/docs/source/conf.py#L120

It works correctly when I build the docs locally, but is missing from the published docs.

(I caused this bug when I added the logo in my last docs update... sorry!)

How can we reproduce the issue?

View the Python API docs online.

Relevant log output

N/A

Operating System

Any

Selenium version

4.30

What are the browser(s) and version(s) where you see this issue?

Any

What are the browser driver(s) and version(s) where you see this issue?

N/A

Are you using Selenium Grid?

N/A

@cgoldberg cgoldberg added C-py Python Bindings I-defect Something is not working as intended labels Mar 24, 2025
@NirooRuby
Copy link

I am not sure it will help but try to explicitly include the _static directory modify the html_static_path = ['_static'], This ensures that the Sphinx documentation generator recognizes _static as a valid directory.

@cgoldberg
Copy link
Contributor Author

@NirooRuby it actually works fine when I generate the docs locally. It has something to do with what gets published, but I haven't had time to look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-py Python Bindings I-defect Something is not working as intended
Projects
None yet
Development

No branches or pull requests

2 participants