Skip to content

chore: Add @moduledoc to DotcomWeb.Router, and @doc to handle_error/2 - #3483

Merged
joshlarson merged 1 commit into
mainfrom
jdl/chore/router-documentation
Sep 9, 2026
Merged

chore: Add @moduledoc to DotcomWeb.Router, and @doc to handle_error/2#3483
joshlarson merged 1 commit into
mainfrom
jdl/chore/router-documentation

Conversation

@joshlarson

Copy link
Copy Markdown
Contributor

Scope

No ticket, and not terribly important either. I just added this because I noticed when working on #3478 that the docs for the new AssignRoute hook didn't link to handle_error/1, and that's because there's nothing to link to, due to @moduledoc false.

Screenshots

Screenshot 2026-09-08 at 6 23 02 PM

Look! Now there's a link!

How to test

Run mix docs, and then look at the docs at <path>/<to>/<dotcom>/doc/DotcomWeb.Hooks.AssignRoute.html#on_mount/4 and <path>/<to>/<dotcom>/doc/DotcomWeb.Router.html

@joshlarson
joshlarson requested a review from a team as a code owner September 8, 2026 22:28
@joshlarson
joshlarson requested a review from lvachon1 September 8, 2026 22:28
@joshlarson
joshlarson enabled auto-merge (squash) September 8, 2026 22:28
Comment thread lib/dotcom_web/router.ex

@lvachon1 lvachon1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

📜

@joshlarson
joshlarson merged commit 155e353 into main Sep 9, 2026
44 of 45 checks passed
@joshlarson
joshlarson deleted the jdl/chore/router-documentation branch September 9, 2026 17:10
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