Skip to content

Commit f63a74a

Browse files
committed
docs: remove redundant h1 headings from all docs pages
Starlight automatically renders the frontmatter title as the page h1, so the explicit # Heading lines were duplicate and visually redundant.
1 parent cd1ac2b commit f63a74a

24 files changed

Lines changed: 0 additions & 48 deletions

docs/api/addDays.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: addDays()
33
---
44

5-
# addDays()
6-
75
Adds or subtracts days from a Date object. Handles month boundaries, leap years, and daylight saving time transitions properly.
86

97
## Syntax

docs/api/addHours.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: addHours()
33
---
44

5-
# addHours()
6-
75
Adds or subtracts hours from a Date object.
86

97
## Syntax

docs/api/addMilliseconds.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: addMilliseconds()
33
---
44

5-
# addMilliseconds()
6-
75
Adds or subtracts milliseconds from a Date object.
86

97
## Syntax

docs/api/addMinutes.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: addMinutes()
33
---
44

5-
# addMinutes()
6-
75
Adds or subtracts minutes from a Date object.
86

97
## Syntax

docs/api/addMonths.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: addMonths()
33
---
44

5-
# addMonths()
6-
75
Adds or subtracts months from a Date object. Handles month boundaries, leap years, and varying month lengths appropriately.
86

97
## Syntax

docs/api/addSeconds.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: addSeconds()
33
---
44

5-
# addSeconds()
6-
75
Adds or subtracts seconds from a Date object.
86

97
## Syntax

docs/api/addYears.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: addYears()
33
---
44

5-
# addYears()
6-
75
Adds or subtracts years from a Date object. Handles leap years and edge cases appropriately.
86

97
## Syntax

docs/api/compile.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: compile()
33
---
44

5-
# compile()
6-
75
Precompiles a format string into a reusable compiled object for improved performance when the same format pattern is used repeatedly.
86

97
## Syntax

docs/api/format.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: format()
33
---
44

5-
# format()
6-
75
Formats a Date object according to the specified format string.
86

97
## Syntax

docs/api/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: API Reference
33
---
44

5-
# API Reference
6-
75
Welcome to the comprehensive API reference for date-and-time v4.x. This section provides detailed documentation for all available functions, types, and options.
86

97
## Core Functions

0 commit comments

Comments
 (0)