pymad / cpymad

cPyMAD is a python interface to Mad-X using cython and libmadx
http://cern.ch/pymad
Apache License 2.0
3 stars 3 forks source link

Serve github pages from branch gh-pages #67

Closed coldfix closed 10 years ago

coldfix commented 10 years ago

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.

coldfix commented 10 years ago

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