pymad / cpymad

cPyMAD is a python interface to Mad-X using cython and libmadx

Home Page:http://cern.ch/pymad

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Serve github pages from branch gh-pages

coldfix opened this issue · comments

Now that the docs for jpymad/cpymad are independent, they should be served as Project Pages. This means a gh-pages branch should be created with the sphinx html output. The pymad.github.io repository becomes obsolete.

I will deal with this soon.

I created the gh-pages branch from doc/_build/html. The result can be viewed via the following URL:

http://pymad.github.io/cpymad/

This probably should be linked somewhere (README?).

An easy way to keep the gh-pages branch in sync is:

Once:

cd doc/_build
rm -r html
git clone  -b gh-pages git@github.com:pymad/cpymad.git html

And for updating:

cd doc
make html
cd _build/html
git commit -am "Updated to commit <SHA1>"
git push