Skip to content

Commit

Permalink
Replace all the gifs
Browse files Browse the repository at this point in the history
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
markstory committed Jun 26, 2012
1 parent 421df6e commit fa24745
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 6 deletions.
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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))

Expand Down Expand Up @@ -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/*
Expand Down
Binary file removed es/_static/img/typical-cake-request.gif
Binary file not shown.
Binary file added es/_static/img/typical-cake-request.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion es/getting-started/a-typical-cakephp-request.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Binary file removed ja/_static/img/typical-cake-request.gif
Binary file not shown.
Binary file added ja/_static/img/typical-cake-request.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion ja/getting-started/a-typical-cakephp-request.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Binary file removed pt/_static/img/typical-cake-request.gif
Binary file not shown.
Binary file added pt/_static/img/typical-cake-request.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion pt/getting-started/a-typical-cakephp-request.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fa24745

Please sign in to comment.