Can I customize XmlElementDescriptorProvider or override the default HTML document?

I want to display the document better, I have been researching this in recent days,
I made a lot of attempts and a lot of debugging, and I didn't find a solution.
Maybe customizing [XmlElementDescriptorProvider # getDescriptor] is an absolute solution,
But I don't know how to construct the correct [XmlElementDescriptor], can I provide some help?
[AbstractDocumentationProvider # generateDoc] Unable to override documents with standard HTML tags,
The strange thing is that my tag is "Form", html is "form", and the capitalization is different, but in your ide, judge "Form = form", I think this should not be a bug.
Hope you can tell me the correct way to deal with it, thank you very much!

0

Please link your full sources of your plugin

0
Avatar
Permanently deleted user

Hello, I'm glad you can help me, this is my project address: https://github.com/arranapl/apl-frontend-ide-plugin .

The main function of my plugin is to implement code generation by interfacing with the swagger interface, and quick documentation is an additional function.
Currently it is an internal attempt of the company. If it is stable, it will be considered for public use.
Because of my programming time period and inexperience, the code is not very neat, but I recently read some books about coding rules and design patterns, and I will refactor later.
Well, these might be a bunch of nonsense, here are the locations of some files:

Documentation related packages:

src/main/java/documentation

It mainly parses some documents of custom XML:

src/main/resources/template/.ignore/doc/component.xml

There are some temporary files and some unused references have not been deleted, because I plan to clean up after the function is fully implemented, you can ignore it, sorry.

Please feel free to contact me if you encounter any problems, thank you very much

 

 

 

 

0

I'm afraid but the GH project is not compilable for me. Please provide exact step-by-step instruction of how to create test project situation, what should happen and what doesn't.

0

请先登录再写评论。