Skip to content

Feat Request: sphinx-book-theme (pydata fork) #62

@dylanh724

Description

@dylanh724

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:

  1. Fix this breaking bug: Breaking: Frontend UI poof bug #60

  2. 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions