Commit a937b928 authored by Jeroen F.J. Laros's avatar Jeroen F.J. Laros

Updated documentation.

parent 491bdbc9
......@@ -5,6 +5,10 @@ Trie implementation using nested dictionaries
:target: https://travis-ci.org/jfjlaros/dict-trie
.. image:: https://readthedocs.org/projects/dict-trie/badge/?version=latest
:target: https://dict-trie.readthedocs.io/en/latest
.. image:: https://img.shields.io/pypi/v/dict-trie.svg
:target: https://pypi.org/project/dict-trie/
.. image:: https://img.shields.io/pypi/l/dict-trie.svg
:target: https://raw.githubusercontent.com/jfjlaros/dict-trie/master/LICENSE.md
----
......
......@@ -13,7 +13,7 @@ __version_info__ = ('0', '0', '3')
__version__ = '.'.join(__version_info__)
__author__ = 'Jeroen F.J. Laros'
__contact__ = 'J.F.J.Laros@lumc.nl'
__homepage__ = 'https://github.com/jfjlaros/dict-trie.git'
__homepage__ = 'http://dict-trie.readthedocs.io/en/latest/'
usage = __doc__.split('\n\n\n')
......
.. doc_test documentation.
.. dict-trie documentation.
.. include:: ../README.rst
......
......@@ -3,6 +3,10 @@ Usage
The library provides the ``Trie`` class.
.. code:: python
>>> from dict_trie import Trie
Basic operations
----------------
......@@ -12,7 +16,6 @@ words.
.. code:: python
>>> from dict_trie import Trie
>>> trie = Trie(['abc', 'te', 'test'])
Alternatively, an empty trie can be made to which words can be added with the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment