We need allow the ability to fully encapsulate Docsify features and state.
With encapsulation, it will be possible later on to mount any number of Docsify instances anywhere in a web site, as well as become possible to wrap Docsify as a React/Vue/Svelte/etc component that can be used in any framework.
Encapsulation changes:
We need allow the ability to fully encapsulate Docsify features and state.
With encapsulation, it will be possible later on to mount any number of
Docsifyinstances anywhere in a web site, as well as become possible to wrapDocsifyas a React/Vue/Svelte/etc component that can be used in any framework.Encapsulation changes:
Docsifyinstance's route changes, so that they can be mapped to the address bar in a custom way. Also allow setting Docsify's route from outside, so that a website managing multiple instances can "paginate" Docsify manually.Docsifyclass. Some of this this in Simplify and modernize Docsify #2104 in the items where we're bringing some functions into the classes as private methods.