Skip to content

Commit

Permalink
docs: Improve tuf.api docs
Browse files Browse the repository at this point in the history
Write a bit more about the two modules, hide the actual TOC to not
repeat (and not have sphinx complain about missing items in TOC)

Signed-off-by: Jussi Kukkonen <[email protected]>
  • Loading branch information
Jussi Kukkonen authored and sechkova committed Aug 23, 2021
1 parent eaf0f6d commit 27bbcb1
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions docs/api/tuf.api.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
Metadata API
===============

.. toctree::
:maxdepth: 4
The low-level Metadata API contains two modules:

tuf.api.serialization
tuf.api.metadata
* :doc:`tuf.api.metadata` contains the actual Metadata abstraction that higher level libraries and application code should use to interact with TUF metadata. This abstraction provides safe reading and writing to supported file formats and helper functions for accessing and modifying the metadata contents.
* :doc:`tuf.api.serialization` covers serializing the metadata into specific wire formats (like json).

.. toctree::
:hidden:

tuf.api.metadata
tuf.api.serialization

0 comments on commit 27bbcb1

Please sign in to comment.