Skip to content

Fix scout setup <framework> pointing at 404ing documentation links - #32

Open
quinnmil wants to merge 3 commits into
mainfrom
27-setup-framework-links
Open

Fix scout setup <framework> pointing at 404ing documentation links#32
quinnmil wants to merge 3 commits into
mainfrom
27-setup-framework-links

Conversation

@quinnmil

Copy link
Copy Markdown
Contributor

Closes #27

Summary

scout setup <framework> built every framework's docs link as https://scoutapm.com/docs/<framework>. Scout's docs are organized by language, not by framework, so all 11 links 404'd.

Fix

Each framework entry now carries its own explicit, individually-verified docsURL instead of deriving one from the framework name.

Framework URL
rails /docs/ruby
django /docs/python/django
flask /docs/python/flask
phoenix /docs/elixir
express /docs/node/express
laravel /docs/php/laravel
sinatra /docs/ruby/sinatra
fastapi /docs/python/fastapi
celery /docs/python/celery
dramatiq /docs/python/other-libraries#dramatiq
sidekiq /docs/ruby#instrumented-libraries

Four frameworks (rails, phoenix, sidekiq, dramatiq) don't have a dedicated page — each points at the closest real page instead (the relevant language guide, or an anchor in a page that specifically covers it).

Test plan

  • Every URL above independently verified to return 200 (re-checked live, not just trusted from the issue)
  • The old /docs/<framework> pattern re-confirmed to 404 for all 11
  • New tests: the framework table is well-formed and no entry's URL is derivable from its name (guards against the same bug recurring), plus explicit lookup tests for a handful of frameworks and an unknown-framework case
  • go test -race ./..., go vet, gofmt, golangci-lint run — clean
  • scout setup / scout setup <name> smoke tested for several frameworks

🤖 Generated with Claude Code

https://claude.ai/code/session_01BK3fzED9ksTWsvoPfsEwpS

quinnmil and others added 3 commits September 11, 2026 10:23
Every open PR editing CHANGELOG.md's `## Pending` section directly meant
any two concurrent PRs collided on the same lines, and each merge forced
the next PR to redo the conflict resolution. Add changelog.d/, where each
PR drops a new file instead of editing the shared section, so concurrent
PRs can never conflict on this axis. scripts/assemble_changelog.py folds
the fragments into a versioned CHANGELOG.md section at release time.

See changelog.d/README.md for the fragment format and
.claude/commands/release.md for the updated release process (not
committed here — .claude/ isn't tracked in this repo yet).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BK3fzED9ksTWsvoPfsEwpS
Every framework's docs link was built as `https://scoutapm.com/docs/<framework>`,
but Scout's docs are organized by language, so all 11 links 404'd. Each
framework entry now carries its own verified URL.

Four frameworks have no dedicated docs page, so they point at the closest
working one:

- rails    -> /docs/ruby (the Ruby agent install guide)
- phoenix  -> /docs/elixir (the Elixir agent install guide)
- sidekiq  -> /docs/ruby#instrumented-libraries
- dramatiq -> /docs/python/other-libraries#dramatiq

All URLs verified at HTTP 200 with no redirect.

Closes #27

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BK3fzED9ksTWsvoPfsEwpS
Drop changelog.d/ and the assembly script. Move this PR's changelog
entry into CHANGELOG.md's Pending section directly.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BK3fzED9ksTWsvoPfsEwpS
@quinnmil
quinnmil force-pushed the 27-setup-framework-links branch from 1524277 to 5dd2a98 Compare September 11, 2026 17:26
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.

scout setup <framework>: every framework's documentation link 404s

1 participant