Group in Menu.txt

Support
tony
2011-07-28
2012-09-14
  • tony

    tony - 2011-07-28

    Is there a way I can group the files the way I want? Every time I modify the
    Menu.txt then Naturaldocs re-group them. I try -nag option but no difference.
    Can any one help?

     
  • Greg Valure

    Greg Valure - 2011-07-28

    It only creates new groups if it's adding new files to the menu and the best
    group it can find to put them in is long. If you want to prevent automatic
    menu grouping completely, open \Modules\NaturalDocs\Menu.pm and look for these
    two lines:

    use constant MAXFILESINGROUP => 6;
    use constant MINFILESINNEWGROUP => 3;
    

    Change both numbers to 99999 and it shouldn't happen anymore.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks