plone / documentation

Plone Documentation
https://docs.plone.org
90 stars 153 forks source link

Create or reuse a Sphinx theme package for Plone 6 Documentation? #1491

Open stevepiercy opened 1 year ago

stevepiercy commented 1 year ago

Plone Documentation versions affected

Description

There are at least a dozen packages that use various themes for publishing their documentation. Plone 6 Documentation uses a lightly customized theme of Sphinx Book Theme, which in turn is based on PyData Sphinx Theme, and sharing these modifications across all packages is not maintainable.

To remedy this situation, we should create a new theme named plone-sphinx-theme. It would have tests that check functionality, display, and layout, using the similar test suites from the parent themes.

There exists a Sphinx theme repository in the Plone organization already, but it might not be the best fit going forward.

Refs:

polyester commented 1 year ago

Create a new one. Sphinxtheme.plone has the ones for the 5, 4 and 3 versions of the docs, and is on palliative care by me to keep it running and cludgel in things like version drop-downs to the current version. Having a completely different theme in there in a branch is just a recipe for brain melt

stevepiercy commented 11 months ago

See https://github.com/plone/plone-sphinx-theme