From ebcd29981724b7316f7ab501f62c318c02d44378 Mon Sep 17 00:00:00 2001 From: Johannes Christ Date: Sun, 19 May 2019 14:11:42 +0200 Subject: [PATCH] Update version in documentation and remove outdated reference. --- README.md | 16 ++++++++-------- docs/static/Intro.md | 14 ++++---------- 2 files changed, 12 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index ef56f6c3b..1ac20fa35 100644 --- a/README.md +++ b/README.md @@ -12,19 +12,19 @@ information listed here and more. ## Installation Add Nostrum as a dependency: - *Dev* -```Elixir -def deps do - [{:nostrum, git: "https://github.com/Kraigie/nostrum.git"}] -end -``` - *Stable* Stable documentation can be found [here](https://hexdocs.pm/nostrum/) ```elixir def deps do - [{:nostrum, "~> 0.1"}] + [{:nostrum, "~> 0.3"}] +end +``` + + *Dev* +```Elixir +def deps do + [{:nostrum, git: "https://github.com/Kraigie/nostrum.git"}] end ``` diff --git a/docs/static/Intro.md b/docs/static/Intro.md index 3ceacd7be..049bfae19 100644 --- a/docs/static/Intro.md +++ b/docs/static/Intro.md @@ -45,25 +45,19 @@ There are two versions of Nostrum, a stable version released on Hex and a dev version on GitHub. The dev version will be more up to date but will likely have more errors. -The version of this library hosted on Hex is severely outdated. Once the dependency -[gun](https://github.com/ninenines/gun) has a 2.0 release, a new package will be -released with the most up to date Elixir version (1.6.4 as of the time of this writing). - -In the meantime it is recommended you use the version hosted on GitHub. - Add Nostrum as a dependency: - *Dev* + *Stable* ```Elixir def deps do - [{:nostrum, git: "https://github.com/Kraigie/nostrum.git"}] + [{:nostrum, "~> 0.3"}] end ``` - *Stable* + *Dev* ```Elixir def deps do - [{:nostrum, "~> 0.1"}] + [{:nostrum, git: "https://github.com/Kraigie/nostrum.git"}] end ```