diff options
author | Tiem Song <tiem@google.com> | 2019-08-15 16:32:20 -0700 |
---|---|---|
committer | Tiem Song <tiem@google.com> | 2019-08-15 16:32:20 -0700 |
commit | 17c663e88cb77bb4c4195e74ba2d52f1a2f042eb (patch) | |
tree | 42aaff17f746a1267e8ba54efbaf640f26317613 | |
parent | 9a48e52635c280f6f9b423e8a49c8b7a4046ee4a (diff) | |
download | doc_generation-17c663e88cb77bb4c4195e74ba2d52f1a2f042eb.tar.gz |
Add copyright and description to switcher script
Bug: 128540915
Test: N/A
Change-Id: I5a765bee327ec0f61f4c3e1ae847e688aca4f606
-rw-r--r-- | switcher4.py | 21 |
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 |