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
contentas something likecontent/name-of-post.mdusing 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 githubshould build the html pages tooutput, commit them to the gh-pages branch and push this branch up tonipy/blog:gh-pagesfrom which the pages are hosted.
-
make githubwill build the html pages tooutput, commit them to the gh-pages branch and push this branch up to<origin>/blog:gh-pages.originis the git remote. Iforiginhappens to point to[email protected]:nipy/blog.gitthen this will work fine.If
origindoesn't point to `[email protected]:nipy/blog.gitand you have another remote that does point there, add that remote to themake`` command, e.g ``make github-upstream-rw`` where ``upstream-rw`` is a remote pointing to ``[email protected]:nipy/blog.git``