-
Notifications
You must be signed in to change notification settings - Fork 698
Publish docs to gh-pages, add coveralls, update README #385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This moves things around a fair bit in the .travis.yml to be more logically ordered and adds support for publishing docs (on master) to gh-pages. Code coverage is also calculated and published to coveralls.io. Travis is able to write to gh-pages on the github repository via the GH_TOKEN environment variable stored in the travis settings (marked as private). This token is generated from the github user 'rust-nix-bot' in order to avoid given access to other repos associated with an actual user's account (this practice is recommended by Github). Other changes worth noting: - We now test fewer intermediate versions of rust - The existing logic to publish to Carl's S3 bucket have been removed. Signed-off-by: Paul Osborne <osbpau@gmail.com>
Changes Unknown when pulling 4b2383a on posborne:gh-pages-docs into * on nix-rust:master*. |
ef46dde
to
9145625
Compare
r? @kamalmarhubi @fiveop When I started out, I was thinking that the docs weren't being updated at all. It looks like they might be after all. So, reasons to move to Github Pages:
Downsides:
|
- Linux: [master](http://rustdoc.s3-website-us-east-1.amazonaws.com/nix/master/linux/nix/) | ||
- OS X: [master](http://rustdoc.s3-website-us-east-1.amazonaws.com/nix/master/osx/nix/) | ||
```rust,ignore | ||
// libc api (unsafe, requires handing return code/errno) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
handling?
Looks good, except for that typo! :) I think the benefits outweigh the drawbacks of switching to github pages. |
Cool, I'll fix that up. Was traveling yesterday. |
This started out as a small change to update the readme to include an updated pointer to the documentation on gh-pages and ended with a bit of an overhaul in order to provide better information for people just checking out nix for the first time. Signed-off-by: Paul Osborne <osbpau@gmail.com>
Signed-off-by: Paul Osborne <osbpau@gmail.com>
@homu r+ |
📌 Commit 8f461ff has been approved by |
Publish docs to gh-pages, add coveralls, update README See the commit messages for some additional details. This started out with just an update to publish the docs to gh-pages but snowballed into a few other changes along the way.
☀️ Test successful - status |
Big 👍 for this! |
See the commit messages for some additional details. This started out with just an update to publish the docs to gh-pages but snowballed into a few other changes along the way.