Skip to content

Commit

Permalink
update docs with new modules
Browse files Browse the repository at this point in the history
  • Loading branch information
mscarey committed Aug 9, 2019
1 parent b140b84 commit 1beffa4
Show file tree
Hide file tree
Showing 11 changed files with 61 additions and 12 deletions.
2 changes: 2 additions & 0 deletions authorityspoke/io/references.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
r"""Resolving references in imported data to :class:`.Factor`\s and text passages."""

import functools

from typing import Callable, Dict, Iterable, List, Optional, Tuple, Union
Expand Down
7 changes: 7 additions & 0 deletions docs/api/analogies.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
``Analogies``
================

.. autoclass:: authorityspoke.relations.Analogy
:members:

.. autofunction:: authorityspoke.relations.all_analogy_matches
10 changes: 0 additions & 10 deletions docs/api/context.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,3 @@
============================

.. autodecorator:: authorityspoke.context.new_context_helper

.. autodecorator:: authorityspoke.context.log_mentioned_context

``Analogies``
================

.. autoclass:: authorityspoke.relations.Analogy
:members:

.. autofunction:: authorityspoke.relations.all_analogy_matches
2 changes: 0 additions & 2 deletions docs/api/legislation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
:members:
:special-members:

.. autofunction:: authorityspoke.context.get_directory_path

``Enactments``
==============

Expand Down
16 changes: 16 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,24 @@ API Reference
api/predicates
api/legislation
api/context
api/analogies
api/selectors

I/O
-------------

.. toctree::
:maxdepth: 2

io/downloads
io/loaders
io/readers
io/writers
io/filepaths
io/references



Development Updates
-------------------

Expand Down
6 changes: 6 additions & 0 deletions docs/io/downloads.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
==============
``Downloads``
==============

.. automodule:: authorityspoke.io.downloads
:members:
6 changes: 6 additions & 0 deletions docs/io/filepaths.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
==============
``Filepaths``
==============

.. automodule:: authorityspoke.io.filepaths
:members:
6 changes: 6 additions & 0 deletions docs/io/loaders.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
==============
``Loaders``
==============

.. automodule:: authorityspoke.io.loaders
:members:
6 changes: 6 additions & 0 deletions docs/io/readers.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
==============
``Readers``
==============

.. automodule:: authorityspoke.io.readers
:members:
6 changes: 6 additions & 0 deletions docs/io/references.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
==============
``References``
==============

.. automodule:: authorityspoke.io.references
:members:
6 changes: 6 additions & 0 deletions docs/io/writers.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
==============
``Writers``
==============

.. automodule:: authorityspoke.io.writers
:members:

0 comments on commit 1beffa4

Please sign in to comment.