data-hazards icon indicating copy to clipboard operation
data-hazards copied to clipboard

Update Sphinx panels to Sphinx design

Open ninadicara opened this issue 2 years ago • 2 comments

Sphinx panels (which we use to display the labels) is no longer supported and has been migrated to Sphinx Design. Sphinx Panels requires Sphinx < 5.0 but current version is 6.0 so it is preventing us updating generally too.

A migration guide for this is available here: https://sphinx-design.readthedocs.io/en/latest/get_started.html#migrating-from-sphinx-panels

Looks like it now uses more typical bootstrap type syntax and grid.

We should probably do this because I think it will be easier to customise the CSS so that the background colours of the panels are custom, maybe also rich text (#110), and alt-text #14.

ninadicara avatar Dec 06 '22 08:12 ninadicara

Also:

  • [ ] Check if the requirements file is up to date after this change.

NatalieZelenka avatar Dec 07 '22 09:12 NatalieZelenka

This issue may also allow us to finally fix the alt-text on the summary page of Hazards #14

ninadicara avatar Mar 26 '23 23:03 ninadicara

Closed by PR #201

ninadicara avatar May 30 '24 13:05 ninadicara