DITA Bootstrap v6 - #103
Draft
jason-fox wants to merge 7 commits into
Draft
Conversation
jason-fox
marked this pull request as draft
August 1, 2026 11:58
Collaborator
Author
|
There is an issue with the |
aprecup14
reviewed
Aug 24, 2026
| ```console | ||
| dita install fox.jason.extend.css | ||
| dita install org.dita-bootstrap.html | ||
| dita install org.dita-bootstrap.lunr |
There was a problem hiding this comment.
Is this the correct dita-ot plugin name? Looking at the dita-ot plugin registry, it should be net.infotexture.dita-bootstrap.lunr. Sorry if I'm misunderstanding something. Thanks :)
Collaborator
Author
There was a problem hiding this comment.
org.dita-bootstrap.lunr is an updated plugin name now that this repository lies in its own organisation. net.infotexture.dita-bootstrap.lunr is the old name and location. I've just raised a PR to alias it - dita-ot/registry#175
So yes net.infotexture.dita-bootstrap.lunr works with the registry today, but both should work going forward.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The
v6branch modifies the Lunr offline search plugin to integrate the search layout and result rendering with the new Bootstrap 6 components, transitioning from modals to native dialogs and updating color/layout classes.1. Native
<dialog>Integration for Search ResultsThe search results box has been completely overhauled to use the native HTML5
<dialog>component instead of custom modal mockups:<dialog>element using the Bootstrap 6 dialog utility classes:<dialog class="dialog-lg dialog dialog-scrollable" id="searchDialog">.modal-header/.modal-bodyto.dialog-header/.dialog-body.data-bs-dismiss="dialog".Dialogclass from Bootstrap and instantiated it to trigger the search box programmatically:2. Navigation Markup Updates (Bootstrap 6 Layouts)
The navigation headers packaged for search compatibility have been adapted to the new Bootstrap 6 component classes and layout rules:
.dropdown-menu/.dropdown-itemstructure to the new Bootstrap 6 Menu system:data-bs-toggle="dropdown"data-bs-toggle="menu".dropdown-menu.menu.dropdown-item.menu-itemdata-bs-toggle="drawer"instead of the previous offcanvas/collapse indicators.d-none lg:d-flexinstead ofd-none d-lg-flex, and2xl:containerinstead ofcontainer-2xl).