Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Mar 17, 2020
1 parent 895a54b commit ed759c9
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
8 changes: 8 additions & 0 deletions docs/api/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
API
=======

.. toctree::

testing/index
schema
exceptions
2 changes: 1 addition & 1 deletion docs/api/testing/schema.rst → docs/api/schema.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Schema
======

.. automodule:: jscc.testing.schema
.. automodule:: jscc.schema
:members:
:undoc-members:
1 change: 0 additions & 1 deletion docs/api/testing/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ Testing
.. toctree::

checks
schema
filesystem
util
2 changes: 1 addition & 1 deletion docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Added
Changed
~~~~~~~

- ``jscc.testing.schema`` is moved to :module:`jscc.schema`
- ``jscc.testing.schema`` is moved to :mod:`jscc.schema`
- ``jscc.schema.is_property_missing`` is renamed to :meth:`jscc.schema.is_missing_property`
- :meth:`jscc.schema.is_codelist` accepts a list of field names, instead of a CSV reader
- :meth:`jscc.filesystem.walk_csv_data` returns text content, fieldnames, and rows, instead of a CSV reader
Expand Down
7 changes: 2 additions & 5 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,10 @@ JSON Schema and CSV Codelists (JSCC)

.. include:: ../README.rst

API
---

.. toctree::
:caption: Contents

api/testing/index
api/exceptions
api/index
changelog

Copyright (c) 2020 Open Contracting Partnership, released under the BSD license
2 changes: 1 addition & 1 deletion jscc/schema.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Methods for reasoning about JSON Schema and CSV codelists.
Methods for interacting with or reasoning about JSON Schema and CSV codelists.
"""
from collections import UserDict
from copy import deepcopy
Expand Down

0 comments on commit ed759c9

Please sign in to comment.