Web pages for nipy blog
The website is built using Pelican.
The built web-pages go in the gh-pages
branch of this repo.
The Pelican source for the website goes in the master
branch.
Working on the site goes like:
- Install Pelican
- Clone this repo from http://github.com/matthew-brett/blog or fork it to your own Github account.
git submodule update --init --recursive
-
Add any posts in
content
as something likecontent/name-of-post.md
using the Pelican formatting (see other posts incontent/
for examples). You can also write posts in ReST, with Pelican-specific formatting at the start (see Pelican docs). -
Add and commit
-
If you don't have write permission to the repo - submit a pull request - we'll merge and build for you.
If you do have write permission then:
make github
should build the html pages tooutput
, commit them to the gh-pages branch and push this branch up tonipy/blog:gh-pages
from which the pages are hosted.
-
make github
will build the html pages tooutput
, commit them to the gh-pages branch and push this branch up to<origin>/blog:gh-pages
.origin
is the git remote. Iforigin
happens to point to[email protected]:nipy/blog.git
then this will work fine.If
origin
doesn't point to `[email protected]:nipy/blog.gitand you have another remote that does point there, add that remote to the
make`` command, e.g ``make github-upstream-rw`` where ``upstream-rw`` is a remote pointing to ``[email protected]:nipy/blog.git``