Github Clone Note
If you have just cloned the "mypelican_static_sites" repostitory, you need to take a few steps before generating the sites.
- Add soft links in each site content subdirectory pointing to the project's shared_site_images/ subdirectory.
pushd . >/dev/null cd www.bernatchez.net/content ln -s ../../shared_site_images images popd >/dev/null pushd . >/dev/null cd www.ogopogo.biz/content ln -s ../../shared_site_images images popd >/dev/null pushd . >/dev/null cd doc ln -s ../../shared_site_images images popd >/dev/null
- Generate .pdf versions of the contents of doc/ into a directory called pdf_docs/ under mypelican_static_sites/
mkdir -p pdf_docs handy_rst_to_pdf
- Add soft links to some .pdf files content/sitepdfs directories for both projects.
pushd . >/dev/null cd www.bernatchez.net/content mkdir -p sitepdfs cd sitepdfs ../../../bin/pdflinks popd >/dev/null pushd . >/dev/null cd www.ogopogo.biz/content mkdir -p sitepdfs cd sitepdfs ../../../bin/pdflinks popd >/dev/null
- Add soft links to some tar balls in content/tarballs of the bernatchez site.
pushd . >/dev/null cd www.bernatchez.net/content mkdir -p tarballs cd tarballs ../../../bin/tballlinks popd >/dev/null
- Add soft links to some mp3 tracks in content/compilations of the bernatchez site.
pushd . >/dev/null cd www.bernatchez.net/content mkdir -p compilations cd compilations ../../../bin/mp3links popd >/dev/null
- Generate your sites
pushd . >/dev/null cd www.bernatchez.net make html popd >/dev/null pushd . >/dev/null cd www.ogopogo.biz make html popd >/dev/null