Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Name field in package.json overrides package.json apidoc object. #169

Closed
saitheexplorer opened this issue Dec 2, 2014 · 2 comments
Closed
Labels

Comments

@saitheexplorer
Copy link

package.json:

{
  "name": "my-internal-codename",
  "apidoc": {
    "name": "External API Name"
  }
}

Generated documentation has my-internal-codename at the top of the file. It works if the External API Name is in apidoc.json, but not if it's in the same file.

@rottmann rottmann added the bug label Dec 2, 2014
@saitheexplorer
Copy link
Author

I think it's lines 80-82 in /lib/package_info.js - the name, version, and description are grabbed before the extend happens.

@rottmann
Copy link
Member

Fixed in 0.9.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants