From 8a26422bfc1fdc1ca9b62f9075299a64ba416fe6 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Sun, 25 Aug 2019 23:49:40 -0700
Subject: [PATCH] Use dev version of doctemplates.

---
 cabal.project | 4 ++++
 stack.yaml    | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/cabal.project b/cabal.project
index cd5801ec9..cb2ddf0dd 100644
--- a/cabal.project
+++ b/cabal.project
@@ -13,3 +13,7 @@ source-repository-package
     location: https://github.com/jgm/pandoc-citeproc
     tag: 6d62678ece91bbb4fe4f5a99695006e1d53c3bae
 
+source-repository-package
+    type: git
+    location: https://github.com/jgm/doctemplates
+    tag: 2f7e7ea71d75b58b52f7ee4122b43aa5d5f68445
diff --git a/stack.yaml b/stack.yaml
index e7ba49a4b..bec6cd26a 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -23,7 +23,9 @@ extra-deps:
 - skylighting-core-0.8.2
 - skylighting-0.8.2
 - doclayout-0.1
-- doctemplates-0.5
+  #- doctemplates-0.5
+- git: https://github.com/jgm/doctemplates
+  commit: 2f7e7ea71d75b58b52f7ee4122b43aa5d5f68445
 ghc-options:
    "$locals": -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -Wincomplete-uni-patterns -Widentities -Wcpp-undef -fhide-source-paths -Wno-missing-home-modules
 resolver: lts-13.17