add documentation for IdentMap

This commit is contained in:
Thor77 2016-05-20 23:58:23 +02:00
parent af3ea48a2d
commit 9c0ebc18ed
4 changed files with 23 additions and 2 deletions

View File

@ -56,7 +56,7 @@ author = 'Thor77'
# The short X.Y version.
version = '0.2'
# The full version, including alpha/beta/rc tags.
release = '0.2.5'
release = '0.2.6'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

20
docs/source/identmap.rst Normal file
View File

@ -0,0 +1,20 @@
IdentMap
********
An IdentMap is used to map multiple (U)ID's of one client to one client.
This can be useful, if a user creates multiple identities and you want to summarize all actions from all identities.
TeamspeakStats' IdentMap-file is saved in json-format::
{
'2': '1',
'3': '1',
'4': '1'
}
If you would pass this IdentMap to TeamspeakStats and your log would contain entries for clients with id's 1, 2, 3 and 4,
your output will just show data for one client (1).
To pass an IdentMap to TeamspeakStats, create your IdentMap as shown above and pass it to the cli::
tsstats --idmap <path to idmap.json>

View File

@ -7,3 +7,4 @@ Contents:
:maxdepth: 2
api
identmap

View File

@ -2,7 +2,7 @@ from setuptools import setup
setup(
name='tsstats',
version='0.2.5',
version='0.2.6',
author='Thor77',
author_email='thor77@thor77.org',
description='A simple Teamspeak stats-generator',