Skip to content

project-name & project-version not being set #691

Description

@thedark1337

I'm using the latest version of documentation.js (v4.0.0-beta.18) , node.js version 7.7.1, npm version 4.3.0 on windows 10.

The command to generate docs is: documentation build lib/*.js -c documentation.yml -f html -o docs

I am working on a project generating documentation and it seems that the version doesn't get picked up automatically nor the name.

A snippet of the package.json

{  "name": "myProject",
  "description": "description for myProject",
  "version": "5.0.0-beta.3"
}

I can however set the project version via --project-version and documentation.yml with:

 project-version: 
  - 5.0.0-beta.3 

project-name seems to not be set with all of those methods.

I tried searching to see if this was a known issue but didn't see anything come up. Would be great if I could set these values somehow 👍

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions