New documentation theme #320
Replies: 3 comments 4 replies
-
@dantownsend I also like the current theme, but if you plan to change the theme, I like Furo the most. I tried on the Piccolo API documentation and just changed this in html_theme = "furo"
pygments_style = "monokai"
pygments_dark_style = "monokai" and result is very nice. |
Beta Was this translation helpful? Give feedback.
-
@sinisaos I've been on a journey of discovery this week, learning as much as possible about documentation and Sphinx. The culmination is this custom Piccolo theme: https://github.com/piccolo-orm/piccolo_theme It will be used for all Piccolo projects moving forward. It's just version 0.1 so we can continue to improve it, but I'm excited about it. What do you think? |
Beta Was this translation helpful? Give feedback.
-
The new theme is now live for Piccolo: https://piccolo-orm.readthedocs.io/en/latest/index.html Hopefully people like it! |
Beta Was this translation helpful? Give feedback.
-
I've been looking at alternative themes for Sphinx.
Sphinx Material:
Pydata:
Furo:
And here's the original for reference, using the Read the Docs theme:
Furo seems to be the best maintained, but people I've asked prefer the look of Sphinx Material slightly more.
The reason I originally chose Sphinx was the ability to auto generate API docs. I'm a big fan of this approach, as it means that people browsing the code have useful docstrings to read. MKDocs didn't historically support this, but it now seems possible via a plugin.
Moving over to MKDocs would be quite a bit of work. I wouldn't even consider it, except that the Material for MKDocs theme is so good. One approach might be to convert all of the Piccolo projects to use Sphinx Material, and try moving one of the smaller projects (like Piccolo Admin or Targ) to use MKDocs.
Does anyone have any thoughts on this? Should we change, or just keep what we have?
Beta Was this translation helpful? Give feedback.
All reactions