Uwe, No its not a problem to have both index.html and additionalDetails.html The NiFi framework generates nearly all of the documentation for your processor for you. It will generate information about the properties and relationships your processor exposes to its users. If you need to express more about your processor, then that is where additionalDetails.html comes into play. For example, if your processor uses a custom query language.
Generated index.html example: https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.attributes.UpdateAttribute/index.html additionalDetails.html example: https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.attributes.UpdateAttribute/additionalDetails.html On Fri, Mar 18, 2016 at 10:54 AM Uwe Geercken <uwe.geerc...@web.de> wrote: > Bryan, > > all looks ok. I looked into the nifi-home/work/docs folder. There is > nothing but a components folder. Inside there is a folder for my processor: > com.datamelt.nifi.test.TemplateProcessor and inside the folder there is a > file index.html and it contains the code of my additionalDetails.html file. > > when I open the file in the web browser it looks good. I looked at other > index.html files and they look similar. > > but I noted that some folders have an inde.html file AND an > additionalDetails.html file. maybe that is the problem? > > greetings, > > Uwe > > > > Gesendet: Freitag, 18. März 2016 um 16:18 Uhr > Von: "Bryan Bende" <bbe...@gmail.com> > An: dev@nifi.apache.org > Betreff: Re: Processor additional documentation > Hi Uwe, > > Do you have the additionalDetails.html file in your processors jar project, > under src/main/resources? > > Similar to this: > > https://github.com/apache/nifi/tree/master/nifi-nar-bundles/nifi-solr-bundle/nifi-solr-processors/src/main/resources > > The expected project structure is described here: > > https://cwiki.apache.org/confluence/display/NIFI/Maven+Projects+for+Extensions#MavenProjectsforExtensions-ExampleProcessorBundleStructure[https://cwiki.apache.org/confluence/display/NIFI/Maven+Projects+for+Extensions#MavenProjectsforExtensions-ExampleProcessorBundleStructure] > <https://cwiki.apache.org/confluence/display/NIFI/Maven+Projects+for+Extensions#MavenProjectsforExtensions-ExampleProcessorBundleStructure[https://cwiki.apache.org/confluence/display/NIFI/Maven+Projects+for+Extensions%23MavenProjectsforExtensions-ExampleProcessorBundleStructure]> > > If you think that part is setup correctly, can you check under > nifi_home/work/docs and see if com.datamelt.nifi.test.TemplateProcessor is > there? > > -Bryan > > On Fri, Mar 18, 2016 at 11:04 AM, Uwe Geercken <uwe.geerc...@web.de> > wrote: > > > > > Hello, > > > > I am writing my first processor. As described in the documentation, I > have > > added an HTML file to be used when the user selects "Usage": > > > > docs/com.datamelt.nifi.test.TemplateProcessor/additionalDetails.html > > > > This is located in the root or the Processors nar file. > > > > The processor class is this: > > > > com/datamelt/nifi/test/TemplateProcessor.class > > > > The processor works, but selecting "Usage" won't show my HTML file. > > > > I understood that I write the HTML file and Nifi will picks it up when it > > starts. Or is this not true? > > > > Thanks for feedback, > > > > Uwe > > >