]> gitweb.fluxo.info Git - boaspraticas.git/commitdiff
Outras saídas para a documentação
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 1 Nov 2015 20:42:33 +0000 (18:42 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 1 Nov 2015 20:42:33 +0000 (18:42 -0200)
Makefile
conf.py

index 2cabf430139459eea6e101c48898d03eda185b61..85b297c84310022cacf1f9c6a7b783c6e4984d83 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -156,3 +156,14 @@ web: html
 
 web_deploy:
        @rsync -avz --delete _build/html/ boaspraticas:/var/sites/boaspraticas/www/
+
+doc: web
+       @mkdir -p _build/pdf
+       @mkdir -p _build/odt
+       @mkdir -p _build/docx
+       @pandoc index.rst -o _build/pdf/ementa.pdf
+       @pandoc index.rst -o _build/odt/ementa.odt
+       @pandoc index.rst -o _build/docx/ementa.docx
+       @pandoc plano.rst -o _build/pdf/plano.pdf
+       @pandoc plano.rst -o _build/odt/plano.odt
+       @pandoc plano.rst -o _build/docx/plano.docx
diff --git a/conf.py b/conf.py
index 4980f9c1937d167efbd0882a17ef86fbb9cd1a59..65aae4826d4a8d39d164082ca6ca4aea9e0e0282 100644 (file)
--- a/conf.py
+++ b/conf.py
@@ -54,7 +54,7 @@ release = '0.1'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
-#language = None
+language = 'pt_BR'
 
 # There are two options for replacing |today|: either, you set today to some
 # non-false value, then it is used: