Adapting furo for jupyter-book #605
Replies: 3 comments 2 replies
-
To answer the question: Yes, I think it'd be interesting to make changes on Furo's end for a better jupyter-book story. Now, let me elaborate on the caveats around that. :) I've said this elsewhere -- the vague intent with Furo is to be really good with the 80%, and leave covering the 20% to other more... generously scoped projects. That leads to the general idea that Furo should not have too many knobs. For example, Furo's configuration options are intentionally really light -- the intent is for Furo to not try and cover every usecase (that's very different from both pydata-sphinx-theme and sphinx-book-theme). This includes the omission of a top bar -- adding a navbar means an additional layer of configurability and user-extension point, which I definitely see value in, but isn't what I want Furo to try and cover. The default configuration for That said, I do think there's actionable bits here that I'll try to list in a follow up comment. |
Beta Was this translation helpful? Give feedback.
-
Could you share a sample repository and instructions for how to build a jupyter-book site with Furo? I don't have much hands-on experience with jupyter-book, and having something working would be useful to figure out what the status quo is. 😅 (thanks for the screenshot though -- that gets me most of the way in getting a sense of what the issues are!) |
Beta Was this translation helpful? Give feedback.
-
Here's the bits that I can already see here that are actionable:
|
Beta Was this translation helpful? Give feedback.
-
I think jupyter-book is a great library to easily organise a series of notebooks into a user-friendly website.
I just tried generating one such jupyter-book using
furo
. While the generated site looks okayish, a lot of important features of jupyter-books are missing, which I think is caused by the fact thatfuro
doesn't handle theme options thatjupyter-book
expects to find:In particular, the navbar containing buttons to download the current notebook is not there.
Moreover, the look and feel of generated pages is not really furo-like. For instance, code blocks generally look greenish from another theme.
![Screenshot from 2022-12-25 21-17-26](https://user-images.githubusercontent.com/13835654/209481225-a048adea-9a51-4c04-9a2f-658e09408b7d.png)
I think it'd be interesting to add features to
furo
so that it becomes compatible withjupyter-book
, what do you think? 😊Beta Was this translation helpful? Give feedback.
All reactions