Licensing
Document-as-Code Lab uses different licenses for software and educational content. These are separate scopes, not a choice of either license for every file. Explicit third-party notices take precedence for the material they identify.
Software: MIT
Original software in this repository is licensed under the MIT License. This includes:
- Astro components, layouts, routes, plugins, and utilities in
site/. - Scripts in
scripts/and tests intests/. - GitHub Actions workflows and build configuration.
- Runnable code examples, schemas, and code snippets embedded in the tutorial.
Documentation and educational assets inside these folders are covered by the content license below rather than MIT.
MIT License
Copyright (c) 2026 Anders Gustafsson and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Official reference: MIT License.
Educational Content: CC BY 4.0
Unless otherwise identified, original educational content in this repository is licensed under the Creative Commons Attribution 4.0 International License.
This includes tutorial prose in docs/, reference notes, README files, the glossary, contribution guidance, the roadmap, educational example text and datasets, and original diagrams and illustrations. Runnable code and code snippets are covered by MIT as described above.
Copyright (c) 2026 Anders Gustafsson and contributors, to the extent copyright applies.
You may share and adapt this content, including commercially, subject to the license terms. When sharing it, retain supplied attribution and notices, link to the license, and indicate changes. The content is provided without warranties under the license.
Suggested attribution:
Document-as-Code Lab by Anders Gustafsson and contributors, licensed under CC BY 4.0. Source: https://github.com/And-Gu/document-as-code-lab. Indicate any changes you make.
The full CC BY 4.0 legal text governs this grant; this description does not replace it.
Generated Publications
Generating a website, PDF, presentation, chart, or selected excerpt does not change the license of its source material. Preserve the applicable notices and attribution when distributing generated outputs. A publication containing both code and educational content retains the separate licenses for those parts.
Third-Party Material
Dependencies, third-party assets, quoted material, and externally supplied examples retain their own licenses and notices. This file does not grant rights that the project’s authors do not hold. Links to external resources do not license those resources under this project’s terms.
Third-party material must be identified with its source and applicable license or permission. Review ownership and permissions before public distribution; this file is not evidence that such a review has been completed.