Skip to content

Commit 50acb56

Browse files
Corrections
Signed-off-by: Gergely Csatari <[email protected]>
1 parent f919a84 commit 50acb56

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

Gruntfile.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ module.exports = function(grunt) {
125125
usebanner: {
126126
dist: {
127127
options: {
128-
position: 'top',
128+
position: 'top',
129129
banner: '/* <%= pkg.name %> version <%= pkg.version %> | MIT license */\n' +
130130
'/* Built <%= grunt.template.today("yyyymmdd HH:mm") %> */',
131131
linebreak: true
@@ -139,9 +139,6 @@ module.exports = function(grunt) {
139139
bower_update: {
140140
cmd: 'bower update'
141141
},
142-
pip_install: {
143-
cmd: 'pip install .'
144-
},
145142
build_sphinx: {
146143
cmd: 'sphinx-build docs/ docs/build'
147144
}
@@ -152,6 +149,7 @@ module.exports = function(grunt) {
152149
css: ["sphinx_rtd_theme/static/css"],
153150
js: ["sphinx_rtd_theme/static/js/*", "!sphinx_rtd_theme/static/js/modernizr.min.js"]
154151
},
152+
155153
watch: {
156154
/* Compile sass changes into theme directory */
157155
sass: {
@@ -186,6 +184,6 @@ module.exports = function(grunt) {
186184
grunt.loadNpmTasks('grunt-open');
187185
grunt.loadNpmTasks('grunt-browserify');
188186

189-
grunt.registerTask('default', ['exec:bower_update','clean','copy:fonts','sass:dev','browserify:dev','usebanner','exec:pip_install','exec:build_sphinx','connect','open','watch']);
190-
grunt.registerTask('build', ['exec:bower_update','clean','copy:fonts','sass:build','browserify:build','uglify','exec:pip_install','usebanner','exec:build_sphinx']);
187+
grunt.registerTask('default', ['exec:bower_update','clean','copy:fonts','sass:dev','browserify:dev','usebanner','exec:build_sphinx','connect','open','watch']);
188+
grunt.registerTask('build', ['exec:bower_update','clean','copy:fonts','sass:build','browserify:build','uglify','usebanner','exec:build_sphinx']);
191189
}

sphinx_rtd_theme/layout.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,10 @@
8484

8585
{% block extrabody %} {% endblock %}
8686
<div class="wy-grid-for-nav">
87-
8887
{# SIDE NAV, TOGGLES ON MOBILE #}
8988
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
9089
<div class="wy-side-scroll">
91-
<div class="wy-side-nav-search" {% if theme_logo_background_color %} style="background-color: {{theme_logo_background_color}}" {% endif %}>
90+
<div class="wy-side-nav-search" {% if theme_nav_header_background_color %} style="background-color: {{theme_nav_header_background_color}}" {% endif %}>
9291
{% block sidebartitle %}
9392

9493
{% if logo and theme_logo_only %}

sphinx_rtd_theme/theme.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ collapse_navigation = True
1010
sticky_navigation = True
1111
navigation_depth = 4
1212
includehidden = True
13-
logo_background_color =
13+
nav_header_background_color =
1414
titles_only =
1515
logo_only =
1616
display_version = True

0 commit comments

Comments
 (0)