From 4383127876447bc1d423c7f5b327918c927ed3fd Mon Sep 17 00:00:00 2001 From: Sunny Hirai Date: Wed, 12 Apr 2023 19:06:18 -0700 Subject: [PATCH] Reorganize Operation docs --- docs/Summary.md | 4 ++-- docs/api/{operation-types.md => operations/README.md} | 8 ++++---- docs/api/{ => operations}/operation.md | 0 3 files changed, 6 insertions(+), 6 deletions(-) rename docs/api/{operation-types.md => operations/README.md} (91%) rename docs/api/{ => operations}/operation.md (100%) diff --git a/docs/Summary.md b/docs/Summary.md index b1c61b62a..740c5934f 100644 --- a/docs/Summary.md +++ b/docs/Summary.md @@ -47,8 +47,8 @@ - [Range](api/locations/range.md) - [RangeRef](api/locations/range-ref.md) - [Span](api/locations/span.md) -- [Operation](api/operation.md) - - [Operation Types](api/operation-types.md) +- [Operation Types](api/operations/README.md) + - [Operation](api/operations/operation.md) - [Scrubber](api/scrubber.md) ## Libraries diff --git a/docs/api/operation-types.md b/docs/api/operations/README.md similarity index 91% rename from docs/api/operation-types.md rename to docs/api/operations/README.md index 26ca63b66..4f7018a9a 100644 --- a/docs/api/operation-types.md +++ b/docs/api/operations/README.md @@ -2,10 +2,10 @@ `Operation` objects define the low-level instructions that Slate editors use to apply changes to their internal state. Representing all changes as operations is what allows Slate editors to easily implement history, collaboration, and other features. -- [Node Operations](operation-types.md#node-operations) -- [Text Operations](operation-types.md#text-operations) -- [Selection Operation](operation-types.md#selection-operation) -- [Base Operation](operation-types.md#base-operation) +- [Node Operations](README.md#node-operations) +- [Text Operations](README.md#text-operations) +- [Selection Operation](README.md#selection-operation) +- [Base Operation](README.md#base-operation) ### Node Operations diff --git a/docs/api/operation.md b/docs/api/operations/operation.md similarity index 100% rename from docs/api/operation.md rename to docs/api/operations/operation.md