Skip to content

Commit

Permalink
docs: add CHANGELOG
Browse files Browse the repository at this point in the history
Also: README and hex docs tweaks.
  • Loading branch information
hpopp committed Sep 10, 2024
1 parent ed66b2a commit b272da9
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 19 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## v0.1.0 - 2024-09-10

Initial release.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
[![CI](https://github.com/codedge-llc/pigeon-legacy-fcm/actions/workflows/ci.yml/badge.svg)](https://github.com/codedge-llc/pigeon-legacy-fcm/actions/workflows/ci.yml)

# Pigeon Legacy FCM

> Pigeon adapter for Firebase Cloud Messaging Legacy API.
[![CI](https://github.com/codedge-llc/pigeon-legacy-fcm/actions/workflows/ci.yml/badge.svg)](https://github.com/codedge-llc/pigeon-legacy-fcm/actions/workflows/ci.yml)
[![Version](https://img.shields.io/hexpm/v/pigeon-legacy-fcm.svg)](https://hex.pm/packages/pigeon-legacy-fcm)
[![License](https://img.shields.io/hexpm/l/pigeon-legacy-fcm.svg)](https://github.com/codedge-llc/pigeon-legacy-fcm/blob/main/LICENSE)
[![Last Updated](https://img.shields.io/github/last-commit/codedge-llc/pigeon-legacy-fcm.svg)](https://github.com/codedge-llc/pigeon-legacy-fcm/commits/main)
[![Documentation](https://img.shields.io/badge/documentation-gray)](https://hexdocs.pm/pigeon-legacy-fcm/)

## Installation

Add `:pigeon` and `:pigeon_legacy_fcm` as `mix.exs` dependencies:

```elixir
def deps do
[
{:pigeon, "~> 2.0.0-rc.2"},
{:pigeon, "~> 2.0.0-rc.3"},
{:pigeon_legacy_fcm, "~> 0.1.0"}
]
end
Expand All @@ -21,7 +25,7 @@ end

Check the module documentation:

- [Pigeon.LegacyFCM](https://hexdocs.pm/pigeon/2.0.0-rc.2/Pigeon.LegacyFCM.html) - Firebase Cloud Messaging Legacy API.
- [Pigeon.LegacyFCM](https://hexdocs.pm/pigeon_legacy_fcm/Pigeon.LegacyFCM.html) - Firebase Cloud Messaging Legacy API.

## Contributing

Expand Down
27 changes: 12 additions & 15 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ defmodule Pigeon.LegacyFCM.Mixfile do
app: :pigeon_legacy_fcm,
build_embedded: Mix.env() == :prod,
deps: deps(),
description: description(),
dialyzer: dialyzer(),
docs: docs(),
elixir: "~> 1.7",
Expand Down Expand Up @@ -55,29 +54,27 @@ defmodule Pigeon.LegacyFCM.Mixfile do

defp docs do
[
groups_for_modules: [
"Legacy Firebase Cloud Messaging": [
Pigeon.LegacyFCM,
Pigeon.LegacyFCM.Notification
]
extras: [
"CHANGELOG.md",
LICENSE: [title: "License"]
],
main: "Pigeon.LegacyFCM"
formatters: ["html"],
main: "Pigeon.LegacyFCM",
skip_undefined_reference_warnings_on: ["CHANGELOG.md"],
source_ref: "v#{@version}",
source_url: @source_url
]
end

defp description do
"""
Pigeon adapter for Firebase Cloud Messaging Legacy API.
"""
end

defp package do
[
files: ["lib", "mix.exs", "README*", "LICENSE*"],
description: "Pigeon adapter for Firebase Cloud Messaging Legacy API.",
files: ["lib", "mix.exs", "README*", "LICENSE*", "CHANGELOG*"],
licenses: ["MIT"],
links: %{
"Changelog" => "https://hexdocs.pm/pigeon-legacy-fcm/changelog.html",
"GitHub" => @source_url
"GitHub" => "https://github.com/codedge-llc/pigeon-legacy-fcm",
"Sponsor" => "https://github.com/sponsors/codedge-llc"
},
maintainers: ["Henry Popp"]
]
Expand Down

0 comments on commit b272da9

Please sign in to comment.