diff options
author | Scott Main <smain@google.com> | 2013-01-29 09:01:52 -0800 |
---|---|---|
committer | Scott Main <smain@google.com> | 2013-01-29 10:43:14 -0800 |
commit | 015d616af8cf72cf609b19257604e520a70c3286 (patch) | |
tree | 64ed489049413a6f0fcdddf37d80f327f975ad15 /tools/droiddoc/templates-ds/head_tag.cs | |
parent | 9c2336e073cef13a5237965dc7d5fcdb0091be34 (diff) | |
download | build-015d616af8cf72cf609b19257604e520a70c3286.zip build-015d616af8cf72cf609b19257604e520a70c3286.tar.gz build-015d616af8cf72cf609b19257604e520a70c3286.tar.bz2 |
docs: use devsite hdf bool as a javascript condition for managing the lang toggle.
sync the sdk and ds templates so we can move toward one template set
Change-Id: I5316d4cd085734a47953beba203ba8beeb64549e
Diffstat (limited to 'tools/droiddoc/templates-ds/head_tag.cs')
-rw-r--r-- | tools/droiddoc/templates-ds/head_tag.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/droiddoc/templates-ds/head_tag.cs b/tools/droiddoc/templates-ds/head_tag.cs index b704d44..cb22cc3 100644 --- a/tools/droiddoc/templates-ds/head_tag.cs +++ b/tools/droiddoc/templates-ds/head_tag.cs @@ -25,6 +25,11 @@ type="text/css"> <script src="//android-dot-devsite.googleplex.com/_static/js/android_3p-bundle.js" type="text/javascript"></script> <script type="text/javascript"> var toRoot = "<?cs var:toroot ?>"; + <?cs if:devsite ?> + var devsite = true; + <?cs else ?> + var devsite = false; + <?cs /if ?> </script> <script src="<?cs var:toroot ?>assets/js/docs.js" type="text/javascript"></script> <?cs if:reference.gms || reference.gcm || google?> |