mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
more specific watch so grunt doesn't error. next/prev links in footer
fixes #23
This commit is contained in:
parent
03133fca1c
commit
a6b2b5ee4f
|
@ -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 */
|
||||
|
|
|
@ -11,8 +11,6 @@ Contents:
|
|||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
test
|
||||
|
||||
API Test
|
||||
========
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,15 @@
|
|||
<footer>
|
||||
{% if next or prev %}
|
||||
<div class="rst-footer-buttons">
|
||||
{% if next %}
|
||||
<a href="{{ next.link|e }}" class="btn btn-neutral float-right" title="{{ next.title|striptags|e }}"/>Next <span class="icon icon-circle-arrow-right"></span></a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if prev %}
|
||||
<a href="{{ prev.link|e }}" class="btn btn-neutral" title="{{ prev.title|striptags|e }}"><span class="icon icon-circle-arrow-left"></span> Previous</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
<hr/>
|
||||
|
||||
<p>
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user