rayex

rayex

For hex package islands_score the source @spec for function format/2 is as such:

@spec format(t, keyword) :: :ok

Why does it show on 4 lines in the ExDoc html documentation:


A few ExDoc versions ago it appeared on a single line as expected:
image

First Post!

adamu

adamu

That’s weird. Seems to be something funny going on with keyword(). Changing it to [{atom(), atom()}] or Keyword.t() puts it back on one line.

Most Liked

rayex

rayex OP

I opened an ex_doc issue and it will be fixed in a future (hopefully next) version:
Closed #2245 as completed via a806765.
[Solved]

Where Next? Top

Trending in Troubleshooting Top

karlosmid
Hi Parker and Shannon, First, thank you for Oban and Oban Web. They’re a pleasure to build on, and the resolver’s format_job_args/1 and ...
New

Other Trending Topics Top

schainks
SystemOneClient v0.2.0 has been released. Added provider: :openai for OpenAI’s Decisions API (POST /v1/decisions, default model gpt-6-...
New
GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
budgie
A little off-topic, but I feel like people here have a good head on their shoulders. I used to be quite good at making software. Was luc...
New
KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews