The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"[SOLVED] How to create documentation for extension"
Hello,
how can I create documentation for operators in our extension including tutorial process? I know equivalent to com.rapidminer.resources.i18n.OperatorsCoreDocumentation.xml and wiki.rapid-i.com, but there is net defined tutorial process. And do you have some automatic generator for wiki pages?
Thanks for tips.
Best,
Vaclav
how can I create documentation for operators in our extension including tutorial process? I know equivalent to com.rapidminer.resources.i18n.OperatorsCoreDocumentation.xml and wiki.rapid-i.com, but there is net defined tutorial process. And do you have some automatic generator for wiki pages?
Thanks for tips.
Best,
Vaclav
Tagged:
0
Answers
yes we have changed our mechanism for operator documentation and this is currently not documented very well.
Here is how it works for extensions:
First you have to create a folder with your extensions namespace in your resources folder (the namespace of your extension can be found in the build.xml property extension.namespace). For the Text Mining extension it would be a folder called 'text'.
Then you can create a XML file for each operator you want to document. The schema of the XML file is defined here: http://rapid-i.com/schemas/documentation/reference/1.0/documentation.xsd
The XML file for an operator should have the name of the key which is used to register the operator in the Operators.xml file and should be placed in a folder hierarchy which maps the hierarchy of the operators tree.
The create_document operator from the Text Mining extensions needs a XML file called create_document.xml which is placed at resources/text/Text Processing/create_document.xml.
I hope this helps,
Nils
yes, this helps. Than you.
Best,
Vaclav
it works, I was able to add a process example to an operator. But I have one more question. Can I generate description of operator parameters somehow automatically or have to write it manually?
Thanks for advice.
Best,
Vaclav
I'm afraid but at the moment there is no script to generate a template XML for every of your extensions' operators.
But we would appreciate any input for on this topic :-)
Best,
Nils
Can you post here example documentation for one operator, so I could create exactly same template? I mean with emphasis etc.
Thank you.
Vaclav
one last thing.
There is problem with showing the image icon in the documentation:
I think this should be added automatically.
Best,
Vaclav
Best,
Nils
thank you. I forgot the ''%NAMESPACE:' part.
Best,
Vaclav