Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Sphinx panels to Sphinx design #158

Closed
ninadicara opened this issue Dec 6, 2022 · 3 comments
Closed

Update Sphinx panels to Sphinx design #158

ninadicara opened this issue Dec 6, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request website

Comments

@ninadicara
Copy link
Contributor

ninadicara commented Dec 6, 2022

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 ninadicara added enhancement New feature or request website labels Dec 6, 2022
@ninadicara ninadicara changed the title Update Sphinx panels to Shinx design Update Sphinx panels to Sphinx design Dec 6, 2022
@NatalieZelenka
Copy link
Contributor

Also:

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

@ninadicara
Copy link
Contributor Author

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

@ninadicara ninadicara mentioned this issue Mar 26, 2023
3 tasks
@ninadicara
Copy link
Contributor Author

Closed by PR #201

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request website
Projects
None yet
Development

No branches or pull requests

2 participants