Skip to content

Commit

Permalink
Release 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineGagne authored Nov 30, 2019
1 parent 7e4f657 commit e55f0ec
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
13 changes: 12 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,21 @@ robots

A library that parses and validates rules from ``robots.txt``.

Installation
============

This library is available on `hex.pm <https://hex.pm/packages/robots>_`.
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
Expand Down
9 changes: 4 additions & 5 deletions src/robots.app.src
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{application, robots,
[{description, "An OTP library"},
{vsn, "0.1.0"},
[{description, "A parser for robots.txt."},
{vsn, "1.0.0"},
{registered, []},
{applications,
[kernel,
stdlib
]},
{env,[]},
{modules, []},

{licenses, ["Apache 2.0"]},
{links, []}
{licenses, ["BSD3"]},
{links, [{"Github", "https://github.com/AntoineGagne/robots"}]}
]}.

0 comments on commit e55f0ec

Please sign in to comment.