Skip to content

Commit 263f081

Browse files
Add Table of Contents to API Docs (#5138)
1 parent 4ec155d commit 263f081

24 files changed

+275
-43
lines changed

docs/api/actions/_category_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"label": "Actions",
3-
"position": 20
3+
"position": 40
44
}

docs/api/commands/scrollintoview.mdx renamed to docs/api/actions/scrollintoview.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: scrollIntoView
3+
slug: /api/commands/scrollIntoView
34
---
45

56
Scroll an element into view.

docs/api/commands/scrollto.mdx renamed to docs/api/actions/scrollto.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: scrollTo
3+
slug: /api/commands/scrollTo
34
---
45

56
Scroll to a specific position.

docs/api/assertions/_category_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"label": "Assertions",
3-
"position": 10
3+
"position": 30
44
}

docs/api/commands/_category_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"label": "Other Commands",
3-
"position": 40
3+
"position": 50
44
}
File renamed without changes.

docs/api/cypress-api/_category_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"label": "Cypress API",
3-
"position": 70
3+
"position": 60
44
}

docs/api/events/catalog-of-events.mdx renamed to docs/api/cypress-api/catalog-of-events.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Catalog of Events
3+
sidebar_position: 10
34
---
45

56
Cypress emits a series of events as it runs in your browser.

docs/api/cypress-api/custom-commands.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Custom Commands
3+
sidebar_position: 20
34
---
45

56
Cypress comes with its own API for creating custom commands and overwriting

docs/api/cypress-api/custom-queries.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Custom Queries
3+
sidebar_position: 30
34
---
45

56
Starting in Cypress 12, Cypress comes with its own API for creating custom

0 commit comments

Comments
 (0)