Skip to content

Commit

Permalink
Add API docs. Closes #245.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Aug 7, 2023
1 parent e8ba13d commit d5399ef
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 3 deletions.
26 changes: 26 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
=============
API Reference
=============

``importlib_resources`` module
------------------------------

.. automodule:: importlib_resources
:members:
:undoc-members:
:show-inheritance:

.. automodule:: importlib_resources.abc
:members:
:undoc-members:
:show-inheritance:

.. automodule:: importlib_resources.readers
:members:
:undoc-members:
:show-inheritance:

.. automodule:: importlib_resources.simple
:members:
:undoc-members:
:show-inheritance:
8 changes: 8 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

# Be strict about any broken references
nitpicky = True
nitpick_ignore = []

# Include Python intersphinx mapping to prevent failures
# jaraco/skeleton#51
Expand All @@ -46,3 +47,10 @@
autodoc_preserve_defaults = True

extensions += ['jaraco.tidelift']

nitpick_ignore.extend(
[
('py:class', 'module'),
('py:class', '_io.BufferedReader'),
]
)
7 changes: 4 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ The documentation here includes a general :ref:`usage <using>` guide and a
:maxdepth: 2
:caption: Contents:

using.rst
migration.rst
history.rst
using
api
migration
history

.. tidelift-referral-banner::

Expand Down

0 comments on commit d5399ef

Please sign in to comment.