Skip to content

Conversation

@matthewp
Copy link
Owner

Summary

Fixes broken links throughout the docs site and creates dedicated pages for each core FSM concept, addressing all issues reported in #249.

Changes

Fixed Broken Links

  • Fixed Footer GitHub link (generic https://github.comhttps://github.com/matthewp/robot)
  • Changed Footer "API Reference" label to "Documentation" (was pointing to wrong page)
  • Fixed all /docs/createMachine/ links to /docs/createmachine/ (lowercase to match build output)
  • Removed broken robot/debug link reference from main page
  • Ensured all doc links have trailing slashes

Created Dedicated Core Concept Pages

Previously, all core concepts were hash sections on one page. Now each has its own dedicated page focused on FSM theory and patterns:

  • /docs/concepts-state/ - Understanding State in FSMs
  • /docs/concepts-transitions/ - Understanding Transitions
  • /docs/concepts-events/ - Understanding Events
  • /docs/concepts-guards/ - Understanding Guards
  • /docs/concepts-actions/ - Understanding Actions

Updated Existing Pages

  • Updated core-concepts.md to serve as overview page with links to detailed concept pages
  • Updated sidebar to link to individual concept pages instead of hash sections

Why These Changes?

The concept pages are now distinct from API reference pages:

  • Concept pages (concepts-*.md): Educational content about FSM theory, patterns, and best practices
  • API pages (state.md, transition.md, etc.): Technical reference for Robot's specific implementation

This separation makes it easier for users to learn FSM concepts vs looking up API syntax.

Fixes #249

@changeset-bot
Copy link

changeset-bot bot commented Oct 31, 2025

⚠️ No Changeset found

Latest commit: a72259e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

- Fix broken links:
  - Update Footer GitHub link from generic to project-specific
  - Change Footer "API Reference" label to "Documentation"
  - Fix all /docs/createMachine/ links to /docs/createmachine/ (lowercase)
  - Remove broken robot/debug link reference
  - Ensure all doc links have trailing slashes

- Create dedicated core concept pages:
  - Add concepts-state.md - Understanding State in FSMs
  - Add concepts-transitions.md - Understanding Transitions
  - Add concepts-events.md - Understanding Events
  - Add concepts-guards.md - Understanding Guards
  - Add concepts-actions.md - Understanding Actions

- Update core-concepts.md to serve as overview page with links to detailed concept pages
- Update DocsSidebar to link to new individual concept pages instead of hash sections

Fixes #249
@matthewp matthewp merged commit 5c29eac into main Oct 31, 2025
2 checks passed
@Zearin Zearin mentioned this pull request Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

new docs broken

2 participants