Mercurial > pylearn
annotate doc/.templates/layout.html @ 1377:0665274b14af
Minor fixes for better Sphinx doc output
author | Olivier Delalleau <delallea@iro> |
---|---|
date | Thu, 18 Nov 2010 14:14:48 -0500 |
parents | 9472d234db2e |
children |
rev | line source |
---|---|
908
9472d234db2e
Added basics for documentation with sphinx and epydoc, by copying files from the Theano/doc directory
fsavard
parents:
diff
changeset
|
1 {% extends "!layout.html" %} |
9472d234db2e
Added basics for documentation with sphinx and epydoc, by copying files from the Theano/doc directory
fsavard
parents:
diff
changeset
|
2 |
9472d234db2e
Added basics for documentation with sphinx and epydoc, by copying files from the Theano/doc directory
fsavard
parents:
diff
changeset
|
3 {%- block extrahead %} |
9472d234db2e
Added basics for documentation with sphinx and epydoc, by copying files from the Theano/doc directory
fsavard
parents:
diff
changeset
|
4 {{ super() }} |
9472d234db2e
Added basics for documentation with sphinx and epydoc, by copying files from the Theano/doc directory
fsavard
parents:
diff
changeset
|
5 <script type="text/javascript"> |
9472d234db2e
Added basics for documentation with sphinx and epydoc, by copying files from the Theano/doc directory
fsavard
parents:
diff
changeset
|
6 var _gaq = _gaq || []; |
9472d234db2e
Added basics for documentation with sphinx and epydoc, by copying files from the Theano/doc directory
fsavard
parents:
diff
changeset
|
7 _gaq.push(['_setAccount', 'UA-168290-9']); |
9472d234db2e
Added basics for documentation with sphinx and epydoc, by copying files from the Theano/doc directory
fsavard
parents:
diff
changeset
|
8 _gaq.push(['_trackPageview']); |
9472d234db2e
Added basics for documentation with sphinx and epydoc, by copying files from the Theano/doc directory
fsavard
parents:
diff
changeset
|
9 </script> |
9472d234db2e
Added basics for documentation with sphinx and epydoc, by copying files from the Theano/doc directory
fsavard
parents:
diff
changeset
|
10 {% endblock %} |
9472d234db2e
Added basics for documentation with sphinx and epydoc, by copying files from the Theano/doc directory
fsavard
parents:
diff
changeset
|
11 |
9472d234db2e
Added basics for documentation with sphinx and epydoc, by copying files from the Theano/doc directory
fsavard
parents:
diff
changeset
|
12 {% block footer %} |
9472d234db2e
Added basics for documentation with sphinx and epydoc, by copying files from the Theano/doc directory
fsavard
parents:
diff
changeset
|
13 {{ super() }} |
9472d234db2e
Added basics for documentation with sphinx and epydoc, by copying files from the Theano/doc directory
fsavard
parents:
diff
changeset
|
14 <script type="text/javascript"> |
9472d234db2e
Added basics for documentation with sphinx and epydoc, by copying files from the Theano/doc directory
fsavard
parents:
diff
changeset
|
15 (function() { |
9472d234db2e
Added basics for documentation with sphinx and epydoc, by copying files from the Theano/doc directory
fsavard
parents:
diff
changeset
|
16 var ga = document.createElement('script'); |
9472d234db2e
Added basics for documentation with sphinx and epydoc, by copying files from the Theano/doc directory
fsavard
parents:
diff
changeset
|
17 ga.src = ('https:' == document.location.protocol ? |
9472d234db2e
Added basics for documentation with sphinx and epydoc, by copying files from the Theano/doc directory
fsavard
parents:
diff
changeset
|
18 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
9472d234db2e
Added basics for documentation with sphinx and epydoc, by copying files from the Theano/doc directory
fsavard
parents:
diff
changeset
|
19 ga.setAttribute('async', 'true'); |
9472d234db2e
Added basics for documentation with sphinx and epydoc, by copying files from the Theano/doc directory
fsavard
parents:
diff
changeset
|
20 document.documentElement.firstChild.appendChild(ga); |
9472d234db2e
Added basics for documentation with sphinx and epydoc, by copying files from the Theano/doc directory
fsavard
parents:
diff
changeset
|
21 })(); |
9472d234db2e
Added basics for documentation with sphinx and epydoc, by copying files from the Theano/doc directory
fsavard
parents:
diff
changeset
|
22 </script> |
9472d234db2e
Added basics for documentation with sphinx and epydoc, by copying files from the Theano/doc directory
fsavard
parents:
diff
changeset
|
23 {% endblock %} |
9472d234db2e
Added basics for documentation with sphinx and epydoc, by copying files from the Theano/doc directory
fsavard
parents:
diff
changeset
|
24 |