fix grunt watch file, add reference footer

This commit is contained in:
Dave Snider 2013-11-03 15:32:24 -08:00
parent c8679abfb6
commit 920dbdba19
2 changed files with 4 additions and 1 deletions

View File

@ -71,7 +71,7 @@ module.exports = function(grunt) {
},
/* watch and see if our javascript files change, or new packages are installed */
sphinx_update: {
files: ['src/sphinx_rtd_theme/static/*.css', 'src/sphinx_rtd_theme/*.js', 'demo_docs/source/*.rst', 'src/sphinx_theme/*.html'],
files: ['src/sphinx_rtd_theme/static/*.css', 'src/sphinx_rtd_theme/*.js', 'demo_docs/source/*.rst', 'src/sphinx_rtd_theme/*.html'],
tasks: ['clean:src','exec:build_sphinx']
},
/* watch our files for change, reload */

View File

@ -1,6 +1,7 @@
<footer>
<hr/>
<p>
{%- if show_copyright %}
{%- if hasdoc('copyright') %}
{% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
@ -12,5 +13,7 @@
{%- if last_updated %}
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
{%- endif %}
</p>
{% trans %}<a href="https://www.github.com/snide/sphinx_rtd_theme">Sphinx theme</a> provided by <a href="http://www.readthedocs.org">Read the Docs</a>{% endtrans %}
</footer>