Skip to content

Commit

Permalink
fix: no warnings on CHANGELOG when generating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hpopp committed Sep 10, 2024
1 parent 587362b commit 0b4dcbd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/pigeon.ex
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ defmodule Pigeon do
- `Pigeon.ADM` - Amazon Android.
- `Pigeon.APNS` - Apple iOS.
- `Pigeon.FCM` - Firebase Cloud Messaging v1 API.
- `Pigeon.LegacyFCM` - Firebase Cloud Messaging Legacy API.
## Creating Dynamic Runtime Dispatchers
Expand Down Expand Up @@ -97,6 +96,9 @@ defmodule Pigeon do
notification :: struct | no_return
@spec push(pid | atom, notifications :: [notification, ...], push_opts) ::
notifications :: [struct, ...] | no_return
@doc """
Sends a push notification with given options.
"""
def push(pid, notifications, opts \\ [])

def push(pid, notifications, opts) when is_list(notifications) do
Expand Down
1 change: 1 addition & 0 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ defmodule Pigeon.Mixfile do
],
formatters: ["html"],
main: "Pigeon",
skip_undefined_reference_warnings_on: ["CHANGELOG.md"],
source_ref: "v#{@version}",
source_url: @source_url
]
Expand Down

0 comments on commit 0b4dcbd

Please sign in to comment.