Added missing copyright headers to many files.
diff --git a/gulp-output-header.txt b/gulp-output-copyright-header.txt
similarity index 91%
rename from gulp-output-header.txt
rename to gulp-output-copyright-header.txt
index 94f0b00..3c81523 100644
--- a/gulp-output-header.txt
+++ b/gulp-output-copyright-header.txt
@@ -16,7 +16,3 @@
* specific language governing permissions and limitations
* under the License.
*/
-
-/*
- * GENERATED FILE - DO NOT EDIT! Instead, regenerate with Gulp!
- */
diff --git a/gulpfile.js b/gulpfile.js
index 3898ca5..0c108de 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -15,7 +15,8 @@
var BASE_DIR = path.join(__dirname, 'src', 'main', 'org', 'freemarker', 'docgen');
var OUT_DIR = path.join(BASE_DIR, 'statics');
-var header = fs.readFileSync(path.join(__dirname, 'gulp-output-header.txt'));
+var copyrightHeader = fs.readFileSync(path.join(__dirname, 'gulp-output-copyright-header.txt'));
+var doNotEditHeader = "/* GENERATED WITH GULP - DO NOT EDIT! */\n\n"
gulp.task('styles', function() {
gulp.src(path.join(BASE_DIR, 'less', 'styles.less'))
@@ -24,7 +25,7 @@
// rename and prefix
.pipe(rename({ basename: 'docgen' }))
.pipe(prefix({ cascade: false }))
- .pipe(headerfooter.header(header))
+ .pipe(headerfooter.header(doNotEditHeader))
.pipe(gulp.dest(OUT_DIR))
// minify
@@ -34,7 +35,7 @@
restructuring: false,
aggressiveMerging: false
}))
- .pipe(headerfooter.header(header))
+ .pipe(headerfooter.header(copyrightHeader))
.pipe(gulp.dest(OUT_DIR));
});
@@ -46,11 +47,11 @@
path.join(BASE_DIR, 'js', 'search.js')
])
.pipe(concat('main.js'))
- .pipe(headerfooter.header(header))
+ .pipe(headerfooter.header(doNotEditHeader))
.pipe(gulp.dest(OUT_DIR))
.pipe(uglify())
.pipe(rename({ suffix: '.min' }))
- .pipe(headerfooter.header(header))
+ .pipe(headerfooter.header(copyrightHeader))
.pipe(gulp.dest(OUT_DIR));
});
diff --git a/src/main/org/freemarker/docgen/antlib.properties b/src/main/org/freemarker/docgen/antlib.properties
index 381d465..127c9a5 100644
--- a/src/main/org/freemarker/docgen/antlib.properties
+++ b/src/main/org/freemarker/docgen/antlib.properties
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
# The list of the Ant tasks
transform=org.freemarker.docgen.TransformAntTask
\ No newline at end of file
diff --git a/src/main/org/freemarker/docgen/js/make-toc.js b/src/main/org/freemarker/docgen/js/make-toc.js
index 3fb68da..bcada04 100644
--- a/src/main/org/freemarker/docgen/js/make-toc.js
+++ b/src/main/org/freemarker/docgen/js/make-toc.js
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
(function(toc, breadcrumb) {
var menuLevel = 0;
diff --git a/src/main/org/freemarker/docgen/js/page-menu.js b/src/main/org/freemarker/docgen/js/page-menu.js
index c891f1a..c9d6914 100644
--- a/src/main/org/freemarker/docgen/js/page-menu.js
+++ b/src/main/org/freemarker/docgen/js/page-menu.js
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
(function() {
function isAtTop(node) {
var nodeOffsetTop = node.offsetTop + node.offsetParent.offsetTop - 5;
diff --git a/src/main/org/freemarker/docgen/js/search.js b/src/main/org/freemarker/docgen/js/search.js
index e03a24a..af8cb33 100644
--- a/src/main/org/freemarker/docgen/js/search.js
+++ b/src/main/org/freemarker/docgen/js/search.js
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
// fix search population
(function() {
diff --git a/src/main/org/freemarker/docgen/js/use-strict.js b/src/main/org/freemarker/docgen/js/use-strict.js
index c2969cd..304de34 100644
--- a/src/main/org/freemarker/docgen/js/use-strict.js
+++ b/src/main/org/freemarker/docgen/js/use-strict.js
@@ -1,2 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
/*eslint strict:0*/
'use strict';
diff --git a/src/main/org/freemarker/docgen/less/lib/base.less b/src/main/org/freemarker/docgen/less/lib/base.less
index 7323059..190e686 100644
--- a/src/main/org/freemarker/docgen/less/lib/base.less
+++ b/src/main/org/freemarker/docgen/less/lib/base.less
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
html {
font-family: @font-sans-serif;
font-size: 14px;
diff --git a/src/main/org/freemarker/docgen/less/lib/components/bookmarks.less b/src/main/org/freemarker/docgen/less/lib/components/bookmarks.less
index 1eb4660..32b959c 100644
--- a/src/main/org/freemarker/docgen/less/lib/components/bookmarks.less
+++ b/src/main/org/freemarker/docgen/less/lib/components/bookmarks.less
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
.bookmarks {
text-align: right;
display: none;
diff --git a/src/main/org/freemarker/docgen/less/lib/components/breadcrumb.less b/src/main/org/freemarker/docgen/less/lib/components/breadcrumb.less
index 353f03b..5c546e8 100644
--- a/src/main/org/freemarker/docgen/less/lib/components/breadcrumb.less
+++ b/src/main/org/freemarker/docgen/less/lib/components/breadcrumb.less
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
.breadcrumb {
list-style-type: none;
margin: 0;
diff --git a/src/main/org/freemarker/docgen/less/lib/components/callout.less b/src/main/org/freemarker/docgen/less/lib/components/callout.less
index d5647c7..b42e0b9 100644
--- a/src/main/org/freemarker/docgen/less/lib/components/callout.less
+++ b/src/main/org/freemarker/docgen/less/lib/components/callout.less
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
.callout {
padding: 15px 18px;
margin: 12px 0;
diff --git a/src/main/org/freemarker/docgen/less/lib/components/code-block.less b/src/main/org/freemarker/docgen/less/lib/components/code-block.less
index 5083969..9b48fd3 100644
--- a/src/main/org/freemarker/docgen/less/lib/components/code-block.less
+++ b/src/main/org/freemarker/docgen/less/lib/components/code-block.less
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
.code-label() {
position: absolute;
top: 0;
diff --git a/src/main/org/freemarker/docgen/less/lib/components/logo.less b/src/main/org/freemarker/docgen/less/lib/components/logo.less
index b2631e2..aed244a 100644
--- a/src/main/org/freemarker/docgen/less/lib/components/logo.less
+++ b/src/main/org/freemarker/docgen/less/lib/components/logo.less
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
.logo {
padding: 6px 0 0;
display: block;
diff --git a/src/main/org/freemarker/docgen/less/lib/components/marked-text.less b/src/main/org/freemarker/docgen/less/lib/components/marked-text.less
index 1d582bc..8eaad70 100644
--- a/src/main/org/freemarker/docgen/less/lib/components/marked-text.less
+++ b/src/main/org/freemarker/docgen/less/lib/components/marked-text.less
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
.marked-text {
background-color: #AEDDFF;
}
diff --git a/src/main/org/freemarker/docgen/less/lib/components/page-menu.less b/src/main/org/freemarker/docgen/less/lib/components/page-menu.less
index 861576b..49a0602 100644
--- a/src/main/org/freemarker/docgen/less/lib/components/page-menu.less
+++ b/src/main/org/freemarker/docgen/less/lib/components/page-menu.less
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
.page-menu {
.page-menu-title {
diff --git a/src/main/org/freemarker/docgen/less/lib/components/pagers.less b/src/main/org/freemarker/docgen/less/lib/components/pagers.less
index d064b52..ddadc3d 100644
--- a/src/main/org/freemarker/docgen/less/lib/components/pagers.less
+++ b/src/main/org/freemarker/docgen/less/lib/components/pagers.less
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
.paging-icon() {
.icon();
diff --git a/src/main/org/freemarker/docgen/less/lib/components/search-form.less b/src/main/org/freemarker/docgen/less/lib/components/search-form.less
index 8b8d649..c3ed0b1 100644
--- a/src/main/org/freemarker/docgen/less/lib/components/search-form.less
+++ b/src/main/org/freemarker/docgen/less/lib/components/search-form.less
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
.search-form {
@input-height: 26px;
diff --git a/src/main/org/freemarker/docgen/less/lib/components/search-results.less b/src/main/org/freemarker/docgen/less/lib/components/search-results.less
index b49196f..b549c76 100644
--- a/src/main/org/freemarker/docgen/less/lib/components/search-results.less
+++ b/src/main/org/freemarker/docgen/less/lib/components/search-results.less
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
.search-results {
.gsc-control-cse {
padding: 0;
diff --git a/src/main/org/freemarker/docgen/less/lib/components/secondary-tabs.less b/src/main/org/freemarker/docgen/less/lib/components/secondary-tabs.less
index 8cdced0..1f90562 100644
--- a/src/main/org/freemarker/docgen/less/lib/components/secondary-tabs.less
+++ b/src/main/org/freemarker/docgen/less/lib/components/secondary-tabs.less
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
.secondary-tabs {
margin: 0;
list-style-type: none;
diff --git a/src/main/org/freemarker/docgen/less/lib/components/social-icons.less b/src/main/org/freemarker/docgen/less/lib/components/social-icons.less
index bfaecd1..1d9e865 100644
--- a/src/main/org/freemarker/docgen/less/lib/components/social-icons.less
+++ b/src/main/org/freemarker/docgen/less/lib/components/social-icons.less
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
.social-icon() {
.icon();
diff --git a/src/main/org/freemarker/docgen/less/lib/components/table-of-contents.less b/src/main/org/freemarker/docgen/less/lib/components/table-of-contents.less
index 50df67f..e44173e 100644
--- a/src/main/org/freemarker/docgen/less/lib/components/table-of-contents.less
+++ b/src/main/org/freemarker/docgen/less/lib/components/table-of-contents.less
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
.table-of-contents {
list-style-type: none;
padding: 0;
diff --git a/src/main/org/freemarker/docgen/less/lib/components/table.less b/src/main/org/freemarker/docgen/less/lib/components/table.less
index 9aea5a9..b15ff24 100644
--- a/src/main/org/freemarker/docgen/less/lib/components/table.less
+++ b/src/main/org/freemarker/docgen/less/lib/components/table.less
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
.table-responsive {
min-height: .01%;
overflow-x: auto;
diff --git a/src/main/org/freemarker/docgen/less/lib/components/tabs.less b/src/main/org/freemarker/docgen/less/lib/components/tabs.less
index ed28af0..cdf34c6 100644
--- a/src/main/org/freemarker/docgen/less/lib/components/tabs.less
+++ b/src/main/org/freemarker/docgen/less/lib/components/tabs.less
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
.tabs {
list-style-type: none;
margin: 0;
diff --git a/src/main/org/freemarker/docgen/less/lib/icons.less b/src/main/org/freemarker/docgen/less/lib/icons.less
index c4ba12a..d76c84d 100644
--- a/src/main/org/freemarker/docgen/less/lib/icons.less
+++ b/src/main/org/freemarker/docgen/less/lib/icons.less
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
@font-face {
font-family: 'icomoon';
src:url('fonts/icomoon.eot?-fbty7i');
diff --git a/src/main/org/freemarker/docgen/less/lib/layout/content.less b/src/main/org/freemarker/docgen/less/lib/layout/content.less
index a9076f9..e748051 100644
--- a/src/main/org/freemarker/docgen/less/lib/layout/content.less
+++ b/src/main/org/freemarker/docgen/less/lib/layout/content.less
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
.main-content {
flex: 1 1 auto;
display: flex;
diff --git a/src/main/org/freemarker/docgen/less/lib/layout/footer.less b/src/main/org/freemarker/docgen/less/lib/layout/footer.less
index 818bdd2..df5a9ee 100644
--- a/src/main/org/freemarker/docgen/less/lib/layout/footer.less
+++ b/src/main/org/freemarker/docgen/less/lib/layout/footer.less
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
.site-footer {
border-top: 3px solid #003270;
background-color: @brand-color;
diff --git a/src/main/org/freemarker/docgen/less/lib/layout/header.less b/src/main/org/freemarker/docgen/less/lib/layout/header.less
index a704ec1..265def0 100644
--- a/src/main/org/freemarker/docgen/less/lib/layout/header.less
+++ b/src/main/org/freemarker/docgen/less/lib/layout/header.less
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
.header-top-bg {
background-color: @brand-color;
background-image: radial-gradient(circle at 50% 15px,
diff --git a/src/main/org/freemarker/docgen/less/lib/mixins.less b/src/main/org/freemarker/docgen/less/lib/mixins.less
index 809ebda..1cde4a4 100644
--- a/src/main/org/freemarker/docgen/less/lib/mixins.less
+++ b/src/main/org/freemarker/docgen/less/lib/mixins.less
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
.clearfix() {
&::before,
&::after {
diff --git a/src/main/org/freemarker/docgen/less/lib/utilities.less b/src/main/org/freemarker/docgen/less/lib/utilities.less
index c4dec24..cdd9092 100644
--- a/src/main/org/freemarker/docgen/less/lib/utilities.less
+++ b/src/main/org/freemarker/docgen/less/lib/utilities.less
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
// determines the max-width of the site at various resolutions
.site-width {
margin-left: auto;
diff --git a/src/main/org/freemarker/docgen/less/lib/variables.less b/src/main/org/freemarker/docgen/less/lib/variables.less
index cf6780e..81725fa 100644
--- a/src/main/org/freemarker/docgen/less/lib/variables.less
+++ b/src/main/org/freemarker/docgen/less/lib/variables.less
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
// fonts
@font-sans-serif: "Roboto", "Helvetica Neue", Arial, sans-serif;
diff --git a/src/main/org/freemarker/docgen/less/styles.less b/src/main/org/freemarker/docgen/less/styles.less
index c85ecfb..bf0a603 100644
--- a/src/main/org/freemarker/docgen/less/styles.less
+++ b/src/main/org/freemarker/docgen/less/styles.less
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
@import (reference) "lib/variables.less";
@import (reference) "lib/mixins.less";
diff --git a/src/main/org/freemarker/docgen/templates/customizations.ftlh b/src/main/org/freemarker/docgen/templates/customizations.ftlh
index 7da0616..9b82705 100644
--- a/src/main/org/freemarker/docgen/templates/customizations.ftlh
+++ b/src/main/org/freemarker/docgen/templates/customizations.ftlh
@@ -1,4 +1,22 @@
<#--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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 meant to be overriden with a file with similar name
in the directory of the DocBook XML file.
-->
\ No newline at end of file
diff --git a/src/main/org/freemarker/docgen/templates/eclipse-toc.ftlx b/src/main/org/freemarker/docgen/templates/eclipse-toc.ftlx
index 92028f0..764d70e 100644
--- a/src/main/org/freemarker/docgen/templates/eclipse-toc.ftlx
+++ b/src/main/org/freemarker/docgen/templates/eclipse-toc.ftlx
@@ -1,4 +1,22 @@
<#ftl nsPrefixes={"D":"http://docbook.org/ns/docbook"}>
+<#--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
<#import "util.ftl" as u>
<?xml version="1.0" encoding="utf-8"?>
<#if offline && copyrightComment?hasContent>
diff --git a/src/main/org/freemarker/docgen/templates/footer.ftlh b/src/main/org/freemarker/docgen/templates/footer.ftlh
index 3dc2dc0..ac43e17 100644
--- a/src/main/org/freemarker/docgen/templates/footer.ftlh
+++ b/src/main/org/freemarker/docgen/templates/footer.ftlh
@@ -1,4 +1,22 @@
<#ftl nsPrefixes={"D":"http://docbook.org/ns/docbook"}>
+<#--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
<#import "util.ftl" as u>
diff --git a/src/main/org/freemarker/docgen/templates/google.ftlh b/src/main/org/freemarker/docgen/templates/google.ftlh
index af858fe..ba2c128 100644
--- a/src/main/org/freemarker/docgen/templates/google.ftlh
+++ b/src/main/org/freemarker/docgen/templates/google.ftlh
@@ -1,3 +1,21 @@
+<#--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
<#macro search>
<#if searchKey??>
<script>
diff --git a/src/main/org/freemarker/docgen/templates/header.ftlh b/src/main/org/freemarker/docgen/templates/header.ftlh
index 9061663..020d9aa 100644
--- a/src/main/org/freemarker/docgen/templates/header.ftlh
+++ b/src/main/org/freemarker/docgen/templates/header.ftlh
@@ -1,4 +1,22 @@
<#ftl nsPrefixes={"D":"http://docbook.org/ns/docbook"}>
+<#--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
<#import "navigation.ftlh" as nav>
<#import "google.ftlh" as google>
diff --git a/src/main/org/freemarker/docgen/templates/navigation.ftlh b/src/main/org/freemarker/docgen/templates/navigation.ftlh
index f40f403..6d0531e 100644
--- a/src/main/org/freemarker/docgen/templates/navigation.ftlh
+++ b/src/main/org/freemarker/docgen/templates/navigation.ftlh
@@ -1,4 +1,22 @@
<#ftl nsPrefixes={"D":"http://docbook.org/ns/docbook"}>
+<#--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
<#import "util.ftl" as u>
diff --git a/src/main/org/freemarker/docgen/templates/node-handlers.ftlh b/src/main/org/freemarker/docgen/templates/node-handlers.ftlh
index 9b990e8..88803dd 100644
--- a/src/main/org/freemarker/docgen/templates/node-handlers.ftlh
+++ b/src/main/org/freemarker/docgen/templates/node-handlers.ftlh
@@ -1,4 +1,22 @@
<#ftl nsPrefixes={"D":"http://docbook.org/ns/docbook"}>
+<#--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
<#import "util.ftl" as u>
diff --git a/src/main/org/freemarker/docgen/templates/page.ftlh b/src/main/org/freemarker/docgen/templates/page.ftlh
index ee8db32..583c470 100644
--- a/src/main/org/freemarker/docgen/templates/page.ftlh
+++ b/src/main/org/freemarker/docgen/templates/page.ftlh
@@ -1,4 +1,22 @@
<#ftl nsPrefixes={"D":"http://docbook.org/ns/docbook"} stripText=true>
+<#--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
<#import "util.ftl" as u>
<#import "footer.ftlh" as footer>
<#import "header.ftlh" as header>
diff --git a/src/main/org/freemarker/docgen/templates/sitemap.ftlx b/src/main/org/freemarker/docgen/templates/sitemap.ftlx
index c553e77..5fcd861 100644
--- a/src/main/org/freemarker/docgen/templates/sitemap.ftlx
+++ b/src/main/org/freemarker/docgen/templates/sitemap.ftlx
@@ -1,3 +1,21 @@
+<#--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
<#import "util.ftl" as u>
<#macro sitemapUrls node>
<#attempt>
diff --git a/src/main/org/freemarker/docgen/templates/toc-json.ftl b/src/main/org/freemarker/docgen/templates/toc-json.ftl
index 66975b6..9fe6317 100644
--- a/src/main/org/freemarker/docgen/templates/toc-json.ftl
+++ b/src/main/org/freemarker/docgen/templates/toc-json.ftl
@@ -1,3 +1,21 @@
+<#--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
<#import "util.ftl" as u>
<#if offline && copyrightComment?hasContent>
${copyrightJavaComment}<#lt>
diff --git a/src/main/org/freemarker/docgen/templates/util.ftl b/src/main/org/freemarker/docgen/templates/util.ftl
index e596f67..d3ceacf 100644
--- a/src/main/org/freemarker/docgen/templates/util.ftl
+++ b/src/main/org/freemarker/docgen/templates/util.ftl
@@ -1,4 +1,22 @@
<#ftl nsPrefixes={"D":"http://docbook.org/ns/docbook"}>
+<#--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
<#function getOptionalTitleAsString node>
<#return titleToString(getOptionalTitleElement(node))>
diff --git a/src/main/org/freemarker/docgen/version.properties b/src/main/org/freemarker/docgen/version.properties
index 64ec2d9..ea53be7 100644
--- a/src/main/org/freemarker/docgen/version.properties
+++ b/src/main/org/freemarker/docgen/version.properties
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
version=0.0.0
buildInfo=@buildTimestamp@
diff --git a/src/main/overview.html b/src/main/overview.html
index b37853a..8e57dcd 100644
--- a/src/main/overview.html
+++ b/src/main/overview.html
@@ -1,3 +1,21 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
<body>
<p>DocBook 5 book to HTML documentation generator, used for example for the
FreeMarker and FreeCC projects.</p>
diff --git a/src/test/1/book.xml b/src/test/1/book.xml
index 5ddb390..53a0125 100644
--- a/src/test/1/book.xml
+++ b/src/test/1/book.xml
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
<book conformance="docgen" version="5.0" xml:lang="en"
xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
diff --git a/src/test/1/docgen-foo.txt b/src/test/1/docgen-foo.txt
index 2c408cd..3b9ea6e 100644
--- a/src/test/1/docgen-foo.txt
+++ b/src/test/1/docgen-foo.txt
@@ -1 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
I'm ignored.
\ No newline at end of file
diff --git a/src/test/1/docgen-templates/customizations.ftl b/src/test/1/docgen-templates/customizations.ftl
index 271e7ed..0b8ba25 100644
--- a/src/test/1/docgen-templates/customizations.ftl
+++ b/src/test/1/docgen-templates/customizations.ftl
@@ -1,4 +1,22 @@
[#ftl ns_prefixes={"D":"http://docbook.org/ns/docbook"}]
+[#--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+--]
[#import "node-handlers.ftl" as h]
[#macro olink]{olink: [#visit .node using h]}[/#macro]
diff --git a/src/test/1/docgen.txt b/src/test/1/docgen.txt
index 2c408cd..3b9ea6e 100644
--- a/src/test/1/docgen.txt
+++ b/src/test/1/docgen.txt
@@ -1 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
I'm ignored.
\ No newline at end of file
diff --git a/src/test/1/preface.xml b/src/test/1/preface.xml
index 0e0dfc8..17caea7 100644
--- a/src/test/1/preface.xml
+++ b/src/test/1/preface.xml
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
<preface conformance="docgen" xml:id="preface"
xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
diff --git a/src/test/2/book.xml b/src/test/2/book.xml
index 3a431bd..bad6de1 100644
--- a/src/test/2/book.xml
+++ b/src/test/2/book.xml
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
<book conformance="docgen" version="5.0" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
diff --git a/src/test/5/book.xml b/src/test/5/book.xml
index 2a3ced0..1cc4257 100644
--- a/src/test/5/book.xml
+++ b/src/test/5/book.xml
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
<book conformance="docgen" version="5.0" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
diff --git a/src/test/6/article.xml b/src/test/6/article.xml
index 6200e5c..3d32023 100644
--- a/src/test/6/article.xml
+++ b/src/test/6/article.xml
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
<article conformance="docgen" version="5.0"
xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
diff --git a/src/xxe-addon/docbook-for-docgen/docbook-for-docgen.css b/src/xxe-addon/docbook-for-docgen/docbook-for-docgen.css
index 2978296..6bd1399 100644
--- a/src/xxe-addon/docbook-for-docgen/docbook-for-docgen.css
+++ b/src/xxe-addon/docbook-for-docgen/docbook-for-docgen.css
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
@import url(xxe-config:docbook5/css/docbook5.css);
/*
diff --git a/src/xxe-addon/docbook-for-docgen/docbook-for-docgen.xxe b/src/xxe-addon/docbook-for-docgen/docbook-for-docgen.xxe
index c7d8654..0dbf56b 100644
--- a/src/xxe-addon/docbook-for-docgen/docbook-for-docgen.xxe
+++ b/src/xxe-addon/docbook-for-docgen/docbook-for-docgen.xxe
@@ -1,4 +1,22 @@
<?xml version='1.0' encoding='ISO-8859-1'?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
<configuration name="DocBook 5 for Docgen"
xmlns="http://www.xmlmind.com/xmleditor/schema/configuration"
xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration"
diff --git a/src/xxe-addon/howto.txt b/src/xxe-addon/howto.txt
index 2c6f65d..ecb67f7 100644
--- a/src/xxe-addon/howto.txt
+++ b/src/xxe-addon/howto.txt
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
XMLmind XML Editor addon for Docgen
===================================