-
Couldn't load subscription status.
- Fork 81
Fixed path to search icon #2160
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Search icon still not visible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/images/icons.svg works thanks to a 302 redirect https://doc.ibexa.co/images/icons.svg → https://doc.ibexa.co/en/master/images/icons.svg (tested with curl -IL "https://doc.ibexa.co/images/icons.svg")
Notice: It doesn't work on the PR preview build where it ends with a 404 because of the way those builds are made without a proper master version. But it should work in production.
|
A more proper solution, from https://www.mkdocs.org/user-guide/customizing-your-theme/, would be to Edit: I do not like duplicats. The probleme is that this file is used from both theme and content… |
|
I can confirm that with this approach, the icon is visible on all pages. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It now also works on PR build thanks to {{ base_url }} outputing relative paths.
For example, https://ez-systems-developer-documentation--2160.com.readthedocs.build/en/2160/getting_started/getting_started/ got <use xlink:href="../../images/icons.svg#search"></use>.
Use {{ base_url }} for propoer path on subpages.
---------
Co-authored-by: Adam Wójs <211967+adamwojs@users.noreply.github.com>
Co-authored-by: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com>
(cherry picked from commit 2e475a4)
Use {{ base_url }} for propoer path on subpages.
---------
Co-authored-by: Adam Wójs <211967+adamwojs@users.noreply.github.com>
Co-authored-by: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com>
(cherry picked from commit 2e475a4)
Use {{ base_url }} for propoer path on subpages.
---------
Co-authored-by: Adam Wójs <211967+adamwojs@users.noreply.github.com>
Co-authored-by: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com>
(cherry picked from commit 2e475a4)
ibexa/documentation-developer#2160 (cherry picked from commit e483049)
ibexa/documentation-developer#2160 (cherry picked from commit e483049)
ibexa/documentation-developer#2160 (cherry picked from commit e483049)

Fixed missing search icon on subpages:
Checklist