Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Yahoo Developer Network instrumentation updated to use Yahoo! Web Ana…

…lytics.
  • Loading branch information...
commit 8d6efc5539c59b52369615f1f5151e527b938ca9 1 parent 912e5bb
Adam Moore authored
Showing with 11 additions and 4 deletions.
  1. +1 −0  bin/const.py
  2. +2 −1  bin/yuidoc_generate.py
  3. +8 −3 template/main.tmpl
1  bin/const.py
View
@@ -40,6 +40,7 @@
GUESSEDTYPE='guessedtype'
HASEVENTS='hasevents'
HOST='host'
+IGNORE_PATTERNS = ('*.pyc','CVS','^.git','.svn')
LONGNAME='longname'
LOGCONFIG='yuidoclog.conf'
METHOD='method'
3  bin/yuidoc_generate.py
View
@@ -62,9 +62,10 @@ def _mkdir(newdir):
try:
shutil.rmtree(targetdir)
except: pass
+ # requires 2.6
+ # shutil.copytree(fullname, targetdir, ignore=shutil.ignore_patterns(const.IGNORE_PATTERNS))
shutil.copytree(fullname, targetdir)
-
self.showprivate = showprivate
f=open(os.path.join(inpath, datafile))
11 template/main.tmpl
View
@@ -676,9 +676,14 @@
ALL_YUI_PROPS = $allprops;
</script>
#if $ydn
-<!--MyBlogLog instrumentation-->
-<script type="text/javascript"
-src="http://track2.mybloglog.com/js/jsserv.php?mblID=2007020704011645"></script>
+<!-- Yahoo! Web Analytics - All rights reserved -->
+<script type="text/javascript" src="http://d.yimg.com/mi/ywa.js"></script>
+<script type="text/javascript">
+YWA.getTracker("10001025849223").submit();
+</script>
+<noscript>
+<div><img src="http://a.analytics.yahoo.com/p.pl?a=10001025849223&amp;js=no" width="1" height="1" alt="" /></div>
+</noscript>
#end if
</body>
</html>
Please sign in to comment.
Something went wrong with that request. Please try again.