Skip to content

Commit bf4004e

Browse files
committed
chore: updated docs
1 parent edafe6f commit bf4004e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/parser.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const createParser = () => {
4141
* with numerous transformations into API doc Metadata entries.
4242
*
4343
* This transformer iterates on several sort of AST Nodes and applies transformations
44-
* and then grabs a subtree of Nodes (groupped by a Heading Node) and then stringifies them into a VFile
44+
* and then grabs a subtree of Nodes (grouped by a Heading Node) and then stringifies them into a VFile
4545
* and finally creates a Metadata entry for the given section.
4646
*
4747
* @type {import('unified').Plugin<[{

src/utils/unist.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ export const transformNodesToString = nodes => {
3838
* based on test conditions related to a Node's position relative to another one
3939
* being before or not the other Node
4040
*
41+
* NOTE: Not yet used, but probably going to be used by the JSON generator.
42+
*
4143
* @param {import('unist').Node | undefined} nodeA The Node to be used as a position reference to check against
4244
* the other Node. If the other Node is before this one, the callback will be called.
4345
* @param {import('unist').Node | undefined} nodeB The Node to be checked against the position of the first Node

0 commit comments

Comments
 (0)