From 9f72df9c2dbb34c72bed5f95dbac5fb6db97e7bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= <anarcat@debian.org>
Date: Mon, 17 Oct 2016 23:34:56 -0400
Subject: [PATCH] add credits section

this is not readable enough for non-programmers and is a little
ridiculous, but it works.

we should probably parse this from a AUTHORS file instead of going
crazy like this.

see #56
---
 doc/credits.rst        | 8 ++++++++
 doc/index.rst          | 2 +-
 monkeysign/__init__.py | 4 ++++
 3 files changed, 13 insertions(+), 1 deletion(-)
 create mode 100644 doc/credits.rst

diff --git a/doc/credits.rst b/doc/credits.rst
new file mode 100644
index 0000000..3fa47dd
--- /dev/null
+++ b/doc/credits.rst
@@ -0,0 +1,8 @@
+=========
+ Credits
+=========
+
+Those people are the ones who made Monkeysign possible.
+
+.. literalinclude:: ../monkeysign/__init__.py
+   :start-after: credits-start
diff --git a/doc/index.rst b/doc/index.rst
index b4b5634..f695504 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -16,8 +16,8 @@
    api
    ui-mockups/index
    glossary
+   credits
 
 *   :ref:`genindex`
 *   :ref:`modindex`
 *   :ref:`search`
-
diff --git a/monkeysign/__init__.py b/monkeysign/__init__.py
index 44795e4..c4e1dc2 100644
--- a/monkeysign/__init__.py
+++ b/monkeysign/__init__.py
@@ -48,6 +48,10 @@ __license__ = """
 
 __website__ = 'http://web.monkeysphere.info/monkeysign'
 __documentation__ = 'http://monkeysign.readthedocs.io/en/' + __version__
+# hack to include the credits in the documentation
+# maybe this should be parsed from a AUTHORS file instead, see
+# https://0xacab.org/monkeysphere/monkeysign/issues/56
+# credits-start
 __authors__ = ['In alphabetical order:',
                '',
                'Antoine Beaupré',
-- 
GitLab