So why can't I get external data to work at all?

79 views
Skip to first unread message

Phil Moc

unread,
Sep 13, 2013, 3:20:37 PM9/13/13
to yui...@googlegroups.com

So I'm following the instructions given in the user guide.

My yuidoc.json file looks like this (c/p'd from the user guide):

{
  "options": {
    "external": {
    }
  }
}


And when I run yuidocs it seems that it recognizes the yuidoc.json file and it claims that it received external data and that it's mixing the external data in:

info: (yuidoc): Starting YUIDoc with the following options:
info: (yuidoc): 
  port: 3000,
  nocode: false,
  paths: [ '.' ],
  outdir: 'docs',
  project: {} }
info: (yuidoc): YUIDoc Starting from: .
warn: (yuidoc): Found out dir, deleting: docs
info: (yuidoc): Making out dir: docs
info: (yuidoc): Parsed 15 files in 0.024 seconds
info: (builder): Building..
info: (builder): Compiling Templates
info: (builder): Importing external documentation data.
info: (builder): Finished fetching remote data
info: (builder): External data received, mixing
info: (builder): Making default directories: classes,modules,files
info: (builder): Copying Assets
info: (builder): Rendering and writing 0 modules pages.
info: (builder): Finished writing module files
info: (builder): Rendering and writing 1 class pages.
info: (builder): Loading theme from /usr/lib/node_modules/yuidocjs/themes/default/theme.json
info: (builder): Preparing index.html
info: (builder): Writing API Meta Data
info: (builder): Finished writing class files
info: (builder): Rendering and writing 1 source files.
info: (builder): Writing index.html
info: (builder): Finished writing source files
info: (builder): Finished writing 3 files in 5.049 seconds
info: (yuidoc): Completed in 5.087 seconds


However, it only writes the 1 class page from the one local js file I made and none of the external data is anywhere to be found in the built index.html


Can anyone spot what I might be doing wrong here?  I've found YUIDocs very convenient so far, but I can't wrap my head around what's going wrong with this.  

I'm on Mac OSX v10.8.4, my YUIDoc version is 0.3.45 and my Node.js version is 0.10.18 if that helps.

Thanks





Reply all
Reply to author
Forward
0 new messages