I understand that you want to know about the underlying technologies used by Matlab Documentation.
The underlying technology uses HTML. If you have created a custom toolbox that works with MathWorks products, you can create HTML files to provide documentation. These files would enable you to insert diagrams, screen shots, figures and equations, in order to make your toolbox more usable.
In addition, you should create a “info.xml” file to enable MathWorks to find and identify your documentation and a “helptoc.xml file” to create a “table of contents” for all topics in your custom toolbox. The detailed description of the process is given at the following link:
If you want to know about the detailed infrastructure used by the documentation, I would recommend that you contact the MathWorks Technical Support at the following link: