yearbook / extendscript-api-documentation

Documentation for the ExtendScript API
http://yearbook.github.io/esdocs
MIT License
83 stars 10 forks source link

the ./docs/source folder is not git-cloned #8

Closed milligramme closed 11 years ago

milligramme commented 11 years ago

when run build.js, the following error occurred.

fs.js:413
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^
Error: ENOENT, no such file or directory './docs/source/contents.json'
    at Object.fs.openSync (fs.js:413:18)
    at Object.fs.writeFileSync (fs.js:952:15)
    at buildHTMLDocsSource (/Users/gdansk/Forks/indesign-api-documentation/build.js:48:6)
    at Object.<anonymous> (/Users/gdansk/Forks/indesign-api-documentation/build.js:24:1)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)

source directory is git ignored, so I create folders as temporary repairs

$ mkdir -p ./docs/source/classes

thank you

wridgers commented 11 years ago

Hi @milligramme, thanks for this. If you run the generate script it will create the ./docs/source/classes directory for you, but you are right I shall add a .gitkeep file now.

wridgers commented 11 years ago

Resolved.