Skip to content

Commit

Permalink
Misc doc changes
Browse files Browse the repository at this point in the history
List of changes:
- Use common source url
- Remove comment
- Remove deprecated badge
- Add Changelog link
  • Loading branch information
kianmeng committed Oct 29, 2020
1 parent 220a976 commit c70183b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 21 deletions.
8 changes: 7 additions & 1 deletion README.md
@@ -1,6 +1,12 @@
# Confex

[![Deps Status](https://beta.hexfaktor.org/badge/all/github/Nebo15/confex.svg)](https://beta.hexfaktor.org/github/Nebo15/confex) [![Inline docs](http://inch-ci.org/github/nebo15/confex.svg)](http://inch-ci.org/github/nebo15/confex) [![Hex.pm Downloads](https://img.shields.io/hexpm/dw/confex.svg?maxAge=3600)](https://hex.pm/packages/confex) [![Latest Version](https://img.shields.io/hexpm/v/confex.svg?maxAge=3600)](https://hex.pm/packages/confex) [![License](https://img.shields.io/hexpm/l/confex.svg?maxAge=3600)](https://hex.pm/packages/confex) [![Build Status](https://travis-ci.org/Nebo15/confex.svg?branch=master)](https://travis-ci.org/Nebo15/confex) [![Coverage Status](https://coveralls.io/repos/github/Nebo15/confex/badge.svg?branch=master)](https://coveralls.io/github/Nebo15/confex?branch=master) [![Ebert](https://ebertapp.io/github/Nebo15/confex.svg)](https://ebertapp.io/github/Nebo15/confex)
[![Inline docs](http://inch-ci.org/github/nebo15/confex.svg)](http://inch-ci.org/github/nebo15/confex)
[![Hex.pm Downloads](https://img.shields.io/hexpm/dw/confex.svg?maxAge=3600)](https://hex.pm/packages/confex)
[![Latest Version](https://img.shields.io/hexpm/v/confex.svg?maxAge=3600)](https://hex.pm/packages/confex)
[![License](https://img.shields.io/hexpm/l/confex.svg?maxAge=3600)](https://hex.pm/packages/confex)
[![Build Status](https://travis-ci.org/Nebo15/confex.svg?branch=master)](https://travis-ci.org/Nebo15/confex)
[![Coverage Status](https://coveralls.io/repos/github/Nebo15/confex/badge.svg?branch=master)](https://coveralls.io/github/Nebo15/confex?branch=master)
[![Ebert](https://ebertapp.io/github/Nebo15/confex.svg)](https://ebertapp.io/github/Nebo15/confex)

Confex simplifies reading configuration at run-time with adapter-based system for fetch values from any source.
It's inspired by Phoenix `{:system, value}` definition for HTTP port and have no external dependencies.
Expand Down
23 changes: 3 additions & 20 deletions mix.exs
@@ -1,6 +1,7 @@
defmodule Confex.Mixfile do
use Mix.Project

@source_url "https://github.com/Nebo15/confex"
@version "3.5.0"

def project do
Expand All @@ -17,34 +18,17 @@ defmodule Confex.Mixfile do
deps: deps(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [coveralls: :test],
docs: [source_ref: "v#\{@version\}", main: "readme", extras: ["README.md"]]
docs: [source_url: @source_url, source_ref: "v#\{@version\}", main: "readme", extras: ["README.md"]]
]
end

# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[applications: []]
end

# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]

# Dependencies can be Hex packages:
#
# {:mydep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
#
# To depend on another app inside the umbrella:
#
# {:myapp, in_umbrella: true}
#
# Type "mix help deps" for more examples and options
defp deps do
[
{:ex_doc, "~> 0.19", only: :dev},
Expand All @@ -62,13 +46,12 @@ defmodule Confex.Mixfile do
"""
end

# Settings for publishing in Hex package manager:
defp package do
[
contributors: ["Nebo #15"],
maintainers: ["Nebo #15"],
licenses: ["LISENSE.md"],
links: %{github: "https://github.com/Nebo15/confex"},
links: %{Changelog: "#{@source_url}/blob/master/CHANGELOG.md}", GitHub: @source_url},
files: ~w(lib LICENSE.md mix.exs README.md)
]
end
Expand Down

0 comments on commit c70183b

Please sign in to comment.