summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiem Song <tiem@google.com>2019-08-18 22:26:39 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-08-18 22:26:39 -0700
commitb5c39e4ad6ddfdde41a1bc84366c0a0787438a55 (patch)
tree42aaff17f746a1267e8ba54efbaf640f26317613
parentfdd7e02f32fcf5b5321cf3fb8c7ab26ac7bddefc (diff)
parentfd7ffb692e7051746e2d9b3e3c67e0205e173d91 (diff)
downloaddoc_generation-b5c39e4ad6ddfdde41a1bc84366c0a0787438a55.tar.gz
Add copyright and description to switcher script am: 17c663e88c am: 716c9a476e am: ecbb3ce180
am: fd7ffb692e Change-Id: I032fefae26f64295cd395614b83057a1616f4e33
-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