Files
mattermost/docs/develop/integrate/plugins/source-available-license.md
2cce4231cb docs: fix broken internal links and fail CI on new ones (#39953)
* docs: fix broken internal links in developer and product docs

Contributor guide linked to root-level /why-contribute, /good-decisions,
/expectations and /more-info; switch these and other root-relative or
moved-page links to relative file links or current paths. Repoint absolute
docs.mattermost.com links that no longer resolve, demote body-level H1s
that Docusaurus renders without ids, and fix stale anchors.

* docs: register plugin reference anchors with the broken-link checker

The generated server/webapp/manifest reference components render raw
elements with ids, which Docusaurus does not see, so every deep link into
them was reported as a broken anchor.

* docs: fail CI on broken links and unresolvable absolute docs links

Set onBrokenLinks and onBrokenMarkdownLinks to throw now that the build is
clean, keep onBrokenAnchors at warn, and add check:absolute-links to Docs CI
to validate absolute https://docs.mattermost.com links against the build.

* chore(docs): refresh rendered IME diagram

Auto-generated by .github/workflows/docs-ime-render.yml.

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-12 09:36:39 +02:00

2.2 KiB

title, sidebar_position
title sidebar_position
Source available license 140

Some plugins authored by Mattermost are licensed under the Mattermost Source Available License. This document outlines how to apply the license in various situations.

How do I apply the license to an enterprise-only plugin?

An Enterprise-only plugin is a plugin that requires a valid Mattermost Enterprise E20 license. It is not designed to be used with Team Edition or any other Enterprise license.

  1. Add the LICENSE file to the root of your plugin repository.

  2. Add the following section to your README.md directly below the opening paragraph:

    ## License
    
    This repository is licensed under the [Mattermost Source Available License](LICENSE) and requires a valid Enterprise E20 license. See [Mattermost Source Available License](https://docs.mattermost.com/overview/faq.html#mattermost-source-available-license) to learn more.
    

How do I apply the license to a mixed-license plugin?

A mixed-license plugin includes components that require a valid Mattermost Enterprise E20 license. Not all features are available when used with Team Edition or any other enterprise license.

  1. Organize the Enterprise-only, server-side parts of your plugin in a dedicated folder, typically server/enterprise.

  2. Add the LICENSE file to the server/enterprise folder.

  3. Symlink that license in the root of your repository as LICENSE.enterprise.

  4. Add the following section to your README.md directly below the opening paragraph:

    ## License
    
    This repository is licensed under the Apache 2.0 License, except for the [server/enterprise](server/enterprise) directory which is licensed under the [Mattermost Source Available License](LICENSE.enterprise). See [Mattermost Source Available License](https://docs.mattermost.com/overview/faq.html#mattermost-source-available-license) to learn more.