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

Fix handling of local paths in html_logo/html_favicon directorives in conf.py #9440

Merged
merged 1 commit into from Jul 13, 2021

Conversation

tronical
Copy link
Contributor

Merge request #9381 broke support for local logos/favicons as it
retained the paths that are passed to the template engine. That's wrong
as the actual path will be in _static/.

This should fix #9438

Copy link
Member

@tk0miya tk0miya left a comment

Choose a reason for hiding this comment

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

LGTM. But this should be rebased onto 4.1.x branch. Could you update this please? Then, I'll merge this soon.

@tronical
Copy link
Contributor Author

LGTM. But this should be rebased onto 4.1.x branch. Could you update this please? Then, I'll merge this soon.

Sure! Well, hmm, it seems that it's already on 4.1.x:

$ git rev-parse origin/4.1.x
3c3a734b97c99a9f2b32bd33f7b98921d9da294f
$ git rebase origin/4.1.x
Current branch logo-regression-fix is up to date.

I think I may have accidentally just set the target branch incorrectly on this merge request %-)

@tk0miya
Copy link
Member

tk0miya commented Jul 13, 2021

This PR contains the CHANGES entry for 4.2.0. I guess you created a commit on the 4.x branch.
Could you try the following command?

$ git rebase 4.x --onto 4.1.x

Thanks,

… conf.py

Merge request sphinx-doc#9381 broke support for local logos/favicons as it
retained the paths that are passed to the template engine. That's wrong
as the actual path will be in _static/.

This should fix sphinx-doc#9438
@tronical
Copy link
Contributor Author

Ooops, indeed, that explains it. Ok, rebased and force-pushed. I hope it's correct now :)

@tk0miya
Copy link
Member

tk0miya commented Jul 13, 2021

Thank you for quick update!

@tk0miya tk0miya merged commit 63001f3 into sphinx-doc:4.1.x Jul 13, 2021
tk0miya added a commit that referenced this pull request Jul 13, 2021
@tronical tronical deleted the logo-regression-fix branch July 13, 2021 17:19
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4.1.0 regression: HTML logo or Favicon specified as file not being found on output
2 participants