From ecdbf7fa422c3956a27e7c732df71271dbff1b58 Mon Sep 17 00:00:00 2001 From: Ben Cherry Date: Mon, 16 Dec 2024 16:29:25 -0800 Subject: [PATCH 1/2] preserve casing in generated docs page slugs --- tooling/api-documenter/src/utils/Utilities.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, '_'); } } From ade62d469c6ebff27b2a3ec661b8d3ec6379027f Mon Sep 17 00:00:00 2001 From: Ben Cherry Date: Tue, 17 Dec 2024 14:43:53 -0800 Subject: [PATCH 2/2] Create wicked-masks-serve.md --- .changeset/wicked-masks-serve.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/wicked-masks-serve.md 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