diff --git a/docs/index.rst b/docs/index.rst index eb29f94..4d8c74f 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -4,8 +4,8 @@ Welcome to the winsps-kb documentation winsps-kb is a project to build a Windows Serialized Property Store (SPS) Knowledge Base. -winsps is a Python module part of winsps-kb to allow reuse of Windows Serialized -Property Store (SPS) Resources. +winspsrc is a Python module part of winsps-kb to allow reuse of Windows Serialized +Property Store (SPS) resources. The source code is available from the `project page `__. diff --git a/scripts/generate_docs.py b/scripts/generate_docs.py index c1503d0..3ee0a7f 100755 --- a/scripts/generate_docs.py +++ b/scripts/generate_docs.py @@ -136,12 +136,12 @@ def Main(): logging.basicConfig( level=logging.INFO, format='[%(levelname)s] %(message)s') + data_path = os.path.join(os.path.dirname(winspsrc.__file__), 'data') + definitions_file = yaml_definitions_file.YAMLPropertiesDefinitionsFile() property_definitions = {} - data_path = os.path.join(os.path.dirname(winspsrc.__file__), 'data') - path = os.path.join(data_path, 'defined_properties.yaml') for property_definition in definitions_file.ReadFromFile(path): lookup_key = property_definition.lookup_key