chore(license-check): exclude auto-generated API sidebar files

docs/scripts/convert-api-sidebar.mjs generates docs/developer_docs/api/sidebar.js
and sidebar.ts from the OpenAPI spec at build time. The source dir is
.gitignored, so this hadn't surfaced before — but the 6.1.0 cut for developer_docs
captured a snapshot of those generated files in
developer_docs_versioned_docs/version-6.1.0/api/, which is tracked in git.
Apache RAT then flagged the missing license headers.

Add the basenames to .rat-excludes; they're auto-generated artifacts of an
ASF-licensed generator and don't carry their own headers.
This commit is contained in:
Superset Dev
2026-05-04 09:26:16 -07:00
parent 5a5a0e70fc
commit a7aa97f313

View File

@@ -43,6 +43,9 @@ _build/*
_static/*
.buildinfo
searchindex.js
# auto-generated by docs/scripts/convert-api-sidebar.mjs from openapi.json
sidebar.js
sidebar.ts
# auto generated
requirements/*
# vendorized