This repository holds the SlicerDMRI tutorial PDFs and source PowerPoint pptx files.
This repository also generates a permalink address for each tutorial, under dmri.slicer.org/tutorials
. See index.md
in each of the sub-folders for the redirect target. The actual redirect is generated in _layouts/pdf_redirect.html
, and based on the ver_subdir: Slicer-4.8
variable in _config.yml
.
Data for each tutorial is attached to the releases section of this repository.
- TODO
-
check out the repository (make sure to do this on a fast connection, because the repository is large due to images)
-
git clone https://github.com/SlicerDMRI/tutorials
(note: add
--depth=1
for a shallow clone, to reduce transfer time if you are using git version >= 1.9) -
copy the latest folder and rename based on target Slicer version. e.g.:
Slicer-4.8
--copy-->Slicer-4.10
-
edit the pptx files under
VERSION/ppt/*
as needed, and regenerate the PDF files- NOTE: please preserve the naming convention
-
commit the new files and
git push
back to GitHub
-
-
to change the permalinks edit
_config.yml
, and update the version subdirectory (e.g.:ver_subdir: Slicer-4.8
)
- follow the steps above but add a new PDF (and corresponding pptx) under the current version directory
- create a new directory with the permalink name (
NEW_DIRECTORY
) - copy
dwi_converter/index.md
toNEW_DIRECTORY/index.md
- edit
NEW_DIRECTORY/index.md
- change the
redirect: DWIConverter.pdf
to the new PDF name
- change the
- Now
https://dmri.slicer.org/tutorials/NEW_DIRECTORY
should redirect tohttps://dmri.slicer.org/tutorials/Slicer-4.8/NEW.pdf