Skip to content

docs: fix ex_doc broken references#59

Merged
Taure merged 1 commit into
mainfrom
docs/fix-exdoc-debt
Jun 29, 2026
Merged

docs: fix ex_doc broken references#59
Taure merged 1 commit into
mainfrom
docs/fix-exdoc-debt

Conversation

@Taure

@Taure Taure commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Clears the five long-standing ex_doc warnings (surfaced during the docs-drift audit follow-up).

Fixes

  • guides/self-hosting.md + LICENSE exist but were missing from the ex_doc extras list, so the README links to them never resolved to generated pages. Added both (self-hosting.md joins the Guides group; license.html now renders).
  • configuration.md / websocket-protocol.md were dead links in lua-scripting.md's Next Steps — no such files exist in this repo. Repointed to the canonical pages on asobi.dev (/docs/configuration, /docs/protocols/websocket) and added a Self-hosting link.
  • asobi_lua_loader:bounded_eval/2 in security-trust-model.md autolinked a private function (ADR 0002 keeps bounded_eval for init/tick/get_state, but it isn't exported), so ex_doc warned. Reworded to name the wrapper without the broken autolink.

Verification

rebar3 ex_doc now builds with zero warnings; rebar3 fmt --check and compile clean. doc/ is gitignored, so no generated output is committed.

ex_doc emitted five warnings on every build:

- guides/self-hosting.md and LICENSE exist but were not in the ex_doc
  extras list, so the README links to them did not resolve. Added both
  (self-hosting.md to the Guides group).
- lua-scripting.md's Next Steps linked configuration.md and
  websocket-protocol.md, which do not exist in this repo. Repointed them
  to the canonical pages on asobi.dev and added the self-hosting link.
- security-trust-model.md autolinked asobi_lua_loader:bounded_eval/2,
  which is private (ADR 0002 keeps it for init/tick/get_state but it is
  not exported). Reworded to name the wrapper without the dead autolink.

ex_doc now builds with zero warnings.
@Taure Taure merged commit f53fc9e into main Jun 29, 2026
15 checks passed
@Taure Taure deleted the docs/fix-exdoc-debt branch June 29, 2026 18:09
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.

1 participant