From 58fd7a8ebb3d86ccfbd190161b1518fd36472d96 Mon Sep 17 00:00:00 2001 From: Peter Metz Date: Tue, 23 Sep 2025 07:28:53 -0700 Subject: [PATCH] docs(api): fix broken changeset_library GitHub URLs (.js -> .ts) (#7131) Signed-off-by: Peter Metz --- doc/api/changeset_library.adoc | 4 ++-- doc/api/changeset_library.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/changeset_library.adoc b/doc/api/changeset_library.adoc index 99ae77375..98f43c0a9 100644 --- a/doc/api/changeset_library.adoc +++ b/doc/api/changeset_library.adoc @@ -1,6 +1,6 @@ == Changeset Library -The https://github.com/ether/etherpad-lite/blob/develop/src/static/js/Changeset.js[changeset +The https://github.com/ether/etherpad-lite/blob/develop/src/static/js/Changeset.ts[changeset library] provides tools to create, read, and apply changesets. @@ -31,7 +31,7 @@ const AttributePool = require('ep_etherpad-lite/static/js/AttributePool'); ---- Changesets do not include any attribute key–value pairs. Instead, they use -numeric identifiers that reference attributes kept in an https://github.com/ether/etherpad-lite/blob/develop/src/static/js/AttributePool.js[attribute pool]. +numeric identifiers that reference attributes kept in an https://github.com/ether/etherpad-lite/blob/develop/src/static/js/AttributePool.ts[attribute pool]. This attribute interning reduces the transmission overhead of attributes that are used many times. diff --git a/doc/api/changeset_library.md b/doc/api/changeset_library.md index 3b602bfbd..91d3cbe0a 100644 --- a/doc/api/changeset_library.md +++ b/doc/api/changeset_library.md @@ -29,7 +29,7 @@ const AttributePool = require('ep_etherpad-lite/static/js/AttributePool'); Changesets do not include any attribute key–value pairs. Instead, they use numeric identifiers that reference attributes kept in an [attribute -pool](https://github.com/ether/etherpad-lite/blob/develop/src/static/js/AttributePool.js). +pool](https://github.com/ether/etherpad-lite/blob/develop/src/static/js/AttributePool.ts). This attribute interning reduces the transmission overhead of attributes that are used many times.