From 55872425409b8a5d2446adae062b79da464ff780 Mon Sep 17 00:00:00 2001
From: Rinat Mukhometzianov <25082858+rmukh@users.noreply.github.com>
Date: Mon, 25 Oct 2021 18:28:02 -0400
Subject: [PATCH] Side bar and main page fixes
---
doc/_static/nipype.css | 4 ++++
doc/_templates/layout.html | 5 +++--
doc/_templates/navbar.html | 1 -
doc/conf.py | 2 +-
4 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/doc/_static/nipype.css b/doc/_static/nipype.css
index cec080b3d6..5aceb4c42a 100644
--- a/doc/_static/nipype.css
+++ b/doc/_static/nipype.css
@@ -5,6 +5,10 @@ body {
min-width: 70em;
}
+div.sphinxsidebar {
+ position: relative;
+}
+
div.sphinxsidebar h4, div.sphinxsidebar h3 {
background-color: #2F83C8;
}
diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html
index a8de8d176b..2228087cec 100644
--- a/doc/_templates/layout.html
+++ b/doc/_templates/layout.html
@@ -2,6 +2,9 @@
{% set title = 'Neuroimaging in Python - Pipelines and Interfaces' %}
{% set short_title = 'Nipype' %}
+{% block sidebar1 %}{{ sidebar() }}{% endblock %}
+{% block sidebar2 %}{% endblock %}
+
{% block extrahead %}
{{ super() }}
@@ -42,8 +45,6 @@
{% block relbar1 %}{% endblock %}
{% block relbar2 %}{% endblock %}
-{% block sidebar1 %}{{ sidebar() }}{% endblock %}
-{% block sidebar2 %}{% endblock %}
{% block footer %}
{{ super() }}
diff --git a/doc/_templates/navbar.html b/doc/_templates/navbar.html
index fd0216b53f..9afb8ff8d5 100644
--- a/doc/_templates/navbar.html
+++ b/doc/_templates/navbar.html
@@ -1,7 +1,6 @@