2016-09-16 15:51 GMT+02:00 Damien Pollet <damien.pol...@gmail.com>: > On 16 September 2016 at 15:35, Thierry Goubier <thierry.goub...@gmail.com> > wrote: > >> Could we have a Pillar-way of organizing comments so that, based on >> sections, one could automatically find, from a book-like comment of the >> package or the class, which section applies to a given method? > > > I guess it's like any cross-referencing or indexing system… I'm guessing a > purely automatic system would find irrelevant matches and miss related > stuff, so it would need some human-added hints. But no one can reasonably > go through the cross-product of docs and code, adding hints, so that would > need to be crowdsourced and aggregated, a bit like the QA critiques. >
If one could, in a Pillar doc of a package, unify the packa > > I'll leave this link to the Django docs: https://docs. > djangoproject.com/en/1.10/ > I recently watched a talk from I think the Django lead who was explaining > the different kinds of docs (tutorials, howtos, topic guides, and > reference). Package/class/method comments would be reference doc, but would > need to cross-ref with any other docs too… > > -- > Damien Pollet > type less, do more [ | ] http://people.untyped.org/damien.pollet >