Skip to content

Commit e1ee9e4

Browse files
committed
Docs styleguide: omitting trailing slashes in internal links is fine
1 parent 6c70d2c commit e1ee9e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.doc.holiday/styleguide-docs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ Linking strategy and examples
159159

160160
**Internal links**
161161
- Use absolute doc-root paths starting with `/` for internal links. This keeps references stable across pages and ensures consistent Mintlify navigation.
162-
- Always add a trailing slash to internal links when linking to a page. When linking to an anchor, add a trailing slash before the hash character.
163-
- Format: `[Link text](/section/subsection/page/)`
162+
- Internal links may or may not have trailing slashes.
163+
- Format: `[Link text](/section/subsection/page)` or `[Link text](/section/subsection/page/)`
164164
- Casing of link text:
165165
- Use title case when the link text corresponds to the title of the target page.
166166
- Use sentence case in all other cases.

0 commit comments

Comments
 (0)