Skip to content

docs: mix docs builds clean, zero warnings#12

Merged
joshrotenberg merged 1 commit intomainfrom
docs/mix-docs-clean
Apr 18, 2026
Merged

docs: mix docs builds clean, zero warnings#12
joshrotenberg merged 1 commit intomainfrom
docs/mix-docs-clean

Conversation

@joshrotenberg
Copy link
Copy Markdown
Contributor

Summary

22 mix docs warnings → 0.

20 of them: defdelegate auto-follow into hidden module

GenAgentEnsemble and GenAgentEnsemble.IEx both defdelegate into GenAgentEnsemble.Server, which has @moduledoc false. Ex_doc follows the target to render docs and warns that the target is hidden.

Fix: add explicit @doc strings on each defdelegate. Ex_doc uses those instead of following the target.

Side benefit: the public API now has proper per-function docs on hexdocs rather than inheriting silence from Server.

2 of them: dead references to GenAgentEnsemble.chat/1

The chat/1 function was removed in the native-iex pivot (branch chat-repl per memory notes). Two references lingered in Backends.Echo's moduledoc — rewrote the example to use ask/2.

Test plan

  • mix docs — 0 warnings (was 22)
  • mix format --check-formatted clean
  • mix compile --warnings-as-errors clean
  • mix credo --strict clean
  • mix test green (86 tests)

Closes #4

22 hexdocs warnings resolved:

- 20 warnings from defdelegate auto-following into hidden
  GenAgentEnsemble.Server (@moduledoc false). Added @doc strings
  on every defdelegate in GenAgentEnsemble and
  GenAgentEnsemble.IEx so ex_doc uses the explicit docs instead
  of trying to pull from the hidden target. Public API now
  renders proper docs on hexdocs.

- 2 references to a `GenAgentEnsemble.chat/1` that no longer
  exists (removed in the native-iex pivot). Rewrote the Echo
  backend moduledoc example to use ask/2 instead.
@joshrotenberg joshrotenberg merged commit 9bf0972 into main Apr 18, 2026
@joshrotenberg joshrotenberg deleted the docs/mix-docs-clean branch April 18, 2026 04:38
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.

docs: mix docs builds clean before 0.1.0

1 participant