]> gitweb.fluxo.info Git - templates.git/commitdiff
Fix: convert to MkDocs
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 10 Dec 2022 16:27:08 +0000 (13:27 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 10 Dec 2022 16:27:08 +0000 (13:27 -0300)
112 files changed:
.gitignore
.gitmodules
Makefile.deployment [new file with mode: 0644]
Makefile.mkdocs [new file with mode: 0644]
Makefile.sphinx [deleted file]
_static/.empty [deleted file]
_themes/sphinx_rtd_theme [deleted submodule]
atividades.md [deleted file]
atividades/casa.md [deleted file]
atividades/provedor.md [deleted file]
atividades/provedor/mensagens.md [deleted file]
atividades/travel/checklist.md [deleted file]
conf.py [deleted file]
docs/atividades/README.md [new file with mode: 0644]
docs/atividades/casa/README.md [new file with mode: 0644]
docs/atividades/casa/checklist.md [moved from atividades/casa/checklist.md with 100% similarity]
docs/atividades/casa/procedimentos.md [moved from atividades/casa/procedimentos.md with 100% similarity]
docs/atividades/casa/regras.md [moved from atividades/casa/regras.md with 100% similarity]
docs/atividades/lab.md [moved from atividades/lab.md with 100% similarity]
docs/atividades/orfanato.md [moved from atividades/orfanato.md with 100% similarity]
docs/atividades/project.md [moved from atividades/project.md with 91% similarity]
docs/atividades/project.ods [moved from _static/projeto.ods with 100% similarity]
docs/atividades/provedor/README.md [new file with mode: 0644]
docs/atividades/provedor/backups.md [moved from atividades/provedor/backups.md with 96% similarity]
docs/atividades/provedor/backups/entrega.md [moved from atividades/provedor/backups/entrega.md with 100% similarity]
docs/atividades/provedor/cert.md [moved from atividades/provedor/cert.md with 100% similarity]
docs/atividades/provedor/hospedagem.md [moved from atividades/provedor/hospedagem.md with 97% similarity]
docs/atividades/provedor/hospedagem/carta.md [moved from atividades/provedor/hospedagem/carta.md with 100% similarity]
docs/atividades/provedor/hospedagem/database.md [moved from atividades/provedor/hospedagem/database.md with 100% similarity]
docs/atividades/provedor/hospedagem/plataforma.md [moved from atividades/provedor/hospedagem/plataforma.md with 100% similarity]
docs/atividades/provedor/hospedagem/politica.md [moved from atividades/provedor/hospedagem/politica.md with 100% similarity]
docs/atividades/provedor/hospedagem/recusa.md [moved from atividades/provedor/hospedagem/recusa.md with 100% similarity]
docs/atividades/provedor/hospedagem/termo.md [moved from atividades/provedor/hospedagem/termo.md with 100% similarity]
docs/atividades/provedor/mensagens.md [new file with mode: 0644]
docs/atividades/provedor/mensagens/certs.md [moved from atividades/provedor/mensagens/certs.md with 100% similarity]
docs/atividades/provedor/mensagens/downtime.md [moved from atividades/provedor/mensagens/downtime.md with 100% similarity]
docs/atividades/provedor/servidor.md [moved from atividades/provedor/servidor.md with 100% similarity]
docs/atividades/provedor/sistemas.md [moved from atividades/provedor/sistemas.md with 97% similarity]
docs/atividades/provedor/sistemas/dns.md [moved from atividades/provedor/sistemas/dns.md with 100% similarity]
docs/atividades/provedor/sistemas/dominios.md [moved from atividades/provedor/sistemas/dominios.md with 100% similarity]
docs/atividades/travel/README.md [moved from atividades/travel.md with 92% similarity]
docs/atividades/travel/checklist.md [new file with mode: 0644]
docs/atividades/travel/checklist/basico.md [moved from atividades/travel/checklist/basico.md with 100% similarity]
docs/atividades/travel/checklist/carteira.md [moved from atividades/travel/checklist/carteira.md with 100% similarity]
docs/atividades/travel/checklist/completa.md [moved from atividades/travel/checklist/completa.md with 100% similarity]
docs/atividades/travel/checklist/expedicao.md [moved from atividades/travel/checklist/expedicao.md with 100% similarity]
docs/atividades/travel/checklist/fuga.md [moved from atividades/travel/checklist/fuga.md with 100% similarity]
docs/atividades/travel/checklist/minima.md [moved from atividades/travel/checklist/minima.md with 100% similarity]
docs/atividades/travel/checklist/roadwarrior.md [moved from atividades/travel/checklist/roadwarrior.md with 100% similarity]
docs/atividades/travel/checklist/trampo.md [moved from atividades/travel/checklist/trampo.md with 100% similarity]
docs/atividades/travel/checklist/urbano.md [moved from atividades/travel/checklist/urbano.md with 100% similarity]
docs/atividades/travel/preparacao.md [moved from atividades/travel/preparacao.md with 100% similarity]
docs/english/README.md [new file with mode: 0644]
docs/english/network.md [moved from english/network.md with 100% similarity]
docs/english/organization.md [moved from english/organization.md with 100% similarity]
docs/english/provider/README.md [new file with mode: 0644]
docs/english/provider/hosting/README.md [new file with mode: 0644]
docs/english/provider/hosting/letter.md [moved from english/provider/hosting/letter.md with 100% similarity]
docs/english/provider/hosting/policy.md [moved from english/provider/hosting/policy.md with 100% similarity]
docs/english/provider/hosting/refusal.md [moved from english/provider/hosting/refusal.md with 100% similarity]
docs/english/provider/hosting/terms.md [moved from english/provider/hosting/terms.md with 100% similarity]
docs/index.md [moved from index.md with 62% similarity]
docs/pessoal/README.md [moved from pessoal.md with 75% similarity]
docs/pessoal/basico.md [moved from pessoal/basico.md with 100% similarity]
docs/pessoal/etica.md [moved from pessoal/etica.md with 100% similarity]
docs/pessoal/organizacao.md [moved from pessoal/organizacao.md with 100% similarity]
docs/pessoal/saude.md [moved from pessoal/saude.md with 100% similarity]
docs/referencias.md [moved from referencias.md with 100% similarity]
docs/site.css [new file with mode: 0644]
docs/sobre.md [moved from sobre.md with 100% similarity]
docs/social/README.md [moved from social.md with 68% similarity]
docs/social/coletivo/README.md [new file with mode: 0644]
docs/social/coletivo/basico.md [moved from social/coletivo/basico.md with 100% similarity]
docs/social/coletivo/coletivo.md [moved from social/coletivo/coletivo.md with 100% similarity]
docs/social/coletivo/comunicacao.md [new file with mode: 0644]
docs/social/coletivo/comunicacao/acl.md [moved from social/coletivo/comunicacao/acl.md with 100% similarity]
docs/social/coletivo/comunicacao/archive.md [moved from social/coletivo/comunicacao/archive.md with 100% similarity]
docs/social/coletivo/comunicacao/backup.md [moved from social/coletivo/comunicacao/backup.md with 100% similarity]
docs/social/coletivo/comunicacao/chat.md [moved from social/coletivo/comunicacao/chat.md with 100% similarity]
docs/social/coletivo/comunicacao/infosec.md [moved from social/coletivo/comunicacao/infosec.md with 100% similarity]
docs/social/coletivo/comunicacao/license.md [moved from social/coletivo/comunicacao/license.md with 100% similarity]
docs/social/coletivo/comunicacao/list.md [moved from social/coletivo/comunicacao/list.md with 100% similarity]
docs/social/coletivo/comunicacao/transparency.md [moved from social/coletivo/comunicacao/transparency.md with 100% similarity]
docs/social/coletivo/comunicacao/vizinhanca.md [moved from social/coletivo/comunicacao/vizinhanca.md with 100% similarity]
docs/social/coletivo/contabilidade.md [moved from social/coletivo/contabilidade.md with 96% similarity]
docs/social/coletivo/contabilidade/criterios.md [moved from social/coletivo/contabilidade/criterios.md with 100% similarity]
docs/social/coletivo/contabilidade/planejamento.md [moved from social/coletivo/contabilidade/planejamento.md with 100% similarity]
docs/social/coletivo/interpretacoes.md [moved from social/coletivo/interpretacoes.md with 100% similarity]
docs/social/coletivo/misc.md [new file with mode: 0644]
docs/social/coletivo/misc/ata.md [moved from social/coletivo/misc/ata.md with 100% similarity]
docs/social/coletivo/misc/atualizacao.md [moved from social/coletivo/misc/atualizacao.md with 100% similarity]
docs/social/coletivo/misc/autorizacao.md [moved from social/coletivo/misc/autorizacao.md with 100% similarity]
docs/social/coletivo/misc/debate.md [moved from social/coletivo/misc/debate.md with 100% similarity]
docs/social/coletivo/misc/grupos.md [moved from social/coletivo/misc/grupos.md with 100% similarity]
docs/social/coletivo/misc/rollcall.md [moved from social/coletivo/misc/rollcall.md with 100% similarity]
docs/social/coletivo/organizacao.md [moved from social/coletivo/organizacao.md with 100% similarity]
docs/social/coletivo/participacao.md [moved from social/coletivo/participacao.md with 100% similarity]
docs/social/coletivo/responsabilizacao.md [moved from social/coletivo/responsabilizacao.md with 100% similarity]
docs/social/etica.md [moved from social/etica.md with 100% similarity]
docs/social/muamba/README.md [moved from social/muamba.md with 98% similarity]
docs/social/muamba/clube.md [moved from social/muamba/clube.md with 100% similarity]
docs/social/muamba/emprestimos.md [moved from social/muamba/emprestimos.md with 100% similarity]
docs/social/rede.md [moved from social/rede.md with 100% similarity]
docs/todo.md [moved from todo.md with 100% similarity]
docs/usando.md [moved from usando.md with 100% similarity]
english.md [deleted file]
english/provider.md [deleted file]
english/provider/hosting.md [deleted file]
mkdocs.yml [new file with mode: 0644]
social/coletivo.md [deleted file]
social/coletivo/comunicacao.md [deleted file]
social/coletivo/misc.md [deleted file]

index 3b43dce9990acbf6ca01d6c189457bb4fb1add00..c1d115da9075b19819adffa1aee2ed9092d9e135 100644 (file)
@@ -1,3 +1,4 @@
 _build
 _static/templates.epub
 _static/templates.pdf
+site
index a4fdaab94a0782c7ca8a4739b3940d74e7b4cfeb..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,3 +0,0 @@
-[submodule "_themes/sphinx_rtd_theme"]
-       path = _themes/sphinx_rtd_theme
-       url = https://github.com/snide/sphinx_rtd_theme
diff --git a/Makefile.deployment b/Makefile.deployment
new file mode 100644 (file)
index 0000000..a0ec04f
--- /dev/null
@@ -0,0 +1,9 @@
+# Deployment Makefile
+
+#web: clean epub latexpdf html
+web: compile
+
+web_deploy:
+       @rsync -avz --delete site/ templates:/var/sites/templates/www/
+
+publish: web web_deploy
diff --git a/Makefile.mkdocs b/Makefile.mkdocs
new file mode 100644 (file)
index 0000000..7b4bed8
--- /dev/null
@@ -0,0 +1,12 @@
+#
+# MkDocs Makefile
+#
+
+compile:
+       mkdocs build
+
+serve:
+       mkdocs serve
+
+watch:
+       @./scripts/watch
diff --git a/Makefile.sphinx b/Makefile.sphinx
deleted file mode 100644 (file)
index 88596ee..0000000
+++ /dev/null
@@ -1,173 +0,0 @@
-# Makefile for Sphinx documentation
-#
-
-# You can set these variables from the command line.
-SPHINXOPTS    =
-SPHINXBUILD   = sphinx-build
-PAPER         =
-BUILDDIR      = _build
-
-# Internal variables.
-PAPEROPT_a4     = -D latex_paper_size=a4
-PAPEROPT_letter = -D latex_paper_size=letter
-ALLSPHINXOPTS   = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
-# the i18n builder cannot share the environment and doctrees with the others
-I18NSPHINXOPTS  = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
-
-.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
-
-help:
-       @echo "Please use \`make <target>' where <target> is one of"
-       @echo "  html       to make standalone HTML files"
-       @echo "  dirhtml    to make HTML files named index.html in directories"
-       @echo "  singlehtml to make a single large HTML file"
-       @echo "  pickle     to make pickle files"
-       @echo "  json       to make JSON files"
-       @echo "  htmlhelp   to make HTML files and a HTML help project"
-       @echo "  qthelp     to make HTML files and a qthelp project"
-       @echo "  devhelp    to make HTML files and a Devhelp project"
-       @echo "  epub       to make an epub"
-       @echo "  latex      to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
-       @echo "  latexpdf   to make LaTeX files and run them through pdflatex"
-       @echo "  text       to make text files"
-       @echo "  man        to make manual pages"
-       @echo "  texinfo    to make Texinfo files"
-       @echo "  info       to make Texinfo files and run them through makeinfo"
-       @echo "  gettext    to make PO message catalogs"
-       @echo "  changes    to make an overview of all changed/added/deprecated items"
-       @echo "  linkcheck  to check all external links for integrity"
-       @echo "  doctest    to run all doctests embedded in the documentation (if enabled)"
-
-clean:
-       -rm -rf $(BUILDDIR)/*
-
-html:
-       $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
-       @echo
-       @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
-
-dirhtml:
-       $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
-       @echo
-       @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
-
-singlehtml:
-       $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
-       @echo
-       @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
-
-pickle:
-       $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
-       @echo
-       @echo "Build finished; now you can process the pickle files."
-
-json:
-       $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
-       @echo
-       @echo "Build finished; now you can process the JSON files."
-
-htmlhelp:
-       $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
-       @echo
-       @echo "Build finished; now you can run HTML Help Workshop with the" \
-             ".hhp project file in $(BUILDDIR)/htmlhelp."
-
-qthelp:
-       $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
-       @echo
-       @echo "Build finished; now you can run "qcollectiongenerator" with the" \
-             ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
-       @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/ManualdeSegurana.qhcp"
-       @echo "To view the help file:"
-       @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/ManualdeSegurana.qhc"
-
-devhelp:
-       $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
-       @echo
-       @echo "Build finished."
-       @echo "To view the help file:"
-       @echo "# mkdir -p $$HOME/.local/share/devhelp/ManualdeSegurana"
-       @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/ManualdeSegurana"
-       @echo "# devhelp"
-
-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
-       @echo
-       @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
-       @echo "Run \`make' in that directory to run these through (pdf)latex" \
-             "(use \`make latexpdf' here to do that automatically)."
-
-latexpdf:
-       $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
-       @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
-       @echo
-       @echo "Build finished. The text files are in $(BUILDDIR)/text."
-
-man:
-       $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
-       @echo
-       @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
-
-texinfo:
-       $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
-       @echo
-       @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
-       @echo "Run \`make' in that directory to run these through makeinfo" \
-             "(use \`make info' here to do that automatically)."
-
-info:
-       $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
-       @echo "Running Texinfo files through makeinfo..."
-       make -C $(BUILDDIR)/texinfo info
-       @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
-
-gettext:
-       $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
-       @echo
-       @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
-
-changes:
-       $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
-       @echo
-       @echo "The overview file is in $(BUILDDIR)/changes."
-
-linkcheck:
-       $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
-       @echo
-       @echo "Link check complete; look for any errors in the above output " \
-             "or in $(BUILDDIR)/linkcheck/output.txt."
-
-doctest:
-       $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
-       @echo "Testing of doctests in the sources finished, look at the " \
-             "results in $(BUILDDIR)/doctest/output.txt."
-
-mat:
-       @find -type f -name '*.ods' -exec mat2 -V {} \;
-       @find -type f -name '*.ods' -exec rename -f 's/\.cleaned.ods/.ods/' {} \;
-       @find -type f -name '*.pdf' -exec mat2 -V {} \;
-       @find -type f -name '*.pdf' -exec rename -f 's/\.cleaned.pdf/.pdf/' {} \;
-       @find -type f -name '*.ods' -exec chmod 644 {} \;
-       @find -type f -name '*.pdf' -exec chmod 644 {} \;
-
-#web: clean epub latexpdf html
-web: clean epub html mat
-
-web_deploy:
-       @rsync -avz --delete _build/html/ templates:/var/sites/templates/www/
-
-publish: web web_deploy
diff --git a/_static/.empty b/_static/.empty
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/_themes/sphinx_rtd_theme b/_themes/sphinx_rtd_theme
deleted file mode 160000 (submodule)
index 419c6f5..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 419c6f57c3e9d950b3e4e762cce07a30ffc5a17a
diff --git a/atividades.md b/atividades.md
deleted file mode 100644 (file)
index 5c55ba8..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# Atividades
-
-```eval_rst
-.. toctree::
-   :maxdepth: 1
-   :glob:
-
-   atividades/*
-```
diff --git a/atividades/casa.md b/atividades/casa.md
deleted file mode 100644 (file)
index 24cfd5b..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# Casa & Jardim
-
-```eval_rst
-.. toctree::
-   :maxdepth: 1
-   :glob:
-
-   casa/*
-```
diff --git a/atividades/provedor.md b/atividades/provedor.md
deleted file mode 100644 (file)
index 7284415..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# Provedor de Serviços de Internet - ISP
-
-```eval_rst
-.. toctree::
-   :maxdepth: 1
-   :glob:
-
-   provedor/*
-```
diff --git a/atividades/provedor/mensagens.md b/atividades/provedor/mensagens.md
deleted file mode 100644 (file)
index e6fb47d..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-# Mensagens
-
-Templates para mensagens.
-
-```eval_rst
-.. toctree::
-   :maxdepth: 1
-   :glob:
-
-   mensagens/*
-```
diff --git a/atividades/travel/checklist.md b/atividades/travel/checklist.md
deleted file mode 100644 (file)
index cf630ce..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-# Checklist
-
-Checklists de viagem.
-
-```eval_rst
-.. toctree::
-   :maxdepth: 1
-   :glob:
-
-   checklist/*
-```
diff --git a/conf.py b/conf.py
deleted file mode 100644 (file)
index f28fdba..0000000
--- a/conf.py
+++ /dev/null
@@ -1,316 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Sphinx documentation build configuration file, created by sphinx-quickstart.
-#
-# This file is execfile()d with the current directory set to its containing dir.
-#
-# Note that not all possible configuration values are present in this
-# autogenerated file.
-#
-# All configuration values have a default; values that are commented out
-# 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
-# documentation root, use os.path.abspath to make it absolute, like shown here.
-#sys.path.insert(0, os.path.abspath('.'))
-
-# -- General configuration -----------------------------------------------------
-
-# If your documentation needs a minimal Sphinx version, state it here.
-#needs_sphinx = '1.0'
-
-# Add any Sphinx extension module names here, as strings. They can be extensions
-# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = [
-    'sphinx.ext.autodoc',
-    'recommonmark',
-]
-
-# Add any paths that contain templates here, relative to this directory.
-templates_path = ['_templates']
-
-# The suffix(es) of source filenames.
-# You can specify multiple suffix as a list of string:
-#
-# source_suffix = ['.rst', '.md']
-#source_suffix = '.rst'
-source_suffix = {
-    '.rst': 'restructuredtext',
-    '.txt': 'markdown',
-    '.md' : 'markdown',
-}
-
-# The encoding of source files.
-#source_encoding = 'utf-8-sig'
-
-# The master toctree document.
-master_doc = 'index'
-
-# General information about the project.
-project = u'Protocolos'
-copyright = u'2016, Protocolos'
-
-# The version info for the project you're documenting, acts as replacement for
-# |version| and |release|, also used in various other places throughout the
-# built documents.
-#
-# The short X.Y version.
-version = '0.1'
-# The full version, including alpha/beta/rc tags.
-release = '0.1'
-
-# The language for content autogenerated by Sphinx. Refer to documentation
-# for a list of supported languages.
-#language = None
-
-# There are two options for replacing |today|: either, you set today to some
-# non-false value, then it is used:
-#today = ''
-# Else, today_fmt is used as the format for a strftime call.
-#today_fmt = '%B %d, %Y'
-
-# List of patterns, relative to source directory, that match files and
-# directories to ignore when looking for source files.
-exclude_patterns = ['_build', '_themes']
-
-# The reST default role (used for this markup: `text`) to use for all documents.
-#default_role = None
-
-# If true, '()' will be appended to :func: etc. cross-reference text.
-#add_function_parentheses = True
-
-# If true, the current module name will be prepended to all description
-# unit titles (such as .. function::).
-#add_module_names = True
-
-# If true, sectionauthor and moduleauthor directives will be shown in the
-# output. They are ignored by default.
-#show_authors = False
-
-# The name of the Pygments (syntax highlighting) style to use.
-pygments_style = 'sphinx'
-
-# A list of ignored prefixes for module index sorting.
-#modindex_common_prefix = []
-
-
-# -- Options for HTML output ---------------------------------------------------
-
-# The theme to use for HTML and HTML Help pages.  See the documentation for
-# a list of builtin themes.
-#html_theme = 'default'
-html_theme = "sphinx_rtd_theme"
-html_theme_path = ["_themes/sphinx_rtd_theme", ]
-
-# Theme options are theme-specific and customize the look and feel of a theme
-# further.  For a list of options available for each theme, see the
-# documentation.
-#html_theme_options = {}
-
-# Add any paths that contain custom themes here, relative to this directory.
-#html_theme_path = []
-
-# The name for this set of Sphinx documents.  If None, it defaults to
-# "<project> v<release> documentation".
-#html_title = None
-
-# A shorter title for the navigation bar.  Default is the same as html_title.
-#html_short_title = None
-
-# The name of an image file (relative to this directory) to place at the top
-# of the sidebar.
-#html_logo = None
-
-# The name of an image file (within the static path) to use as favicon of the
-# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
-# pixels large.
-#html_favicon = None
-
-# Add any paths that contain custom static files (such as style sheets) here,
-# relative to this directory. They are copied after the builtin static files,
-# so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = ['_static']
-
-# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
-# using the given strftime format.
-#html_last_updated_fmt = '%b %d, %Y'
-
-# If true, SmartyPants will be used to convert quotes and dashes to
-# typographically correct entities.
-#html_use_smartypants = True
-
-# Custom sidebar templates, maps document names to template names.
-#html_sidebars = {}
-
-# Additional templates that should be rendered to pages, maps page names to
-# template names.
-#html_additional_pages = {}
-
-# If false, no module index is generated.
-#html_domain_indices = True
-
-# If false, no index is generated.
-#html_use_index = True
-
-# If true, the index is split into individual pages for each letter.
-#html_split_index = False
-
-# If true, links to the reST sources are added to the pages.
-#html_show_sourcelink = True
-
-# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
-#html_show_sphinx = True
-
-# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
-#html_show_copyright = True
-
-# If true, an OpenSearch description file will be output, and all pages will
-# contain a <link> tag referring to it.  The value of this option must be the
-# base URL from which the finished HTML is served.
-#html_use_opensearch = ''
-
-# This is the file name suffix for HTML files (e.g. ".xhtml").
-#html_file_suffix = None
-
-# Output file base name for HTML help builder.
-htmlhelp_basename = 'templates'
-
-# -- Options for LaTeX output --------------------------------------------------
-
-latex_elements = {
-# The paper size ('letterpaper' or 'a4paper').
-#'papersize': 'letterpaper',
-
-# The font size ('10pt', '11pt' or '12pt').
-#'pointsize': '10pt',
-
-# Additional stuff for the LaTeX preamble.
-#'preamble': '',
-}
-
-# Grouping the document tree into LaTeX files. List of tuples
-# (source start file, target name, title, author, documentclass [howto/manual]).
-latex_documents = [
-  ('index', 'templates.tex', u'Protocolos',
-   u'Protocolos', 'templates'),
-]
-
-# The name of an image file (relative to this directory) to place at the top of
-# the title page.
-#latex_logo = None
-
-# For "manual" documents, if this is true, then toplevel headings are parts,
-# not chapters.
-#latex_use_parts = False
-
-# If true, show page references after internal links.
-#latex_show_pagerefs = False
-
-# If true, show URL addresses after external links.
-#latex_show_urls = False
-
-# Documents to append as an appendix to all manuals.
-#latex_appendices = []
-
-# If false, no module index is generated.
-#latex_domain_indices = True
-
-
-# -- Options for manual page output --------------------------------------------
-
-# One entry per manual page. List of tuples
-# (source start file, name, description, authors, manual section).
-man_pages = [
-    ('index', 'templates', u'Protocolos',
-     [u'Protocolos'], 1)
-]
-
-# If true, show URL addresses after external links.
-#man_show_urls = False
-
-
-# -- Options for Texinfo output ------------------------------------------------
-
-# Grouping the document tree into Texinfo files. List of tuples
-# (source start file, target name, title, author,
-#  dir menu entry, description, category)
-texinfo_documents = [
-  ('index', 'templates', u'Protocolos',
-   u'Protocolos', 'templates', 'One line description of project.',
-   'Miscellaneous'),
-]
-
-# Documents to append as an appendix to all manuals.
-#texinfo_appendices = []
-
-# If false, no module index is generated.
-#texinfo_domain_indices = True
-
-# How to display URL addresses: 'footnote', 'no', or 'inline'.
-#texinfo_show_urls = 'footnote'
-
-
-# -- Options for Epub output ---------------------------------------------------
-
-# Bibliographic Dublin Core info.
-epub_title = u'Protocolos'
-epub_author = u'Protocolos'
-epub_publisher = u'Protocolos'
-epub_copyright = u'2016, Protocolos'
-epub_basename  = 'templates'
-
-# The language of the text. It defaults to the language option
-# or en if the language is not set.
-#epub_language = ''
-
-# The scheme of the identifier. Typical schemes are ISBN or URL.
-#epub_scheme = ''
-
-# The unique identifier of the text. This can be a ISBN number
-# or the project homepage.
-#epub_identifier = ''
-
-# A unique identification for the text.
-#epub_uid = ''
-
-# A tuple containing the cover image and cover page html template filenames.
-#epub_cover = ()
-
-# HTML files that should be inserted before the pages created by sphinx.
-# The format is a list of tuples containing the path and title.
-#epub_pre_files = []
-
-# HTML files shat should be inserted after the pages created by sphinx.
-# The format is a list of tuples containing the path and title.
-#epub_post_files = []
-
-# A list of files that should not be packed into the epub file.
-#epub_exclude_files = []
-
-# The depth of the table of contents in toc.ncx.
-#epub_tocdepth = 3
-
-# Allow duplicate toc entries.
-#epub_tocdup = True
-
-# -- Extension configuration -------------------------------------------------
-import sys, os
-import recommonmark
-from recommonmark.transform import AutoStructify
-
-# 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/docs/atividades/README.md b/docs/atividades/README.md
new file mode 100644 (file)
index 0000000..445508e
--- /dev/null
@@ -0,0 +1 @@
+# Atividades
diff --git a/docs/atividades/casa/README.md b/docs/atividades/casa/README.md
new file mode 100644 (file)
index 0000000..6d50339
--- /dev/null
@@ -0,0 +1 @@
+# Casa & Jardim
similarity index 100%
rename from atividades/lab.md
rename to docs/atividades/lab.md
similarity index 91%
rename from atividades/project.md
rename to docs/atividades/project.md
index d445e6dd3662bd0e2ae4c96ab43aabe17c9d84fb..04b5930e3c62aa68e55d3e334e5e9e2c6493856c 100644 (file)
@@ -19,3 +19,7 @@ Sistema de tickets, como por exemplo:
 * Workflow padrão (git-flow, git-hooks, etc).
 * Suíte de testes.
 * Adotar [Semantic Versioning](http://semver.org).
+
+## Ferramentas
+
+* [Planilha de Projeto](project.ods).
diff --git a/docs/atividades/provedor/README.md b/docs/atividades/provedor/README.md
new file mode 100644 (file)
index 0000000..2165619
--- /dev/null
@@ -0,0 +1 @@
+# Provedor de Serviços de Internet - ISP
similarity index 96%
rename from atividades/provedor/backups.md
rename to docs/atividades/provedor/backups.md
index c67115292c54e7f2901ee9115829ce16a51a37a9..5e10a779a27f140bf3720842bcb8a4603f7f108a 100644 (file)
@@ -1,13 +1,5 @@
 # Grupo de Trabalho de Backups
 
-```eval_rst
-.. toctree::
-   :maxdepth: 1
-   :glob:
-
-   backups/*
-```
-
 O presente processo estabelece as linhas gerais de funcionamento de um grupo de
 trabalho responsável pela realização de backups para o Coletivo, cujos
 objetivos são delineados nos critérios que a seguir.
similarity index 97%
rename from atividades/provedor/hospedagem.md
rename to docs/atividades/provedor/hospedagem.md
index bf8b4cef43e0732795884a60460bc11d0f7d6464..6c40cd2e95c1480f7dce2f62007d40eb78b25aac 100644 (file)
@@ -1,13 +1,5 @@
 # Hospedagem
 
-```eval_rst
-.. toctree::
-   :maxdepth: 1
-   :glob:
-
-   hospedagem/*
-```
-
 Este processo define os procedimentos de hospedagem do Coletivo. A hospedagem
 de conteúdo e/ou serviços constitui processo formal e é dividida em dois
 níveis:
diff --git a/docs/atividades/provedor/mensagens.md b/docs/atividades/provedor/mensagens.md
new file mode 100644 (file)
index 0000000..0dc5495
--- /dev/null
@@ -0,0 +1,3 @@
+# Mensagens
+
+Templates para mensagens.
similarity index 97%
rename from atividades/provedor/sistemas.md
rename to docs/atividades/provedor/sistemas.md
index 4e076abcd6f49027e2d5eec4967687952acb0bd5..5de3e6786d8f5681a0b240f5c7128fdbb29cca8f 100644 (file)
@@ -1,13 +1,5 @@
 # Configuração de sistemas padronizada e centralizada
 
-```eval_rst
-.. toctree::
-   :maxdepth: 1
-   :glob:
-
-   sistemas/*
-```
-
 O presente processo estabelece o funcionamento de uma configuração de sistemas
 padronizada e centralizada. Levando em conta que o Coletivo pode lidar com
 muitas camadas de canalização informacional, cada um com diversos serviços
similarity index 92%
rename from atividades/travel.md
rename to docs/atividades/travel/README.md
index 2a006f3b595826e7b10f75e08609bf6b231c935e..0d4ec114395880b7327e9a2a3d114012cb139fa1 100644 (file)
@@ -2,14 +2,6 @@
 
 Templates para viagens. Veja também [The Travel Lite Strategy](https://blog.fluxo.info/travel/lite).
 
-```eval_rst
-.. toctree::
-   :maxdepth: 1
-   :glob:
-
-   travel/*
-```
-
 ## Dicas
 
 * Para não perder coisas durante as viagens, mantê-las sempre agrupadas num
diff --git a/docs/atividades/travel/checklist.md b/docs/atividades/travel/checklist.md
new file mode 100644 (file)
index 0000000..2817abb
--- /dev/null
@@ -0,0 +1,3 @@
+# Checklist
+
+Checklists de viagem.
diff --git a/docs/english/README.md b/docs/english/README.md
new file mode 100644 (file)
index 0000000..8a8e033
--- /dev/null
@@ -0,0 +1 @@
+# English Templates
similarity index 100%
rename from english/network.md
rename to docs/english/network.md
diff --git a/docs/english/provider/README.md b/docs/english/provider/README.md
new file mode 100644 (file)
index 0000000..44fc700
--- /dev/null
@@ -0,0 +1 @@
+# Internet Services Provider
diff --git a/docs/english/provider/hosting/README.md b/docs/english/provider/hosting/README.md
new file mode 100644 (file)
index 0000000..6d34898
--- /dev/null
@@ -0,0 +1 @@
+# Hosting
similarity index 62%
rename from index.md
rename to docs/index.md
index eee1026af162cbab359abd2bc72347e6c87fc668..1804be26304c6b272baf850937e97fc9928943bd 100644 (file)
--- a/index.md
@@ -2,8 +2,6 @@
 
 **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.
 
 Ele contém procedimentos, comportamentos e regras simples que, quando
@@ -11,25 +9,3 @@ combinados, contribuem para a emergência (no sentido de emergir) de padrões
 complexos de organização coletiva.
 
 São pequenas máquinas que aumentam a fluidez e a organização de grupos sociais.
-
-## Seções
-
-```eval_rst
-.. toctree::
-   :maxdepth: 1
-
-   usando
-   pessoal
-   social
-   atividades
-   referencias
-   sobre
-   english
-   todo
-```
-
-## Templates
-
-### Planilhas
-
-* [Planilha de Projeto](/_static/projeto.ods).
similarity index 75%
rename from pessoal.md
rename to docs/pessoal/README.md
index ee946995b77f6ccbcec3f705e7edd66ee6917b54..339216c21a64bbb140e6f1baf1c91d7fb0fe9f6f 100644 (file)
@@ -1,16 +1,5 @@
 # Protocolos pessoais
 
-```eval_rst
-.. toctree::
-   :maxdepth: 1
-   :glob:
-
-   pessoal/basico
-   pessoal/organizacao
-   pessoal/etica
-   pessoal/saude
-```
-
 Isso varia de pessoa para pessoa, mas em resumo a ideia aqui é a seguinte:
 experimente formas de se organizar e não se prenda a esquemas prontos e
 fechados; descarte os modelos que não funcionam, melhore o que estiver
similarity index 100%
rename from pessoal/basico.md
rename to docs/pessoal/basico.md
similarity index 100%
rename from pessoal/etica.md
rename to docs/pessoal/etica.md
similarity index 100%
rename from pessoal/saude.md
rename to docs/pessoal/saude.md
similarity index 100%
rename from referencias.md
rename to docs/referencias.md
diff --git a/docs/site.css b/docs/site.css
new file mode 100644 (file)
index 0000000..6f90e2b
--- /dev/null
@@ -0,0 +1,15 @@
+.wy-menu-vertical li a {
+  color: #fff!important;
+}
+
+.wy-menu-vertical li.current a {
+  color: #000!important;
+}
+
+.wy-nav-content {
+  max-width: 100%;
+}
+
+.wy-side-nav-search {
+  background-color: inherit;
+}
similarity index 100%
rename from sobre.md
rename to docs/sobre.md
similarity index 68%
rename from social.md
rename to docs/social/README.md
index af73659cc13316005c374f0cc53b96ecca8f43a7..1cb7b4a6f9d9e70d3535ac44cbfb1244d1f5184f 100644 (file)
--- a/social.md
@@ -1,13 +1,5 @@
 # Protocolos sociais
 
-```eval_rst
-.. toctree::
-   :maxdepth: 1
-   :glob:
-
-   social/*
-```
-
 ## Referências
 
 * [A guide to distributed teams – Increment: Teams](https://increment.com/teams/a-guide-to-distributed-teams/)
diff --git a/docs/social/coletivo/README.md b/docs/social/coletivo/README.md
new file mode 100644 (file)
index 0000000..05980c7
--- /dev/null
@@ -0,0 +1 @@
+# Coletivo
diff --git a/docs/social/coletivo/comunicacao.md b/docs/social/coletivo/comunicacao.md
new file mode 100644 (file)
index 0000000..1851790
--- /dev/null
@@ -0,0 +1 @@
+# Comunicação
similarity index 96%
rename from social/coletivo/contabilidade.md
rename to docs/social/coletivo/contabilidade.md
index 58bd1d33d12d8befce34914d9d45987b9fa0708b..9a491791814551146168829e9070903b5f5ce574 100644 (file)
@@ -1,13 +1,5 @@
 # Contabilidade
 
-```eval_rst
-.. toctree::
-   :maxdepth: 1
-   :glob:
-
-   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/docs/social/coletivo/misc.md b/docs/social/coletivo/misc.md
new file mode 100644 (file)
index 0000000..1c9323a
--- /dev/null
@@ -0,0 +1 @@
+# Misc
similarity index 100%
rename from social/etica.md
rename to docs/social/etica.md
similarity index 98%
rename from social/muamba.md
rename to docs/social/muamba/README.md
index 007c6b7db6a5ed1289f799c582d4767d4bb828e7..3772551187bc76e632e2d4351dcbd3e17e8be62d 100644 (file)
@@ -1,13 +1,5 @@
 # Clube da Muamba
 
-```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
 transmite por falta de transmissor? E aquele panfleto que não é impresso porque
similarity index 100%
rename from social/rede.md
rename to docs/social/rede.md
similarity index 100%
rename from todo.md
rename to docs/todo.md
similarity index 100%
rename from usando.md
rename to docs/usando.md
diff --git a/english.md b/english.md
deleted file mode 100644 (file)
index 1250dbf..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# English Templates
-
-```eval_rst
-.. toctree::
-   :maxdepth: 1
-   :glob:
-
-   english/*
-```
diff --git a/english/provider.md b/english/provider.md
deleted file mode 100644 (file)
index 06493c4..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# Internet Services Provider
-
-```eval_rst
-.. toctree::
-   :maxdepth: 1
-   :glob:
-
-   provider/*
-```
diff --git a/english/provider/hosting.md b/english/provider/hosting.md
deleted file mode 100644 (file)
index d6fffb1..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# Hosting
-
-```eval_rst
-.. toctree::
-   :maxdepth: 1
-   :glob:
-
-   hosting/*
-```
diff --git a/mkdocs.yml b/mkdocs.yml
new file mode 100644 (file)
index 0000000..41c0bee
--- /dev/null
@@ -0,0 +1,32 @@
+#
+# Mkdocs configuration
+#
+
+site_name: Protocolos
+docs_dir : docs
+site_dir : site
+
+# Site address is bind to 0.0.0.0 so it works find inside a Docker container.
+# A better config would be desirable.
+dev_addr : '0.0.0.0:8040'
+
+theme:
+  name               : readthedocs
+  collapse_navigation: true
+  titles_only        : false
+
+extra_css:
+  - site.css
+
+plugins:
+  - search
+
+  # BibTeX support using mkdocs-bibtex
+  # https://pypi.org/project/mkdocs-bibtex/
+  # https://github.com/shyamd/mkdocs-bibtex
+  #- bibtex:
+  #    bib_dir   : "catalogs/biblio"
+  #    csl_file  : "apa.csl"
+
+markdown_extensions:
+  - footnotes
diff --git a/social/coletivo.md b/social/coletivo.md
deleted file mode 100644 (file)
index 75b3eec..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-# Coletivo
-
-```eval_rst
-.. toctree::
-   :maxdepth: 1
-   :glob:
-
-   coletivo/basico
-   coletivo/coletivo
-   coletivo/organizacao
-   coletivo/interpretacoes
-   coletivo/comunicacao
-   coletivo/contabilidade
-   coletivo/participacao
-   coletivo/responsabilizacao
-   coletivo/misc
-```
diff --git a/social/coletivo/comunicacao.md b/social/coletivo/comunicacao.md
deleted file mode 100644 (file)
index a68e36c..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# Comunicação
-
-```eval_rst
-.. toctree::
-   :maxdepth: 1
-   :glob:
-
-   comunicacao/*
-```
diff --git a/social/coletivo/misc.md b/social/coletivo/misc.md
deleted file mode 100644 (file)
index 7a2264c..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# Misc
-
-```eval_rst
-.. toctree::
-   :maxdepth: 1
-   :glob:
-
-   misc/*
-```