Skip to content

Reference: add landing page#4974

Merged
shannonbradshaw merged 2 commits intoviamrobotics:mainfrom
shannonbradshaw:reference-landing
Apr 18, 2026
Merged

Reference: add landing page#4974
shannonbradshaw merged 2 commits intoviamrobotics:mainfrom
shannonbradshaw:reference-landing

Conversation

@shannonbradshaw
Copy link
Copy Markdown
Collaborator

Summary

  • New docs/reference/overview.md with a one-paragraph intro and a 9-row table mapping each subsection to what it's for (APIs, Components, Services, SDKs, viam-server, viam-agent, Triggers, Device setup, Glossary).
  • Stubbed docs/reference/_index.md with manualLink: "/reference/overview/". All existing aliases preserved.

Before this PR /reference/ rendered an empty page and the sidebar section header had nothing to click.

Scope expansion (flagged)

docs/reference/viam-server.md (merged in #4971, before the foundation → set-up-a-machine rename in #4972) had a card linking to /foundation/. Hugo's card shortcode validates canonical URLs, not aliases, so make build-prod errored with Card has a bad link: /foundation. Updated the link to /set-up-a-machine/. Gap surfaced during verification, not introduced by this PR.

Verification

Confirmed each of the nine destinations resolves (frontmatter inspection + build):

  • /reference/apis/, /reference/components/, /reference/services/, /reference/sdks/, /reference/viam-server/, /reference/viam-agent/, /reference/triggers/, /reference/device-setup/, /reference/glossary/

Test plan

  • npx prettier --write clean
  • vale docs/reference/ clean
  • make build-prod clean
  • /reference/, /reference/overview/, all 9 subsection URLs, and /set-up-a-machine/ return 200 locally
  • Netlify deploy preview loads the landing page and each table row links to a live page

🤖 Generated with Claude Code

Reference section previously had an empty _index.md with no landing
content and no manualLink, so /reference/ rendered an empty page and
the section header in the sidebar had nothing to click.

Changes:

- New overview.md with linkTitle "Overview", title "Reference", and
  a table of the section's nine subsections with one-line "use it
  for" blurbs (APIs, Components, Services, SDKs, viam-server,
  viam-agent, Triggers, Device setup, Glossary).
- _index.md stubbed: kept all the legacy aliases, added manualLink
  to /reference/overview/.

Scope expansion, flagged:

- reference/viam-server.md (merged in PR viamrobotics#4971 before the
  foundation → set-up-a-machine rename in viamrobotics#4972) had a card linking
  to /foundation/, which is no longer a canonical URL. Hugo's card
  shortcode validates canonical URLs, not aliases, so the build
  errors with "Card has a bad link: /foundation". Updated the link
  to /set-up-a-machine/. This is a gap surfaced during verification
  while I was running make build-prod for the landing page, not
  anything I caused.

Verified locally: make build-prod clean; /reference/,
/reference/overview/, all nine subsection URLs, plus
/set-up-a-machine/ all return 200.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 18, 2026

Deploy Preview for viam-docs ready!

Name Link
🔨 Latest commit a12d882
🔍 Latest deploy log https://app.netlify.com/projects/viam-docs/deploys/69e378412814c1000746c30d
😎 Deploy Preview https://deploy-preview-4974--viam-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 39 (🔴 down 4 from production)
Accessibility: 99 (no change from production)
Best Practices: 92 (no change from production)
SEO: 89 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@viambot viambot added the safe to build This pull request is marked safe to build from a trusted zone label Apr 18, 2026
htmltest caught a second `/foundation/` link at line 297 (alert tip
linking to the set-up-a-machine section) that my earlier grep pass
missed because the link text said "Set up a machine" but the target
was still the legacy path.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@shannonbradshaw shannonbradshaw merged commit 47b7b21 into viamrobotics:main Apr 18, 2026
12 checks passed
@github-actions
Copy link
Copy Markdown

🔎💬 Inkeep AI search and chat service is syncing content for source 'Viam Docs'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to build This pull request is marked safe to build from a trusted zone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants