--- hide-sidebar-secondary: true --- # 📄 File Format Each function of Bookshelf should have a header to indicate the license. --- Header to put at the beginning of each function: ``` # ------------------------------------------------------------------------------------------------------------ # Copyright (c) Gunivers # # This file is part of the Bookshelf project (https://github.com/mcbookshelf/bookshelf). # # This source code is subject to the terms of the Mozilla Public License, v. 2.0. # If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. # # Conditions: # - You may use this file in compliance with the MPL v2.0 # - Any modifications must be documented and disclosed under the same license # # For more details, refer to the MPL v2.0. # ------------------------------------------------------------------------------------------------------------ ``` If a Bookshelf contributor forgot to put a header at the beginning of a function, the CI/CD pipeline will reject the merge of the contribution in Bookshelf. To ensure the code meets the minimal requirements, see the [contribution validation page](project:contribution-validation.md).