-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
You guys support pydata, but sphinx-book-theme is a very popular fork (many enterprise folks use it, including Unreal Engine docs) - would love to see official support.
Our [source-available] docs for Xsolla Backend at https://docs.goxbe.io also use this theme.
Would love to see official support! In Sphinx 8, here's what we currently do to make it work:
-
Fix this breaking bug: Breaking: Frontend UI poof bug #60
-
Add a
algoliaDocSearchSphinxBookThemeSupport.css
to adjust container z-index and ensure the theme search is hidden:
/*
##################################################################################
- Initial template suggestion from yafimvo @
https://github.com/jupyter-book/jupyter-book/issues/1324#issuecomment-1512757574
##################################################################################
*/
/* -- sphinx-book-theme Support --------------------------------------------------- */
/* Hide the old theme's (!Algolia's) search wrapper window when hitting Ctrl+K */
.search-button__wrapper, #search-input {
display: none !important;
}
/* Make sure Algolia's search container is always on top */
.DocSearch.DocSearch-Container {
z-index: 10000;
}
That's pretty much it, iirc!
kai687
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request