Skip to content

Commit

Permalink
docs: fix function load() link (#4013)
Browse files Browse the repository at this point in the history
  • Loading branch information
ya-luotao committed Aug 17, 2024
1 parent 2dbe60e commit 6642a81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/load-parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const parse = getParse((content, options, isDocument, context) =>
* @param options - Options for the created instance.
* @param isDocument - Allows parser to be switched to fragment mode.
* @returns The loaded document.
* @see {@link https://cheerio.js.org#loading} for additional usage information.
* @see {@link https://cheerio.js.org/docs/basics/loading#load} for additional usage information.
*/
export const load: (
content: string | AnyNode | AnyNode[] | Buffer,
Expand Down
2 changes: 1 addition & 1 deletion src/load.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export function getLoad(
* @param options - Options for the created instance.
* @param isDocument - Allows parser to be switched to fragment mode.
* @returns The loaded document.
* @see {@link https://cheerio.js.org#loading} for additional usage information.
* @see {@link https://cheerio.js.org/docs/basics/loading#load} for additional usage information.
*/
return function load(
content: string | AnyNode | AnyNode[] | Buffer,
Expand Down

0 comments on commit 6642a81

Please sign in to comment.