[ 3 posts ]

Peter Foti

  • Username: Fotiman
  • Joined: Thu Sep 17, 2009 10:09 am
  • Posts: 128
  • Offline
  • Profile
Tags:

How does YUIDoc determine the "files" for each module?

Post Posted: Tue Sep 29, 2009 6:59 am
+0-
When I generate my docs, the Files section are all wrong. One module shows 3 files, another shows 2, another shows 3, and another shows 1. Only one of these modules (the first one) actually contains the file that makes up the module, the rest are distributed among the remaining modules (though none of them contains its own file).

What am I doing wrong?

Adam Moore

YUI Contributor

  • Username: adam
  • Joined: Wed Sep 03, 2008 11:16 am
  • Posts: 356
  • GitHub: apm
  • Gists: apm
  • Offline
  • Profile
Tags:

Re: How does YUIDoc determine the "files" for each module?

Post Posted: Tue Sep 29, 2009 7:22 am
+0-
YUIDoc scans subdirectories for all of your source files, and assigns files to modules as it encounters new module definitions. The only way currently to ensure that file mapping works is to put each of your modules in its own subdirectory, and then provide a list of all the module paths as the input directory parameter (the input parameter accepts multiple source directories -- provide a space delimited string).

Peter Foti

  • Username: Fotiman
  • Joined: Thu Sep 17, 2009 10:09 am
  • Posts: 128
  • Offline
  • Profile

Re: How does YUIDoc determine the "files" for each module?

Post Posted: Tue Sep 29, 2009 8:46 am
+0-
Ah, ok. I will give that a shot. Thanks!
  [ 3 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum