-
Notifications
You must be signed in to change notification settings - Fork 203
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
Add icon links to header #833
Comments
+1 |
@RemDelaporteMathurin We can do this ourselves by adding to the theme configuration the following: html_theme = "sphinx_book_theme"
html_theme_options = {
'icon_links': [
{
'name': 'PyPI',
'url': 'https://pypi.org/project/jupyterhub-ai-gateway',
'icon': 'fab fa-python',
},
],
"article_header_end": [
"navbar-icon-links",
"article-header-buttons",
],
}
html_sidebars = {
"**": [
"navbar-logo",
"search-button-field",
"sbt-sidebar-nav",
],
} |
This works! Thank you very much @danilopeixoto !! 🚀 |
Thanks @danilopeixoto ! It did align there and set the initial color, but hovering will be very different than the gitlab icon: I'm having trouble finding the CSS for it; any tips? |
Yes we also noticed it in festim-dev/FESTIM#919 |
It's strange since there hasn't been an official update in a half a year. It seems like someone force pushed a new patch? I don't know, but see related issue above for full workarounds |
Hi all,
Thanks for this very good theme!
I would like to add a link to our discourse page next to the repository, download, full screen and dark mode buttons.
Unfortunately, I've only been able to add it to the sidebar following the documentation.
Is there anyway to move this icon link there?
Thanks!
My conf.py
html_theme_options
The text was updated successfully, but these errors were encountered: