From 14958903e2980c31d3080a5f69bd87d2ea5fff38 Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Fri, 24 Jul 2020 15:35:32 +0200
Subject: [PATCH] initial fixes for bob.ip.binseg

---
 conda/meta.yaml            | 3 +++
 doc/_static/style.css      | 3 +++
 doc/_templates/config.rst  | 2 ++
 doc/_templates/layout.html | 4 ++++
 4 files changed, 12 insertions(+)
 create mode 100644 doc/_static/style.css
 create mode 100644 doc/_templates/config.rst
 create mode 100644 doc/_templates/layout.html

diff --git a/conda/meta.yaml b/conda/meta.yaml
index 1467f96..c6fcbf5 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -129,6 +129,9 @@ test:
     - coverage
     - sphinx
     - sphinx_rtd_theme
+    - sphinxcontrib-programoutput
+    - graphviz
+    - font-ttf-dejavu-sans-mono
 
 about:
   home: https://www.idiap.ch/software/bob/
diff --git a/doc/_static/style.css b/doc/_static/style.css
new file mode 100644
index 0000000..b07bdb1
--- /dev/null
+++ b/doc/_static/style.css
@@ -0,0 +1,3 @@
+.wy-nav-content {
+    max-width: none;
+}
diff --git a/doc/_templates/config.rst b/doc/_templates/config.rst
new file mode 100644
index 0000000..a287392
--- /dev/null
+++ b/doc/_templates/config.rst
@@ -0,0 +1,2 @@
+{% include "autosummary/module.rst" %}
+.. literalinclude:: ../../../../{{ fullname.replace(".", "/") }}.py
diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html
new file mode 100644
index 0000000..3e44f4a
--- /dev/null
+++ b/doc/_templates/layout.html
@@ -0,0 +1,4 @@
+{% extends "!layout.html" %}
+{% block extrahead %}
+    <link href="{{ pathto("_static/style.css", True) }}" rel="stylesheet" type="text/css">
+{% endblock %}
-- 
GitLab