diff --git a/doc/ext/manila_autodoc.py b/doc/ext/manila_autodoc.py
index d67f021dde..509123ce42 100644
--- a/doc/ext/manila_autodoc.py
+++ b/doc/ext/manila_autodoc.py
@@ -1,3 +1,15 @@
+#  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.
+
 from __future__ import print_function
 
 import gettext
diff --git a/doc/ext/manila_todo.py b/doc/ext/manila_todo.py
index bda34ecb88..a0a083825e 100644
--- a/doc/ext/manila_todo.py
+++ b/doc/ext/manila_todo.py
@@ -1,4 +1,16 @@
 # -*- coding: utf-8 -*-
+#  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 is a hack of the builtin todo extension, to make the todo_list
 # more user friendly