aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile11
-rw-r--r--conf.py2
2 files changed, 12 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2cabf43..85b297c 100644
--- 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 4980f9c..65aae48 100644
--- 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: