diff --git a/Gruntfile.js b/Gruntfile.js index e833fb18..b0fb08f9 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -56,7 +56,7 @@ module.exports = function(grunt) { }, /* Changes in theme dir rebuild sphinx */ sphinx: { - files: ['sphinx_rtd_theme/**/*', 'demo_docs/**/*'], + files: ['sphinx_rtd_theme/**/*', 'demo_docs/**/*.rst'], tasks: ['clean:build','exec:build_sphinx'] }, /* live-reload the demo_docs if sphinx re-builds */ diff --git a/demo_docs/source/index.rst b/demo_docs/source/index.rst index ed0c10f4..c25eaa26 100644 --- a/demo_docs/source/index.rst +++ b/demo_docs/source/index.rst @@ -9,9 +9,7 @@ Welcome to Sphinx RTD theme demo's documentation! Contents: .. toctree:: - :maxdepth: 2 - -test + :maxdepth: 2 API Test ======== diff --git a/sass/_theme_layout.sass b/sass/_theme_layout.sass index 4233dd9b..5190577c 100644 --- a/sass/_theme_layout.sass +++ b/sass/_theme_layout.sass @@ -221,7 +221,8 @@ footer color: $gray-light p margin-bottom: $base-line-height / 2 - +.rst-footer-buttons + +clearfix +media($tablet) .wy-body-for-nav background: $section-background-color diff --git a/sphinx_rtd_theme/footer.html b/sphinx_rtd_theme/footer.html index 77c7ae60..a8298a5f 100644 --- a/sphinx_rtd_theme/footer.html +++ b/sphinx_rtd_theme/footer.html @@ -1,4 +1,15 @@