Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/integrations/manufacturers/emporia.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sidebar_position: 3

import { BackLink } from '@components/BackLink';

<BackLink to="/integrations/manufacturers/devices-and-oems" label="Devices & OEMs" />
<BackLink to="/integrations/manufacturers/devices-and-oems" label="Back to Supported Manufacturers" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Use a relative BackLink target

Docs guidelines require internal links to be relative. Swap the absolute /integrations/manufacturers/devices-and-oems for a relative path so navigation stays guideline-compliant.

Apply this diff:

-<BackLink to="/integrations/manufacturers/devices-and-oems" label="Back to Supported Manufacturers" />
+<BackLink to="./devices-and-oems" label="Back to Supported Manufacturers" />
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<BackLink to="/integrations/manufacturers/devices-and-oems" label="Back to Supported Manufacturers" />
<BackLink to="./devices-and-oems" label="Back to Supported Manufacturers" />
🤖 Prompt for AI Agents
In docs/integrations/manufacturers/emporia.md around line 8, the BackLink target
currently uses an absolute path (/integrations/manufacturers/devices-and-oems);
replace it with a relative path (e.g., ../devices-and-oems or
../manufacturers/devices-and-oems as appropriate for the docs structure) so the
internal link is relative and conforms to docs guidelines.


# Emporia

Expand Down
2 changes: 1 addition & 1 deletion scripts/generateManufacturerPages.js
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ sidebar_position: 3

import { BackLink } from '@components/BackLink';

<BackLink to="/integrations/manufacturers/supported-manufacturers" label="Supported Manufacturers" />
<BackLink to="/integrations/manufacturers/devices-and-oems" label="Back to Supported Manufacturers" />

# ${manufacturer.name}

Expand Down
2 changes: 1 addition & 1 deletion src/scripts/generateManufacturerPages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ sidebar_position: 3

import { BackLink } from '@components/BackLink';

<BackLink to="/integrations/manufacturers" label="Supported Manufacturers" />
<BackLink to="/integrations/manufacturers/devices-and-oems" label="Back to Supported Manufacturers" />

# ${manufacturer.name}

Expand Down