]> gitweb.fluxo.info Git - templates.git/commitdiff
Updates EPUB config
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 28 Jan 2018 18:04:02 +0000 (16:04 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 28 Jan 2018 18:04:02 +0000 (16:04 -0200)
Makefile.sphinx
conf.py
index.md
organizacao.md

index 8374b4c5921752c1ce01b6f9c29682ce538f7f3e..6e807c92583eb2ff750830e83bb52a4a55a6345d 100644 (file)
@@ -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 a8aa2d8ad0a70fd7debf229209573a29b09a108b..ec16872a259c3b82ccf7fb9486bf130bb342cbf8 100644 (file)
--- 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.
index 94a0d7148e58973528d79b02959d66ce0f171650..6be4b78acad824f8e0c6c06f25ed308449b1b697 100644 (file)
--- 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,
index 97e1f8e53ca3e2c52dced923bcc4a4a476c29f7b..54bd3332404044427eb12c5e75529bc9e198be64 100644 (file)
@@ -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