diff --git a/README.rst b/README.rst index 023e5cd..9b268b2 100644 --- a/README.rst +++ b/README.rst @@ -14,10 +14,21 @@ robots A library that parses and validates rules from ``robots.txt``. +Installation +============ + +This library is available on `hex.pm _`. +To install this library, simply add the following lines to your +``rebar.config``: + +.. code-block: erlang + + {robots, "1.0.0"} + Usage ===== -.. code::block:: erlang +.. code-block:: erlang Content = <<"User-Agent: bot\nAllow: /fish">>, %% This will return an opaque type that contains all the rules and their agents diff --git a/src/robots.app.src b/src/robots.app.src index 95f5241..d207bab 100644 --- a/src/robots.app.src +++ b/src/robots.app.src @@ -1,6 +1,6 @@ {application, robots, - [{description, "An OTP library"}, - {vsn, "0.1.0"}, + [{description, "A parser for robots.txt."}, + {vsn, "1.0.0"}, {registered, []}, {applications, [kernel, @@ -8,7 +8,6 @@ ]}, {env,[]}, {modules, []}, - - {licenses, ["Apache 2.0"]}, - {links, []} + {licenses, ["BSD3"]}, + {links, [{"Github", "https://github.com/AntoineGagne/robots"}]} ]}.