Skip to content

Commit

Permalink
docs: start documenting constants
Browse files Browse the repository at this point in the history
Signed-off-by: William Roberts <william.c.roberts@intel.com>
  • Loading branch information
William Roberts committed Dec 1, 2021
1 parent 8a732fb commit ba2dd5c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/constants.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Constants
=========

.. automodule:: tpm2_pytss.constants
:members:
:undoc-members:
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ to change.
:maxdepth: 2
:caption: Contents:

constants
types
esys
fapi
Expand Down
4 changes: 4 additions & 0 deletions tpm2_pytss/constants.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# SPDX-License-Identifier: BSD-2
""" This module contains all the constant values from the TCG TSS specification
- https://trustedcomputinggroup.org/resource/tss-overview-common-structures-specification
Along with helpers to go from string values to constants and constant values to string values.
"""
from ._libtpm2_pytss import lib, ffi
from tpm2_pytss.internal.utils import _CLASS_INT_ATTRS_from_string
import pkgconfig
Expand Down

0 comments on commit ba2dd5c

Please sign in to comment.