[Yt-svn] commit/yt-doc: MatthewTurk: Adding a "getting involved" section & updating GA script.
Bitbucket
commits-noreply at bitbucket.org
Tue Aug 30 12:55:21 PDT 2011
1 new changeset in yt-doc:
http://bitbucket.org/yt_analysis/yt-doc/changeset/800a32530e44/
changeset: 800a32530e44
user: MatthewTurk
date: 2011-08-30 21:54:59
summary: Adding a "getting involved" section & updating GA script.
affected #: 4 files (7.1 KB)
--- a/source/_templates/layout.html Mon Aug 29 15:39:06 2011 -0400
+++ b/source/_templates/layout.html Tue Aug 30 15:54:59 2011 -0400
@@ -1,18 +1,25 @@
{% extends '!layout.html' %}
+{%- block extrahead %}
+ {{ super() }}
+ <script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-391373-2']);
+ _gaq.push(['_setDomainName', 'yt-project.org']);
+ _gaq.push(['_setAllowHash', false]);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+
+ </script>
+{%- endblock %}
+
{%- block footer %}
- <script type="text/javascript">
- var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." :
- "http://www.");
- document.write(unescape("%3Cscript src='" + gaJsHost +
- "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
- </script>
- <script type="text/javascript">
- try {
- var pageTracker = _gat._getTracker("UA-391373-2");
- pageTracker._trackPageview();
- } catch(err) {}
- </script><div class="footer">
{%- if hasdoc('copyright') %}
{% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
--- a/source/advanced/installing.rst Mon Aug 29 15:39:06 2011 -0400
+++ b/source/advanced/installing.rst Tue Aug 30 15:54:59 2011 -0400
@@ -118,6 +118,9 @@
Thanks very much, Thomas!
+
+.. _community-installations:
+
Community Installations
-----------------------
@@ -136,7 +139,7 @@
.. _automated-update:
Automated Update
-----------------------
+----------------
The recommended method for updating yt is to run the update tool at a command
prompt:
--- a/source/index.rst Mon Aug 29 15:39:06 2011 -0400
+++ b/source/index.rst Tue Aug 30 15:54:59 2011 -0400
@@ -38,8 +38,9 @@
visualizing/index
analysis_modules/index
cookbook/recipes
+ getting_involved
+ askingforhelp
advanced/index
- askingforhelp
reference/index
Indices and tables
Repository URL: https://bitbucket.org/yt_analysis/yt-doc/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list