ComPWA / gluex-nstar

Investigation of N* (and K*) in GlueX photoproduction experiment
https://compwa.github.io/gluex-nstar
MIT License
2 stars 0 forks source link

Add html theme #10

Closed shenvitor closed 1 month ago

shenvitor commented 1 month ago

As the title says.

redeboer commented 1 month ago

Before switching between themes too frequently, it's better to decide on one theme. I would use either

The latter has the advantages that it works best with myst-nb as it is developed by the same group. Note that sphinx-book-theme is just wraps pydata-sphinx-theme, so using a subset is fine as well.

shenvitor commented 1 month ago

Layout can be modified in the future. https://pydata-sphinx-theme.readthedocs.io/en/stable/user_guide/layout.html#header-navigation-bar

Looks nice 😏 Approved 🔥

Just a thought though: it seems that pydata puts each page on the top navigation bar, which isn't really scalable (you can't scroll horizontally). I sure it's possible to move them to the sidebar, so we can look at that once there are more notebooks. (This is incidentally why I prefer sphinx-book-theme — it has some convenience settings that make it easier to move the pages between sidebar and navbar.)

image