Github Clone Note

If you have just cloned the "mypelican_static_sites" repostitory, you need to take a few steps before generating the sites.

  1. 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
  1. 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
  1. 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
  1. 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
  1. 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
  1. 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
Publicado el par Pierre Bernatchez dans «mantenimiento». Palabras clave: github, clone