-
Notifications
You must be signed in to change notification settings - Fork 673
Basic automation for publishing documentation #604
Conversation
00e4873
to
a01694b
Compare
This is a very simple version which I'm happy with. I am thinking that it should be merged as is and other improvements can be done in a separate pull-request. |
a01694b
to
f29d946
Compare
Re the "Results"..., it shows
In the absence of any other Installation items in the surrounding list, that does risk conveying the impression that these are the only two ways to install weave. |
Good point! The purpose of this change though is just to make docs build on Travis. |
Any ideas what's up with coverage falling by -0.21%? |
I've only got one request: could you make the credentials a tarball? I ask because we will want to put more credentials in there in the future, and we can only have one with travis. Also, can you have build-and-publish.sh print the URL the docs have been published please. I wouldn't worry about coverage; are you rebased on master? |
Didn't realise that it's only one file that can be encrypted... however I believe this cert can be used accessing all Google APIs, within that one project. Actually, I think that shell script that cats files into their destinations is neater then a tarball with a script that moves files around.
Sure, although I'd ultimately rather have it post a comment when it's a PR.
Yes. |
Fair enough; I don't feel too strongly about this.
That would also be nice, although I don't know how you'd achieve it. |
2ee4dde
to
2017aa6
Compare
@tomwilkie there some details I have discovered here. When Travis tests a pull-request, the branch it's on is actually the target branch and with our URL schema the result of building docs on a pull-request made to There are more details to it, but basically the only thing I can think of is to trigger docs to build on push to master (and other whitelisted branches). For preview of pull-request I think we will need a different URL schema, one that would look something like |
14af5a7
to
3a71e65
Compare
Ready to merge. |
3a71e65
to
cfb8e75
Compare
Updated description and rebased. |
Basic automation for publishing documentation
This will build and upload docs on branch and tag pushes.
For each commits in any branch on upstream fork a documentation URL would look like:
There will also be a pointer to latest commit:
For each tag there will be a shorter URL like:
I have manually uploaded
latest_tag
andv0.10.0
.After this is merged, the place to find latest development documentation is:
docs.weave.works/weave/master