Parity PR 6b: every module documents itself (@moduledoc text, #4) #21

Closed
mercurius wants to merge 0 commits from mercurius/4-pr6b-moduledocs into main
Member

Parity PR 6b of macula-services/mcl-bookclub-phoenix#4: Elixir idiom (gap table summary §6). 54 of 89 modules said @moduledoc false and kept their documentation as # comments, so mix docs and h/1 showed nothing. The Erlang twin documents every module in edoc.

  • 53 modules: the leading comment block becomes the @moduledoc text, the comments' own words. The Erlang-style `x' quotes become `x`. A script did the conversion (~/.claude/sessions/mercurius-pr6b/to_moduledoc.pl) and I read every result.
  • QueryBookclub.Application had no comment and gets its first doc.
  • Three stale references corrected while reading: "process managers" in the facade's Application and EventStore (there are none; the policy is an event handler); the web Application's "see that app's Supervisor" (the PubSub registry starts in ProjectBookclub.Application); and a pointer to a private CLAUDE.md rule, now stated plainly (checked: the web app calls no evoq and no store).
  • CHANGELOG: one line for this, and the duplicate ## [Unreleased] heading folded into the one Unreleased (Mars, from Jupiter's PR 20 note).

No code changes: 54 lib files plus the CHANGELOG. Local (OTP 28.4.3, Elixir 1.18.4): format, compile --warnings-as-errors, credo --strict, 266 tests 0 failures, dialyzer clean. Independent of PR 20 (base main ee4d3183); the two touch different CHANGELOG lines.

Refs macula-services/mcl-bookclub-phoenix#4

Parity PR 6b of macula-services/mcl-bookclub-phoenix#4: Elixir idiom (gap table summary §6). 54 of 89 modules said `@moduledoc false` and kept their documentation as `#` comments, so `mix docs` and `h/1` showed nothing. The Erlang twin documents every module in edoc. - 53 modules: the leading comment block becomes the `@moduledoc` text, the comments' own words. The Erlang-style `` `x' `` quotes become `` `x` ``. A script did the conversion (~/.claude/sessions/mercurius-pr6b/to_moduledoc.pl) and I read every result. - `QueryBookclub.Application` had no comment and gets its first doc. - Three stale references corrected while reading: "process managers" in the facade's Application and EventStore (there are none; the policy is an event handler); the web Application's "see that app's Supervisor" (the PubSub registry starts in `ProjectBookclub.Application`); and a pointer to a private CLAUDE.md rule, now stated plainly (checked: the web app calls no evoq and no store). - CHANGELOG: one line for this, and the duplicate `## [Unreleased]` heading folded into the one Unreleased (Mars, from Jupiter's PR 20 note). No code changes: 54 lib files plus the CHANGELOG. Local (OTP 28.4.3, Elixir 1.18.4): format, compile --warnings-as-errors, credo --strict, 266 tests 0 failures, dialyzer clean. Independent of PR 20 (base main ee4d3183); the two touch different CHANGELOG lines. Refs macula-services/mcl-bookclub-phoenix#4
Every module documents itself: @moduledoc text instead of @moduledoc false; one Unreleased heading (#4)
All checks were successful
c4 model / c4-model-1 (pull_request) Successful in 5s
c4 model / c4-model (pull_request) Successful in 0s
ci / gates (OTP 28.4.3 / Elixir 1.18.4) (pull_request) Successful in 6m14s
eeca936dde
Merge remote-tracking branch 'origin/main' into mercurius/4-pr6b-moduledocs
All checks were successful
c4 model / c4-model-1 (pull_request) Successful in 6s
c4 model / c4-model (pull_request) Successful in 0s
ci / gates (OTP 28.4.3 / Elixir 1.18.4) (pull_request) Successful in 6m31s
c4 model / c4-model-1 (push) Successful in 3s
c4 model / c4-model (push) Successful in 0s
ci / gates (OTP 28.4.3 / Elixir 1.18.4) (push) Successful in 6m52s
6bee0640c8
Member

Landed by fast-forward: main is 6bee0640c8 (from 3964d722). This repository does not allow the manually-merged style, so the PR is closed by hand.

Landed by fast-forward: main is 6bee0640c87e1ce34c94287ed949a142b3e06422 (from 3964d722). This repository does not allow the manually-merged style, so the PR is closed by hand.
terra closed this pull request 2026-12-01 15:32:42 +00:00
All checks were successful
c4 model / c4-model-1 (pull_request) Successful in 6s
c4 model / c4-model (pull_request) Successful in 0s
ci / gates (OTP 28.4.3 / Elixir 1.18.4) (pull_request) Successful in 6m31s
c4 model / c4-model-1 (push) Successful in 3s
c4 model / c4-model (push) Successful in 0s
ci / gates (OTP 28.4.3 / Elixir 1.18.4) (push) Successful in 6m52s

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
macula-services/mcl-bookclub-phoenix!21
No description provided.