Skip to content

DOC: Side bar and main page fixes #3397

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions doc/_static/nipype.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ body {
min-width: 70em;
}

div.sphinxsidebar {
position: relative;
}

div.sphinxsidebar h4, div.sphinxsidebar h3 {
background-color: #2F83C8;
}
Expand Down
5 changes: 3 additions & 2 deletions doc/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -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() }}
<meta name="keywords" content="nipype, neuroimaging, pipeline, workflow, parallel, python, neuroscience">
Expand Down Expand Up @@ -42,8 +45,6 @@

{% block relbar1 %}{% endblock %}
{% block relbar2 %}{% endblock %}
{% block sidebar1 %}{{ sidebar() }}{% endblock %}
{% block sidebar2 %}{% endblock %}

{% block footer %}
{{ super() }}
Expand Down
1 change: 0 additions & 1 deletion doc/_templates/navbar.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<link rel="stylesheet" href="https://www.google.com/cse/style/look/default.css" type="text/css" />
<style type="text/css">
a.navbar {
color: {{ theme_linkcolor }};
letter-spacing: .05em;
font-weight: bold;
}
Expand Down
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@

# General information about the project.
project = u"nipype"
copyright = u"2009-20, Neuroimaging in Python team"
copyright = u"2009-21, Neuroimaging in Python team"

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down