-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Set up automation for rust-by-example #19455
Comments
We can just host on github pages, and it would be pretty trivial. I can implement in an hour or two if that's of interest. |
Oh, but not if we want language changes to require updating R4E too. I was thinking a nightly rust-ci buikd would be acceptable. |
@steveklabnik I think that's good. It doesn't take very much upkeep at all to keep this working, as long as you figure out that it's broken. It's taken me maybe half an hour each of the last times. Also, the difference between documentation and a tutorial is great; it's much more difficult to automatically build tutorials. |
@steveklabnik Hosting on github pages is fine (that's where it's currently hosted), at least as long as we want to access it via rustbyexample.com, and not under rust-lang.org/doc. For testing i suppose we can keep using Travis (currently seems broken though), maybe add to http://buildbot.rust-lang.org/travis/travis.html to keep it monitored. Do you have a way to automatically update github pages when PR's are merged? |
Yes, Travis has deploy hooks, so after a successful build, you can run a script. This script can then do the generation and a I'll whip something up and show you. |
This is done, using Travis. |
🎊 |
There's significant desire for rust-lang to maintain rustbyexample.com. This will require setting up automation to build, test and publish. Should be similar to that for the guidelines.
Also need to deal with the DNS for rustbyexample.com. May just want to redirect to rust-lang.org/doc/rust-by-example or somesuch.
The text was updated successfully, but these errors were encountered: