summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiem Song <tiem@google.com>2019-08-18 22:17:37 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-08-18 22:17:37 -0700
commitfd7ffb692e7051746e2d9b3e3c67e0205e173d91 (patch)
tree42aaff17f746a1267e8ba54efbaf640f26317613
parent7b753c5af338271592d996aeab7e4d57bd6e1c5f (diff)
parentecbb3ce1806eab130de28bc0aca4817515cd14a8 (diff)
downloaddoc_generation-fd7ffb692e7051746e2d9b3e3c67e0205e173d91.tar.gz
Add copyright and description to switcher script am: 17c663e88c am: 716c9a476e
am: ecbb3ce180 Change-Id: Ide5e876170e12e43b46baa1399372edb4e3e2bc3
-rw-r--r--switcher4.py21
1 files changed, 20 insertions, 1 deletions
diff --git a/switcher4.py b/switcher4.py
index 07b1ed6..90abb60 100644
--- a/switcher4.py
+++ b/switcher4.py
@@ -1,5 +1,24 @@
#!/usr/bin/python
-
+#
+# Copyright 2019 - The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+###############################################################################
+# This script adds a HTML snippet to the generated reference docs located at
+# developer.android.com/reference. The snippet renders HTML that adds links to
+# toggle between the Java and Kotlin versions of the page.
+###############################################################################
import getopt
import os