aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-01-28 15:27:57 -0200
committerSilvio Rhatto <rhatto@riseup.net>2018-01-28 15:27:57 -0200
commit03190acf63fcb6a71922d20a864b7846a79dcfac (patch)
treec0f336c1c9a91d7a3aa782c13686229313760e9e
parent918c7f25f7020b01dc124600c17271d10deb54ee (diff)
downloadtemplates-03190acf63fcb6a71922d20a864b7846a79dcfac.tar.gz
templates-03190acf63fcb6a71922d20a864b7846a79dcfac.tar.bz2
TOC
-rw-r--r--Makefile.sphinx3
-rw-r--r--README.md19
-rw-r--r--casa.md8
-rw-r--r--coletivo.md8
-rw-r--r--coletivo/comunicacao.md8
-rw-r--r--coletivo/contabilidade.md8
-rw-r--r--coletivo/misc.md8
-rw-r--r--conf.py14
-rw-r--r--english.md8
-rw-r--r--etica.md8
-rw-r--r--index.md40
-rw-r--r--mensagens.md8
-rw-r--r--muamba.md8
-rw-r--r--organizacao.md8
-rw-r--r--sobre.md4
15 files changed, 123 insertions, 37 deletions
diff --git a/Makefile.sphinx b/Makefile.sphinx
index 6f8ddaa..8374b4c 100644
--- a/Makefile.sphinx
+++ b/Makefile.sphinx
@@ -152,7 +152,8 @@ doctest:
@echo "Testing of doctests in the sources finished, look at the " \
"results in $(BUILDDIR)/doctest/output.txt."
-web: clean html
+#web: clean epub latexpdf html
+web: clean html
web_deploy:
@rsync -avz --delete _build/html/ templates:/var/sites/templates/www/
diff --git a/README.md b/README.md
deleted file mode 100644
index 0c8348c..0000000
--- a/README.md
+++ /dev/null
@@ -1,19 +0,0 @@
-# Organização: Templates e Protocolos Sociotécnicos
-
-_**Blueprints, boilerplates, modelos, listas, templates! Prontos para usar e se organizar!**_
-
-Este é um repositório de protocolos e templates de gestão pessoal e coletiva
-contendo procedimentos, comportamentos e regras simples que, quando combinados,
-contribuem para a emergência (no sentido de emergir) de padrões complexos de
-organização coletiva: [Memes](http://pt.wikipedia.org/wiki/Meme), máquinas e
-para aumentar a fluidez e a organização de grupos sociais.
-
-[Saiba como usar](usando)!
-
-[[!map pages="page(*) and !ikiwiki/* and !index and !sandbox and !templates* and !smileys and !shortcuts and !ikiwiki and !RecentChanges and !*/Discussion" show="title
-
-Sobre
------
-
-* [Repositório](https://git.fluxo.info/templates).
-* [Licença](LICENSE).
diff --git a/casa.md b/casa.md
index cb74be8..24cfd5b 100644
--- a/casa.md
+++ b/casa.md
@@ -1,3 +1,9 @@
# Casa & Jardim
-[[!map pages="page(casa*)" show="title
+```eval_rst
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ casa/*
+```
diff --git a/coletivo.md b/coletivo.md
index d090141..a51e2f1 100644
--- a/coletivo.md
+++ b/coletivo.md
@@ -1,3 +1,9 @@
# Coletivo
-[[!map pages="page(coletivo*)" show="title
+```eval_rst
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ coletivo/*
+```
diff --git a/coletivo/comunicacao.md b/coletivo/comunicacao.md
index cb70224..9ddb478 100644
--- a/coletivo/comunicacao.md
+++ b/coletivo/comunicacao.md
@@ -1,3 +1,9 @@
# Comunicação
-[[!map pages="page(comunicacao*)" show="title
+```eval_rst
+.. toctree::
+ :maxdepth: 2
+ :glob:
+
+ coletivo/comunicacao/*
+```
diff --git a/coletivo/contabilidade.md b/coletivo/contabilidade.md
index 9a49179..218525c 100644
--- a/coletivo/contabilidade.md
+++ b/coletivo/contabilidade.md
@@ -1,5 +1,13 @@
# Contabilidade
+```eval_rst
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ coletivo/contabilidade/*
+```
+
A [Contabilidade](/coletivo/contabilidade), por possibilitar a manipulação de
recursos do coletivo que podem ser usados para a aquisição, manutenção e
proteção de outros recursos, representa um ganho em autonomia.
diff --git a/coletivo/misc.md b/coletivo/misc.md
index 7022625..7ffe0cc 100644
--- a/coletivo/misc.md
+++ b/coletivo/misc.md
@@ -1,3 +1,9 @@
# Misc
-[[!map pages="page(misc*)" show="title
+```eval_rst
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ coletivo/misc/*
+```
diff --git a/conf.py b/conf.py
index a605478..a8aa2d8 100644
--- a/conf.py
+++ b/conf.py
@@ -12,6 +12,8 @@
# serve to show the default.
import sys, os
+import recommonmark
+from recommonmark.transform import AutoStructify
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
@@ -291,3 +293,15 @@ epub_copyright = u'2016, Templates'
# Allow duplicate toc entries.
#epub_tocdup = True
+
+# See http://recommonmark.readthedocs.io
+#github_doc_root = 'https://github.com/rtfd/recommonmark/tree/master/doc/'
+def setup(app):
+ app.add_config_value('recommonmark_config', {
+ #'url_resolver': lambda url: github_doc_root + url,
+ 'auto_toc_tree_section': 'Index',
+ 'enable_auto_toc_tree' : True,
+ 'enable_auto_doc_ref' : True,
+ 'enable_eval_rst' : True,
+ }, True)
+ app.add_transform(AutoStructify)
diff --git a/english.md b/english.md
index 2d81b6f..1250dbf 100644
--- a/english.md
+++ b/english.md
@@ -1,3 +1,9 @@
# English Templates
-[[!map pages="page(english*)" show="title
+```eval_rst
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ english/*
+```
diff --git a/etica.md b/etica.md
index 4efa1d9..5d7f578 100644
--- a/etica.md
+++ b/etica.md
@@ -1,3 +1,9 @@
# Ética
-[[!map pages="page(etica*)" show="title
+```eval_rst
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ etica/*
+```
diff --git a/index.md b/index.md
index 0c8348c..0ec8ad9 100644
--- a/index.md
+++ b/index.md
@@ -1,6 +1,8 @@
-# Organização: Templates e Protocolos Sociotécnicos
+# Templates e Protocolos Sociotécnicos
-_**Blueprints, boilerplates, modelos, listas, templates! Prontos para usar e se organizar!**_
+**Blueprints, boilerplates, modelos, listas, templates! Prontos para usar e se organizar!**
+
+[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,
@@ -8,12 +10,34 @@ contribuem para a emergência (no sentido de emergir) de padrões complexos de
organização coletiva: [Memes](http://pt.wikipedia.org/wiki/Meme), máquinas e
para aumentar a fluidez e a organização de grupos sociais.
-[Saiba como usar](usando)!
+Conteúdo
+--------
-[[!map pages="page(*) and !ikiwiki/* and !index and !sandbox and !templates* and !smileys and !shortcuts and !ikiwiki and !RecentChanges and !*/Discussion" show="title
+<!--
+* [Usando](usando.md).
+* [Pessoal](pessoal.md).
+* [Casa](casa.md).
+* [Coletivo](coletivo.md).
+* [Provedor](provedor.md).
+* [TODO](todo.md).
+-->
-Sobre
------
+```eval_rst
+.. toctree::
+ :maxdepth: 1
-* [Repositório](https://git.fluxo.info/templates).
-* [Licença](LICENSE).
+ usando
+ organizacao
+ pessoal
+ etica
+ travel
+ casa
+ project
+ coletivo
+ rede
+ muamba
+ orfanato
+ provedor
+ sobre
+ english
+```
diff --git a/mensagens.md b/mensagens.md
index 817175a..e6fb47d 100644
--- a/mensagens.md
+++ b/mensagens.md
@@ -2,4 +2,10 @@
Templates para mensagens.
-[[!map pages="page(mensagens*)" show="title
+```eval_rst
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ mensagens/*
+```
diff --git a/muamba.md b/muamba.md
index 555d200..007c6b7 100644
--- a/muamba.md
+++ b/muamba.md
@@ -1,6 +1,12 @@
# Clube da Muamba
-[[!map pages="page(muamba*)" show="title
+```eval_rst
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ muamba/*
+```
Sabe aquela festa de rua que não acontece porque falta o gerador de energia,
aquele filme que não é feito porque não há câmera ou aquela rádio que não
diff --git a/organizacao.md b/organizacao.md
index d1b39af..35d1c25 100644
--- a/organizacao.md
+++ b/organizacao.md
@@ -3,7 +3,13 @@
Índice
------
-[[!map pages="page(organizacao*)" show="title
+```eval_rst
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ organizacao/*
+```
Se a [modelagem de ameaças](https://threat.fluxo.info) é a mãe da segurança, organização é a mãe de tudo!
diff --git a/sobre.md b/sobre.md
new file mode 100644
index 0000000..e86584b
--- /dev/null
+++ b/sobre.md
@@ -0,0 +1,4 @@
+# Sobre
+
+* [Repositório](https://git.fluxo.info/templates).
+* [Licença](LICENSE).