Not sure if this helps but I heard github-tools has ways to auto generate a 
gh-pages branch using sphinx:

 http://dinoboff.github.com/github-tools/

On Feb 25, 2011, at 9:25 AM, Adam Faulconbridge <afaulconbri...@googlemail.com> 
wrote:

> Hello. I've been looking for a solution to a problem, but can't seem to find 
> one. I am new to git, so may be missing something.
> 
> * I have a project hosted on GitHub
> * The code is in the "master" branch.
> * I also have web pages in the "gh-pages" branch.
> * The documentation is auto-generated from the code (in this case by Sphinx 
> (http://sphinx.pocoo.org/), but it doesn't really matter how.) and this 
> includes a HTML version.
> * I want the html auto-generated documentation to be in the "gh-pages" branch 
> so that it is published to the web.
> * I do not want anything else to be in the "gh-pages" branch.
> * I want to be able to generate new documentation from the "master" branch 
> code and put it in the "gh-pages" branch for publication.
> * How do I do this?
> 
> I've tried using cherry-pick but that looks for specific commits which isn't 
> what I want and is fiddly to use.
> 
> I've tried using different .gitignore and excludesfiles configurations, but 
> cant get it to apply to one branch (as described 
> http://cogniton-mind.tumblr.com/post/1423976659/howto-gitignore-for-different-branches)
> 
> I've tried using git pull to pull copies of the documentation into the 
> gh-pages branch from the master branch, but that doesn't keep history.
> 
> I could set up two local repositories and have a script copy things from one 
> to the other, but that seems inelegant to me.
> 
> 
> Any other suggestions / tips? Wouldn't think this would be too unusual a 
> workflow.
> -- 
> You received this message because you are subscribed to the Google Groups 
> "GitHub" group.
> To post to this group, send email to github@googlegroups.com.
> To unsubscribe from this group, send email to 
> github+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/github?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to github@googlegroups.com.
To unsubscribe from this group, send email to 
github+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/github?hl=en.

Reply via email to