mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
fix grunt watch file, add reference footer
This commit is contained in:
parent
c8679abfb6
commit
920dbdba19
|
@ -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 */
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<footer>
|
||||
<hr/>
|
||||
|
||||
<p>
|
||||
{%- if show_copyright %}
|
||||
{%- if hasdoc('copyright') %}
|
||||
{% trans path=pathto('copyright'), copyright=copyright|e %}© <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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user