From 3bf1a25c323823acfee4b7ca4248480d53c52b19 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 28 Dec 2016 17:13:44 -0800 Subject: [PATCH] [Emacs] Update gh-pages section in README.org --- dotfiles/emacs.d/README.org | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index f81cc822..e6e39622 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -13,8 +13,15 @@ proud, and that others may find to be useful. These sections are the ones that have the most potential to be interesting to others: ** How I generate http://ivanmalison.github.io/dotfiles/ -*** Git Hooks -I wrote a [[https://github.com/IvanMalison/dotfiles/tree/master/dotfiles/emacs.d/bin][githook and an installer script]] that automatically update index.html +*** org-export +**** travis-ci +[[https://github.com/IvanMalison/dotfiles/tree/master/gen-gh-pages][This directory]] contains a collection of scripts that exports this org document to html. +The approach is taken (with only a few modifications) from [[https://gist.github.com/domenic/ec8b0fc8ab45f39403dd][here]]. +**** githook (The old way) +NOTE: I've left this here in case other people have an interest in this method, +but I no longer use it. + +I wrote a [[https://github.com/IvanMalison/dotfiles/tree/9e56ced1dd70e50e1026aca5af51437e93add026/dotfiles/emacs.d/bin][githook and an installer script]] that automatically update index.html at the root of the repository by running ~org-html-export-to-html~ on my README.org (essentially this document) . These should work no matter where they are placed in a repository. The org-mode file that they target is set [[https://github.com/IvanMalison/dotfiles/blob/16a4f6c3aadef39a45d30c15e8637b40858721ea/dotfiles/emacs.d/bin/util.sh#L4][here]] and