aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-01-28 16:04:02 -0200
committerSilvio Rhatto <rhatto@riseup.net>2018-01-28 16:04:02 -0200
commitfbc89c55742bac11a8e0a70e9535946a51e6fd11 (patch)
tree564e5ad62751f901cab51d3a4f0f2347dd04be0b
parent4b3b18baaff455df5c0350fc1cab9b83afd40686 (diff)
downloadtemplates-fbc89c55742bac11a8e0a70e9535946a51e6fd11.tar.gz
templates-fbc89c55742bac11a8e0a70e9535946a51e6fd11.tar.bz2
Updates EPUB config
-rw-r--r--Makefile.sphinx6
-rw-r--r--conf.py1
-rw-r--r--index.md2
-rw-r--r--organizacao.md3
4 files changed, 7 insertions, 5 deletions
diff --git a/Makefile.sphinx b/Makefile.sphinx
index 8374b4c..6e807c9 100644
--- a/Makefile.sphinx
+++ b/Makefile.sphinx
@@ -94,6 +94,8 @@ epub:
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
@echo
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
+ @cp $(BUILDDIR)/epub/*epub _static/
+ @echo "A copy was made to _static/."
latex:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@@ -107,6 +109,8 @@ latexpdf:
@echo "Running LaTeX files through pdflatex..."
$(MAKE) -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
+ @cp $(BUILDDIR)/latex/*pdf _static/
+ @echo "A copy was made to _static/."
text:
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
@@ -153,7 +157,7 @@ doctest:
"results in $(BUILDDIR)/doctest/output.txt."
#web: clean epub latexpdf html
-web: clean html
+web: clean epub html
web_deploy:
@rsync -avz --delete _build/html/ templates:/var/sites/templates/www/
diff --git a/conf.py b/conf.py
index a8aa2d8..ec16872 100644
--- a/conf.py
+++ b/conf.py
@@ -259,6 +259,7 @@ epub_title = u'Templates'
epub_author = u'Templates'
epub_publisher = u'Templates'
epub_copyright = u'2016, Templates'
+epub_basename = 'templates'
# The language of the text. It defaults to the language option
# or en if the language is not set.
diff --git a/index.md b/index.md
index 94a0d71..6be4b78 100644
--- a/index.md
+++ b/index.md
@@ -2,7 +2,7 @@
**Blueprints, boilerplates, modelos, listas, templates! Prontos para usar e se organizar!**
-[PDF](_static/templates.pdf) | [EPUB](_static/templates.epub).
+<!--[PDF](_static/templates.pdf) | [EPUB](_static/templates.epub).-->
Este é um repositório de protocolos e templates de gestão pessoal e coletiva
contendo procedimentos, comportamentos e regras simples que, quando combinados,
diff --git a/organizacao.md b/organizacao.md
index 97e1f8e..54bd333 100644
--- a/organizacao.md
+++ b/organizacao.md
@@ -1,8 +1,5 @@
# Organização
-Índice
-------
-
Se a [modelagem de ameaças](https://threat.fluxo.info) é a mãe da segurança, organização é a mãe de tudo!
Grupos