diff --git a/docs/api/node.md b/docs/api/node.md index ff8e1185e..22b04df71 100644 --- a/docs/api/node.md +++ b/docs/api/node.md @@ -2,13 +2,11 @@ ## Static methods -- [Getter methods](#getter-methods) +- [Retrieval methods](#retrieval-methods) - [Text methods](#text-methods) - [Check methods](#check-methods) -### Getter methods - -Methods used to retrieve nodes. +### Retrieval methods ###### `Node.ancestor(root: Node, path: Path): Ancestor` diff --git a/docs/api/path.md b/docs/api/path.md index 161d1c0e7..43de139dd 100644 --- a/docs/api/path.md +++ b/docs/api/path.md @@ -8,13 +8,11 @@ type Path = number[] ## Static methods -- [Relationship methods](#relationship-methods) +- [Retrieval methods](#retrieval-methods) - [Check methods](#check-methods) - [Transform method](#transform-method) -### Relationship methods - -The relationships around the Path like its ancestors, next sibling, etc. +### Retrieval methods ###### `Path.ancestors(path: Path, options: { reverse?: boolean } = {}): Path[]` diff --git a/docs/api/point.md b/docs/api/point.md index efc82b038..91f9594b4 100644 --- a/docs/api/point.md +++ b/docs/api/point.md @@ -12,11 +12,11 @@ interface Point { ## Static methods -- [Relationship methods](#relationship-methods) +- [Retrieval methods](#retrieval-methods) - [Check methods](#check-methods) - [Transform method](#transform-method) -### Relationship methods +### Retrieval methods ###### `Point.compare(point: Point, another: Point): -1 | 0 | 1` diff --git a/docs/api/range.md b/docs/api/range.md index aae2cf45a..9bf4c91dc 100644 --- a/docs/api/range.md +++ b/docs/api/range.md @@ -12,13 +12,11 @@ interface Range { ## Static methods -- [Relationship methods](#relationship-methods) +- [Retrieval methods](#retrieval-methods) - [Check methods](#check-methods) - [Transform method](#transform-method) -### Relationship methods - -Relationship of a Range like its start and end points and the intersection with another Range. +### Retrieval methods ###### `Range.edges(range: Range, options?): [Point, Point]`