Based on the post https://blogs.apache.org/infra/entry/git_based_websites_available, we can enable 'gitpubsub' on an asf git repo, so it will pull the content either under root directory or `content` directory from *asf-site* branch of that repo.
I checked other asf projects. I found there are two approaches to do that. 1) use a separated repo for storing the content of website. so they will be two repo, one is `project` while the other one is typically `project`-site or `project`-web. 2) use a single repo and just put the built static content into the *asf-site *branch. I am kind of leaning toward 2). since I'd like to put documentation and code together in a single repo. so it is good to make sure whenever there is code change, the documentation should be updated and reflected. we can probably write a script to build the website and push the built static content to *asf-site *branch. Any thoughts? - Sijie On Tue, Aug 23, 2016 at 10:00 PM, Sijie Guo <si...@apache.org> wrote: > Hi all, > > I put up a website following other apache project to use jekyll and > bootstrap. > > the demo is here https://sijie.github.io/incubator-distributedlog/ > and the git pull request: https://github.com/apache/incubator- > distributedlog/pull/13 > > most of the links are pointed to http://distributedlog.io/ directly for > now. we can try to use the jekyll-rst plugin > <https://github.com/xdissent/jekyll-rst> to compile existing rst files > under doc to static files. > > Please take a look and let me know if it is okay. > > Also, I need to investigate how Apache can host the website from a git > repo. If anyone knows how to do it, please let me know. > > - Sijie > >