Menu

Multiple items in a subsection

2007-01-05
2013-04-23
  • Brett Nemeroff

    Brett Nemeroff - 2007-01-05

    Hope I'm not wearing out my welcome with a bunch of questions at once! :o

    So when I do a header like:
    /****f* Section/Subsection

    That makes the function a section to itself.

    I'd like to then be able to document the variables as part of the same section. However, the only way I know how to do this would be to:
    /****v* Section/ThisVariable

    Also, what makes the links in the source work? Is it the Section/Subsection Definition? Or a "NAME" tag?

    Thanks!
    -Brett

     
    • Thuffir

      Thuffir - 2007-01-08

      If you define a header (/****f* Section/Subsection) it will appear as a section or even a separate file (--one_file_per_header).
      If you wish to document multiple objects in one header you can assign multiple names to one header, altough they will have the same header type. (/****f* Section/Subsection1, Subsection2)

      In your example you could use the hiearchy feature of robodoc to assign the variables to a function:

      /****f* project/myfunction
      ....
      /****/

      /****v* myfunction/var1
      ....
      /****/

      or something similar.

      The links are created by the header definitions (/****f* project/myfunction)

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.