diff --git a/Rakefile b/Rakefile index 39a5cd4d4a7..bfe935ef63f 100644 --- a/Rakefile +++ b/Rakefile @@ -1,3 +1,6 @@ +# Copyright © Magento, Inc. All rights reserved. +# See COPYING.txt for license details. + # frozen_string_literal: true # This file contains tasks with no namespace. diff --git a/_checks/html_check_hook.rb b/_checks/html_check_hook.rb index bcd60fd35da..b2df604c69f 100644 --- a/_checks/html_check_hook.rb +++ b/_checks/html_check_hook.rb @@ -1,3 +1,6 @@ +# Copyright © Magento, Inc. All rights reserved. +# See COPYING.txt for license details. + # frozen_string_literal: true # The hook runs html-proofer with options defined in the diff --git a/_plugins/algolia.rb b/_plugins/algolia.rb index 00f17d7cf4e..0d8e2bb4c18 100644 --- a/_plugins/algolia.rb +++ b/_plugins/algolia.rb @@ -1,3 +1,6 @@ +# Copyright © Magento, Inc. All rights reserved. +# See COPYING.txt for license details. + module Jekyll module Algolia module Hooks diff --git a/_plugins/generators/mrg_pages.rb b/_plugins/generators/mrg_pages.rb index a332b95df4f..8a60785b19c 100644 --- a/_plugins/generators/mrg_pages.rb +++ b/_plugins/generators/mrg_pages.rb @@ -1,3 +1,6 @@ +# Copyright © Magento, Inc. All rights reserved. +# See COPYING.txt for license details. + # frozen_string_literal: true # This plugin generates module-specific topics in the 'guides/v2.3/mrg'. diff --git a/_plugins/liquid-tags/collapsible.rb b/_plugins/liquid-tags/collapsible.rb index fab0b2e99d3..bb2399b13bf 100644 --- a/_plugins/liquid-tags/collapsible.rb +++ b/_plugins/liquid-tags/collapsible.rb @@ -1,3 +1,6 @@ +# Copyright © Magento, Inc. All rights reserved. +# See COPYING.txt for license details. + # Author: jcalcaben@magento.com # # This custom plugin adds a block tag that wraps the content in diff --git a/_plugins/page-params/github-path.rb b/_plugins/page-params/github-path.rb index 89805954a99..5a7f33b7c9d 100644 --- a/_plugins/page-params/github-path.rb +++ b/_plugins/page-params/github-path.rb @@ -1,3 +1,6 @@ +# Copyright © Magento, Inc. All rights reserved. +# See COPYING.txt for license details. + # frozen_string_literal: true # diff --git a/_plugins/page-params/last-modified-at.rb b/_plugins/page-params/last-modified-at.rb index f5880bc0f55..3882a0d3ebd 100644 --- a/_plugins/page-params/last-modified-at.rb +++ b/_plugins/page-params/last-modified-at.rb @@ -1,3 +1,6 @@ +# Copyright © Magento, Inc. All rights reserved. +# See COPYING.txt for license details. + # frozen_string_literal: true # diff --git a/_plugins/page-params/page-baseurl-generator.rb b/_plugins/page-params/page-baseurl-generator.rb index d18fa913d4c..b75a46708a5 100644 --- a/_plugins/page-params/page-baseurl-generator.rb +++ b/_plugins/page-params/page-baseurl-generator.rb @@ -1,3 +1,6 @@ +# Copyright © Magento, Inc. All rights reserved. +# See COPYING.txt for license details. + # Author: jcalcaben@magento.com # # This custom plugin dynamically sets and injects the page.baseurl variable diff --git a/_plugins/page-params/page-canonical-url.rb b/_plugins/page-params/page-canonical-url.rb index d03fce822c4..e987657c5e2 100644 --- a/_plugins/page-params/page-canonical-url.rb +++ b/_plugins/page-params/page-canonical-url.rb @@ -1,3 +1,6 @@ +# Copyright © Magento, Inc. All rights reserved. +# See COPYING.txt for license details. + # # This plugin generates a canonical_url parameter for each page implicitly, unless # canonical_url is set in front matter manually. diff --git a/_plugins/page-params/page-versionless.rb b/_plugins/page-params/page-versionless.rb index d001f3dba91..c5cbdfcc384 100644 --- a/_plugins/page-params/page-versionless.rb +++ b/_plugins/page-params/page-versionless.rb @@ -1,3 +1,6 @@ +# Copyright © Magento, Inc. All rights reserved. +# See COPYING.txt for license details. + # frozen_string_literal: true # diff --git a/_plugins/page-params/page-versions.rb b/_plugins/page-params/page-versions.rb index 20983089843..0dff8e6b9c0 100644 --- a/_plugins/page-params/page-versions.rb +++ b/_plugins/page-params/page-versions.rb @@ -1,3 +1,6 @@ +# Copyright © Magento, Inc. All rights reserved. +# See COPYING.txt for license details. + # frozen_string_literal: true # diff --git a/lib/converter.rb b/lib/converter.rb index 8cc771a7fa0..e73dec79bb2 100644 --- a/lib/converter.rb +++ b/lib/converter.rb @@ -1,3 +1,6 @@ +# Copyright © Magento, Inc. All rights reserved. +# See COPYING.txt for license details. + # frozen_string_literal: true # Helper methods to convert markdown reports to HTML and open them in a browser. diff --git a/lib/doc_config.rb b/lib/doc_config.rb index 4ed6c9eefdf..df62b8300d8 100644 --- a/lib/doc_config.rb +++ b/lib/doc_config.rb @@ -1,3 +1,6 @@ +# Copyright © Magento, Inc. All rights reserved. +# See COPYING.txt for license details. + # frozen_string_literal: true # Read Docfile file and get configuration data for adding subrepositories diff --git a/lib/double_slash_check.rb b/lib/double_slash_check.rb index 52628ee9d6b..587c757eb10 100644 --- a/lib/double_slash_check.rb +++ b/lib/double_slash_check.rb @@ -1,3 +1,6 @@ +# Copyright © Magento, Inc. All rights reserved. +# See COPYING.txt for license details. + # frozen_string_literal: true module LinkChecker diff --git a/lib/link_checker.rb b/lib/link_checker.rb index 80e2b3322ad..faf8d46ffd7 100644 --- a/lib/link_checker.rb +++ b/lib/link_checker.rb @@ -1,3 +1,6 @@ +# Copyright © Magento, Inc. All rights reserved. +# See COPYING.txt for license details. + # frozen_string_literal: true # Helper methods to configure and run html-proofer diff --git a/rakelib/build.rake b/rakelib/build.rake index 740b299524b..ca5b222b71a 100644 --- a/rakelib/build.rake +++ b/rakelib/build.rake @@ -1,3 +1,6 @@ +# Copyright © Magento, Inc. All rights reserved. +# See COPYING.txt for license details. + namespace :build do desc 'Build the site for production' diff --git a/rakelib/check.rake b/rakelib/check.rake index e4349e3954c..0afb1561deb 100644 --- a/rakelib/check.rake +++ b/rakelib/check.rake @@ -1,3 +1,6 @@ +# Copyright © Magento, Inc. All rights reserved. +# See COPYING.txt for license details. + # frozen_string_literal: true namespace :check do diff --git a/rakelib/multirepo.rake b/rakelib/multirepo.rake index e24875d9c19..6408582fbd9 100644 --- a/rakelib/multirepo.rake +++ b/rakelib/multirepo.rake @@ -1,3 +1,6 @@ +# Copyright © Magento, Inc. All rights reserved. +# See COPYING.txt for license details. + # frozen_string_literal: true namespace :multirepo do diff --git a/rakelib/preview.rake b/rakelib/preview.rake index 8c0bce71d58..21e409357e0 100644 --- a/rakelib/preview.rake +++ b/rakelib/preview.rake @@ -1,3 +1,6 @@ +# Copyright © Magento, Inc. All rights reserved. +# See COPYING.txt for license details. + # frozen_string_literal: true namespace :preview do diff --git a/rakelib/test.rake b/rakelib/test.rake index 1ffcaab7958..17fa5b91150 100644 --- a/rakelib/test.rake +++ b/rakelib/test.rake @@ -1,3 +1,6 @@ +# Copyright © Magento, Inc. All rights reserved. +# See COPYING.txt for license details. + # frozen_string_literal: true namespace :test do diff --git a/rakelib/update.rake b/rakelib/update.rake index 62e47b6d60d..368f924e678 100644 --- a/rakelib/update.rake +++ b/rakelib/update.rake @@ -1,3 +1,6 @@ +# Copyright © Magento, Inc. All rights reserved. +# See COPYING.txt for license details. + # frozen_string_literal: true namespace :update do diff --git a/scripts/docs-from-code.sh b/scripts/docs-from-code.sh index 06f6b6f5412..536b4dd906d 100755 --- a/scripts/docs-from-code.sh +++ b/scripts/docs-from-code.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# Copyright © Magento, Inc. All rights reserved. +# See COPYING.txt for license details. + dir=$1 repo=$2 branch=$3