Skip to content

🐛 doc: fix 404 links, dead Run buttons, add examples + FAQ#710

Merged
kris-jusiak merged 3 commits into
boost-ext:masterfrom
PavelGuzenfeld:docs/site-content-fixes
Jun 2, 2026
Merged

🐛 doc: fix 404 links, dead Run buttons, add examples + FAQ#710
kris-jusiak merged 3 commits into
boost-ext:masterfrom
PavelGuzenfeld:docs/site-content-fixes

Conversation

@PavelGuzenfeld

Copy link
Copy Markdown
Contributor

Fix broken site content reported on https://boost-ext.github.io/sml/

Follow-up to #709 (which landed the docs-deploy + release automation). These are the on-page fixes; merging will auto-deploy via the docs workflow.

404 links (index.md)

  • The Changelog / Tutorial / Examples buttons and the "Try it online" link pointed at <page>/index.html, which 404 under use_directory_urls: false. Repointed to the flat CHANGELOG.html / tutorial.html / examples.html, and fixed the hsttp:// typo. Verified against the built tree — examples.html#hello-world resolves to an existing anchor.

Dead "Run" buttons → Compiler Explorer

  • Removed the broken ![CPP(BTN)](Run_*) buttons (39, across index/tutorial/user_guide) — they rendered as a broken placeholder image. Each was already paired with a working ▶ Run on Compiler Explorer link, so only the dead button is dropped.
  • Compiler Explorer links now open in a new browser tab (utility.js).

New examples

  • Added Eval, Visitor, Dispatch Policy to examples.md (present in example/ but undocumented), each with a verified Compiler Explorer link.

FAQ — from open issues

Answers grounded in the User Guide API table and the v1.2.0 CHANGELOG:

I left a comment on each of those issues pointing at the answer. Drop any FAQ entry you'd rather not keep.

Built locally with MkDocs 1.6 / Python 3.12 — clean; no remaining /index.html, hsttp://, or CPP(BTN) strings in the output.

…er in a new tab

- index.md: the Changelog/Tutorial/Examples buttons and the 'Try it online'
  link pointed at <page>/index.html, which 404 under use_directory_urls:false;
  point them at the flat CHANGELOG.html/tutorial.html/examples.html (and fix the
  'hsttp://' typo).
- Remove the broken ![CPP(BTN)](Run_*) buttons from index/tutorial/user_guide;
  each was already paired with a working 'Run on Compiler Explorer' link, so only
  the dead button is dropped.
- utility.js: open godbolt.org (Compiler Explorer) links in a new browser tab.
…n issues

- examples.md: add Eval, Visitor and Dispatch Policy (present in example/ but
  undocumented), each with a verified Compiler Explorer link.
- faq.md: add answers grounded in the user-guide API table and v1.2.0 CHANGELOG
  for recurring questions (current-state inspection, multi-state checks, event
  handling/return value, async dispatch via flush_queue, clear_defer, Boost
  status, Moore vs Mealy).
@kris-jusiak kris-jusiak merged commit de8d45d into boost-ext:master Jun 2, 2026
5 checks passed
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.

2 participants