watch rst files, fix #26 citations, remove www from rtd link

This commit is contained in:
Dave Snider 2013-11-04 14:14:48 -08:00
parent e1bf789bae
commit 03133fca1c
6 changed files with 32 additions and 13 deletions

View File

@ -56,7 +56,7 @@ module.exports = function(grunt) {
},
/* Changes in theme dir rebuild sphinx */
sphinx: {
files: ['sphinx_rtd_theme/**/*'],
files: ['sphinx_rtd_theme/**/*', 'demo_docs/**/*'],
tasks: ['clean:build','exec:build_sphinx']
},
/* live-reload the demo_docs if sphinx re-builds */

View File

@ -62,10 +62,9 @@ The first hexagram is made up of six unbroken lines. These unbroken lines stand
The power represented by the hexagram is to be interpreted in a dual sense in terms of its action on the universe and of its action on the world of men. In relation to the universe, the hexagram expresses the strong, creative action of the Deity. In relation to the human world, it denotes the creative action of the holy man or sage, of the ruler or leader of men, who through his power awakens and develops their higher nature.
Indices and tables
==================
Citation
========
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
Here I am making a citation [1]_
.. [1] This is the citation I made, let's make this extremely long so that we can tell that it doesn't follow the normal repsonsive table stuff.

View File

@ -219,6 +219,8 @@
display: block
footer
color: $gray-light
p
margin-bottom: $base-line-height / 2
+media($tablet)
.wy-body-for-nav

View File

@ -79,6 +79,24 @@
@extend .wy-table-bordered-all
&:not(.field-list)
@extend .wy-table-striped
table.docutils.citation, table.docutils.footnote
background: none
border: none
color: $gray-light
td, tr
border: none
background-color: transparent !important
white-space: normal
td.label
padding-left: 0
padding-right: 0
vertical-align: top
.footnote-reference, .citation-reference
vertical-align: super
font-size: 90%
table.docutils.field-list
@extend .wy-table
border: none

View File

@ -15,5 +15,5 @@
{%- 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 %}
{% trans %}<a href="https://www.github.com/snide/sphinx_rtd_theme">Sphinx theme</a> provided by <a href="http://readthedocs.org">Read the Docs</a>{% endtrans %}
</footer>

File diff suppressed because one or more lines are too long