diff --git a/.changeset/wicked-masks-serve.md b/.changeset/wicked-masks-serve.md new file mode 100644 index 000000000..e07629e92 --- /dev/null +++ b/.changeset/wicked-masks-serve.md @@ -0,0 +1,5 @@ +--- +"@livekit/api-documenter": patch +--- + +preserve casing in generated docs page slugs diff --git a/tooling/api-documenter/src/utils/Utilities.ts b/tooling/api-documenter/src/utils/Utilities.ts index 0416dc7fa..987b193a0 100644 --- a/tooling/api-documenter/src/utils/Utilities.ts +++ b/tooling/api-documenter/src/utils/Utilities.ts @@ -21,6 +21,6 @@ export class Utilities { public static getSafeFilenameForName(name: string): string { // TODO: This can introduce naming collisions. // We will fix that as part of https://github.com/microsoft/rushstack/issues/1308 - return name.replace(Utilities._badFilenameCharsRegExp, '_').toLowerCase(); + return name.replace(Utilities._badFilenameCharsRegExp, '_'); } }