Skip to content

Commit 3ba53fb

Browse files
committed
dont show internal functions in docs
1 parent efffbeb commit 3ba53fb

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

lib/scenic/component.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ defmodule Scenic.Component do
3131
Primitive.SceneRef.add_to_graph(graph, {__MODULE__, data}, opts)
3232
end
3333

34+
@doc false
3435
def info(data) do
3536
"""
3637
#{inspect(__MODULE__)} invalid add_to_graph data

lib/scenic/scene.ex

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,13 +338,19 @@ defmodule Scenic.Scene do
338338
# Here so that the scene can override if desired
339339
# def init(_, _, _), do: {:ok, nil}
340340

341+
@doc false
341342
def handle_call(_msg, _from, state), do: {:reply, :err_not_handled, state}
343+
@doc false
342344
def handle_cast(_msg, state), do: {:noreply, state}
345+
@doc false
343346
def handle_info(_msg, state), do: {:noreply, state}
344347

348+
@doc false
345349
def handle_input(event, _, scene_state), do: {:noreply, scene_state}
350+
@doc false
346351
def filter_event(event, _from, scene_state), do: {:continue, event, scene_state}
347352

353+
@doc false
348354
def start_dynamic_scene(supervisor, parent, args, opts \\ []) do
349355
has_children =
350356
case unquote(using_opts)[:has_children] do
@@ -385,6 +391,7 @@ defmodule Scenic.Scene do
385391
defp scene_ref(), do: Process.get(:scene_ref)
386392

387393
# child spec that really starts up scene, with this module as an option
394+
@doc false
388395
def child_spec({args, opts}) when is_list(opts) do
389396
%{
390397
id: make_ref(),

0 commit comments

Comments
 (0)