Skip to content

Commit

Permalink
Add project info options for crystal docs (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota authored Apr 15, 2020
1 parent 1f50f86 commit b80fc84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions using_the_compiler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@ crystal docs src/my_app.cr

**Common options:**

* `--project-name=NAME`: Set the project name. The default value is extracted from `shard.yml` if available. In case no default can be found, this option is mandatory.
* `--project-version=VERSION`: Set the project version. The default value is extracted from current git commit or `shard.yml` if available. In case no default can be found, this option is mandatory.
* `--output=DIR, -o DIR`: Set the output directory (default: `./docs`)
* `--canonical-base-url=URL, -b URL`: Set the [canonical base url](https://en.wikipedia.org/wiki/Canonical_link_element)

Expand Down

0 comments on commit b80fc84

Please sign in to comment.