18/07/2019 16:59, Chautru, Nicolas:
> From: Thomas Monjalon [mailto:[email protected]] 
> >18/07/2019 15:33, Chautru, Nicolas:
> >> From: Thomas Monjalon [mailto:[email protected]]
> >> >Anyway all the documentation about the API details should be removed.
> >> >The guide is expected to give an understanding of the whole design, not 
> >> >replacing the details maintained in the doxygen comments.
> >> 
> >> Thanks Thomas. 
> >> These tables are arguably useful on that page with the related contextual 
> >> verbose information aside which provide more context usage. Still I am 
> >> reformatting into simpler table structure. 
> >> I have just pushed a parallel patch here : 
> >> https://patches.dpdk.org/patch/56715/
> >
> >Sorry, I am not sure to understand.
> >You want to keep all this information?
> 
> I would rather yes. I can see your point with some redundancy between code 
> and documentation, but the bbdev.rst documentation is arguably clearer as it 
> is : the detailed information in paragraphs puts into context some of the 
> information captured in a nice and concise table. Clearer than having to go 
> back and forth in doxygen capturing some of this in a less compact format 
> (which still has its own complementary value). Matter of opinion, let me know 
> if you have a fundamental concern with keeping such table in that document. 

I am not sure it is clearer to document all parameters in rst.

The main concern is about maintainability.
When we change something in the code, we change the doxygen
and we forget the rst guide.

The other concern is that maybe the doxygen is not complete.

My advice is to reference the doxygen when the information is the same.


Reply via email to