Skip to content

Commit 1f6e0b4

Browse files
arbor-acairdarbor-dwatson
authored andcommitted
Added section on why the json structure is how it is (#14)
* Added section on why the json structure is how it is This talks about caching and combining data, there is no code in this section. * Added section on caching. This also includes a diagram written using ditaa, so the Emacs config adds support for ditaa and the Docker image now installs ditaa so the ASCII art can be rendered into something prettier
1 parent c63cda1 commit 1f6e0b4

File tree

3 files changed

+591
-0
lines changed

3 files changed

+591
-0
lines changed

render/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ RUN apt-get install -y texlive
66
RUN apt-get install -y texlive-pictures
77
RUN apt-get install -y texlive-latex-extra
88
RUN apt-get install -y python-pygments
9+
RUN apt-get install -y ditaa
10+
RUN mkdir -p /usr/share/emacs/25.2/lisp/contrib/scripts/
11+
RUN /bin/ln -s /usr/share/ditaa/ditaa.jar /usr/share/emacs/25.2/lisp/contrib/scripts/
912
COPY export.el /
1013
COPY render.sh /
1114
ENTRYPOINT ["/bin/bash", "render.sh"]

render/export.el

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,9 @@
2727
("breakafter" "+")
2828
))
2929

30+
(setq org-confirm-babel-evaluate 'nil)
31+
(org-babel-do-load-languages
32+
'org-babel-load-languages
33+
'((ditaa .t)
34+
))
3035
(setq org-export-with-smart-quotes t)

0 commit comments

Comments
 (0)