documentationjs / documentationjs/documentation

project-name & project-version not being set

Open
#691 3 comments 0 reactions 0 assignees View on GitHub
evaluating
Dominant language
JavaScript
Stars
5.8k
Forks
481
PR merge metrics
No merged PRs in 30d

Description

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
```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:
```yaml
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 👍

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.