-
Create github repository
-
Clone your repository
git clone https://github.com/tdelev/presentations.git presentations
-
Create
gh-pages
branchgit checkout --orphan gh-pages
-
Add reveal.js dependency as a submodule in a folder named
revealjs
in your repositorygit submodule add https://github.com/hakimel/reveal.js.git revealjs
-
Create you presentation in a new directory
presentation_name
and to include the reveal.js dependencies use absolute paths i.e./{repo_name}/revealjs/{revealjs_file}
. View example presentation here. -
Commit and push the changes to publish your presentation at url
{github_username}.github.io/{repo_name}/{presentation_name}
git commit -am "Added revealjs submodule and published my presentation"
git push
cd revealjs
git pull