diff options
author | Xavier Noria <fxn@hashref.com> | 2011-11-18 13:05:25 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-11-18 13:05:25 +0100 |
commit | 307fc122f6b6c38204ffc6040fc8d814a8f01325 (patch) | |
tree | b35929e664e146dd7d6a92ab4ec2711577266e8a /RELEASING_RAILS.rdoc | |
parent | 96792d2756fe35a5038b8bc364b844bafc06ed7d (diff) | |
download | rails-307fc122f6b6c38204ffc6040fc8d814a8f01325.tar.gz rails-307fc122f6b6c38204ffc6040fc8d814a8f01325.tar.bz2 rails-307fc122f6b6c38204ffc6040fc8d814a8f01325.zip |
release instructions: new section about docs generation
Diffstat (limited to 'RELEASING_RAILS.rdoc')
-rw-r--r-- | RELEASING_RAILS.rdoc | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/RELEASING_RAILS.rdoc b/RELEASING_RAILS.rdoc index 1dfcfe2488..3f05e97b91 100644 --- a/RELEASING_RAILS.rdoc +++ b/RELEASING_RAILS.rdoc @@ -205,3 +205,34 @@ There are two simple steps for fixing the CI: 2. Fix it Repeat these steps until the CI is green. + +=== Manually trigger docs generation + +We have a post-receive hook in GitHub that calls the docs server on pushes. +Triggers generation and publication of edge docs, updates the contrib app, +and generates and publishes stable docs if a new stable tag is detected. + +The hook unfortunately is not invoked by tag pushing, so once the new stable +tag has been pushed to origin, please run + + curl -X POST -d '' http://rails-hooks.hashref.com/rails-master-hook + +You should see something like this: + + Rails master hook tasks scheduled: + + * updates the local checkout + * updates Rails Contributors + * generates and publishes edge docs + + If a new stable tag is detected it also + + * generates and publishes stable docs + + This needs typically a few minutes. + +Note you do not need to specify the tag, the docs server figures it out. + +Also, don't worry if you call that multiple times or the hook is triggered +again by some immediate regular push, if the scripts are running new calls +are just queued (in a queue of size 1). |