crystal-docs
Version, currently master branch1 version
- master branchlatestSep 29, 2016
github.com/barisbalic/crystal-docs-cli
An rsync wrapper for conveniently publishing shard documentation to the crystal-docs website.
Installation
# Add this to your shard.yml
dependencies:
crystal-docs:
github: barisbalic/crystal-docs-cli
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- MIT
- Author
- Baris Balic
Dependencies
Runtime Dependencies
- commander*github: mrrooijen/commander
README
crystal-docs-cli
A simple CLI tool for publishing Crystal Shard documentation to crystal-docs.org. It is a requirement that users have first identified themselves on the website before they are able to publish.
The tool is just a convenient wrapper for rsync, so you must also have that installed.
Installation
Requires crystal-lang 0.18.7+
git clone git@github.com:barisbalic/crystal-docs-cli.git
cd crystal-docs-cli
shards install
crystal build --release src/crystal-docs.cr
Usage
The first step is to publish the current documentation for your Shard.
crystal-docs publish
Once you have done this, you may publish docs for a specific version...
crystal-docs publish 0.1.0
Or... for a branch/tag.
crystal-docs publish rc1
Optionally you may generate documentation before pushing...
crystal-docs publish -g
Should you need to publish docs as another user, you may specify a user with the -u flag.
crystal-docs publish -u lemondrizzle
Contributing
- Fork it ( https://github.com/barisbalic/crystal-docs/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- barisbalic Baris Balic - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Sep 29, 2016
- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/barisbalic/crystal-docs-cli
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 13, 2026
- Versions
- 1