Permalink
Browse files

Replace all the gifs

Replace the gifs with png, as they work in PDF's.
Exclude ja and ru from PDF as they are not currently working
because of issues with pdflatex.
  • Loading branch information...
1 parent 421df6e commit fa24745a8c53de71e75cf97bb907f0c07afa9235 @markstory markstory committed Jun 14, 2012
View
@@ -9,6 +9,10 @@ ES_HOST =
# Languages that can be built.
LANGS = en es fr ja pt ru
+
+# pdflatex does not like ja or ru for some reason.
+PDF_LANGS = en es fr pt
+
DEST = website
# Dependencies to perform before running other builds.
@@ -27,8 +31,8 @@ SPHINX_DEPENDENCIES = $(foreach lang, $(LANGS), $(lang)/Makefile)
html: $(foreach lang, $(LANGS), html-$(lang))
htmlhelp: $(foreach lang, $(LANGS), htmlhelp-$(lang))
epub: $(foreach lang, $(LANGS), epub-$(lang))
-latex: $(foreach lang, $(LANGS), latex-$(lang))
-pdf: $(foreach lang, $(LANGS), pdf-$(lang))
+latex: $(foreach lang, $(PDF_LANGS), latex-$(lang))
+pdf: $(foreach lang, $(PDF_LANGS), pdf-$(lang))
htmlhelp: $(foreach lang, $(LANGS), htmlhelp-$(lang))
populate-index: $(foreach lang, $(LANGS), populate-index-$(lang))
@@ -70,7 +74,7 @@ website: website-dirs html populate-index epub pdf
$(foreach lang, $(LANGS), cp -r build/epub/$(lang)/*.epub $(DEST)/_downloads/$(lang) || true;)
# Move PDF files
- $(foreach lang, $(LANGS), [ -f build/latex/$(lang)/*.pdf ] && cp -r build/latex/$(lang)/*.pdf $(DEST)/_downloads/$(lang) || true;)
+ $(foreach lang, $(PDF_LANGS), [ -f build/latex/$(lang)/*.pdf ] && cp -r build/latex/$(lang)/*.pdf $(DEST)/_downloads/$(lang) || true;)
clean:
rm -rf build/*
Deleted file not rendered
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -7,7 +7,7 @@ o Request. Continuando con nuestro ejemplo anterior, imaginemos que nuestro
amigo Ricardo acaba de pinchar en el link "Compra un Pastel Personalizado"
en una aplicación CakePHP.
-.. figure:: /_static/img/typical-cake-request.gif
+.. figure:: /_static/img/typical-cake-request.png
:align: center
:alt: Diagrama de flujo que muestra un Request típico en CakePHP
Deleted file not rendered
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -5,7 +5,7 @@ CakePHPの基本的な構成要素について既に考えました。
ここからは、基本的なリクエストがあった場合、個々のオブジェクトがそれをどう処理して完結させるのか、ということを調べてみましょう。
前からの例として、我らのリカルドさんが、CakePHPアプリケーションの「特注ケーキを今すぐ購入!」というリンクをクリックしたとしましょう。
-.. figure:: /_static/img/typical-cake-request.gif
+.. figure:: /_static/img/typical-cake-request.png
:align: center
:alt: Flow diagram showing a typical CakePHP request
Deleted file not rendered
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -8,7 +8,7 @@ Ricardo apenas clicou no link "Compre um bolo personalizado agora!" em uma
`landing page <http://pt.wikipedia.org/wiki/Landing_page>`_ de uma aplicação
CakePHP.
-.. figure:: /_static/img/typical-cake-request.gif
+.. figure:: /_static/img/typical-cake-request.png
:align: center
:alt: Um diagrama de fluxo mostrando uma típica requisição CakePHP

0 comments on commit fa24745

Please sign in to comment.