Fixes carousel navigation issue on docs landing page (#216) #217
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Description
This PR fixes the broken carousel on the NeuroML documentation landing page, where only a single image was displayed even though multiple carousel items and navigation controls were defined.
Root Cause of the Issue
The carousel was not functioning correctly due to Bootstrap version mismatches and configuration issues, including:
data-ride,data-target,data-slide,data-slide-to) in a documentation setup that relies on Bootstrap 5Fix Implemented
The following corrections were made to ensure compatibility with Bootstrap 5 and restore proper carousel functionality:
Replaced deprecated Bootstrap 4 attributes with Bootstrap 5 equivalents:
data-ride→data-bs-ridedata-target→data-bs-targetdata-slide→data-bs-slidedata-slide-to→data-bs-slide-toUpdated the carousel indicators to correctly match all five carousel items
Verified that previous/next navigation controls function correctly
Confirmed that all images render and cycle as expected on the landing page
These changes restore the intended carousel behavior on the NeuroML documentation home page. Please let me know if any changes or suggestions are needed; I will be happy to follow them. Thank you.
Fixes #216
Output
Screen.Recording.2026-01-05.012027.mp4