summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-02-10 18:47:37 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-02-10 18:47:37 -0500
commitf03bdddb78c3a251319823a281fc8962f09454fc (patch)
tree29ba87eeee90e53efbe760cb5bebe3692daab04e
parent06f1e40a0213e1335df90e6bb2f45fb79c6daa9e (diff)
Oh my god, I can import everything as a PDF
-rw-r--r--docs/DesignDocument-architecture-model2.pptxbin0 -> 63714 bytes
-rw-r--r--docs/DesignDocument-models.pptxbin0 -> 64666 bytes
-rw-r--r--docs/DesignDocument.md6
-rw-r--r--docs/Makefile6
4 files changed, 10 insertions, 2 deletions
diff --git a/docs/DesignDocument-architecture-model2.pptx b/docs/DesignDocument-architecture-model2.pptx
new file mode 100644
index 0000000..1a1a08a
--- /dev/null
+++ b/docs/DesignDocument-architecture-model2.pptx
Binary files differ
diff --git a/docs/DesignDocument-models.pptx b/docs/DesignDocument-models.pptx
new file mode 100644
index 0000000..11985ff
--- /dev/null
+++ b/docs/DesignDocument-models.pptx
Binary files differ
diff --git a/docs/DesignDocument.md b/docs/DesignDocument.md
index e66f473..8401d27 100644
--- a/docs/DesignDocument.md
+++ b/docs/DesignDocument.md
@@ -37,6 +37,8 @@ the “Model 2” (often mis-identified as “MVC”) design
pattern/architecture. This architecture is comprised of three
interacting components: Controllers, Views, and Models.
+![](DesignDocument-architecture-model2.pdf)\
+
Controllers
: Requests received by the server are processed by a routing
subroutine and directed to a controller responsible for handling
@@ -110,6 +112,8 @@ Option 3: Use Optical Character Recognition to obtain statistics from score scre
### MODELS
+![](DesignDocument-models.pdf)\
+
ActiveRecord::Base (abstract)
: The abstract model that all other models inherit from.
@@ -329,4 +333,4 @@ TODO – I’m working on this – see images.pptx ~ Tomer
So am I: ~ Luke
-![](DesignDocument-classes.png)\
+![](DesignDocument-classes.pdf)\
diff --git a/docs/Makefile b/docs/Makefile
index e81f701..b646976 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -9,11 +9,15 @@ html: $(addsuffix .html,$(docs))
pandoc -s $< -o $@
%.png: %.dot Makefile
dot -Tpng < $< > $@
+%.pdf: %.dot Makefile
+ dot -Tpdf < $< > $@
+%.pdf: %.pptx Makefile
+ soffice --headless --convert-to pdf $<
ProductBacklog.pdf: SystemModel.png
SystemModel.png: stickman.png
-DesignDocument.pdf: DesignDocument-classes.png
+DesignDocument.pdf: DesignDocument-architecture-model2.pdf DesignDocument-models.pdf DesignDocument-classes.pdf
DesignDocument.pdf.args = --table-of-contents --number-sections -f markdown+definition_lists
clean: