Skip to content

Commit

Permalink
Merge pull request #7 from apache/docs-update
Browse files Browse the repository at this point in the history
Added tuple and density to docs
  • Loading branch information
c-dickens committed Sep 12, 2023
2 parents 6d8b636 + 044c93d commit 893d83c
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import sys
import os
import datasketches

# need to fix the paths so that sphinx can find the source code.
sys.path.insert(0, os.path.abspath("../../datasketches"))
Expand Down
8 changes: 8 additions & 0 deletions docs/source/density_sketch.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Density Sketch
--------------
.. autoclass:: datasketches.density_sketch
:members:
:undoc-members:

.. autoclass:: datasketches.GaussianKernel
:members:
8 changes: 8 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ Counting Distincts
hyper_log_log
cpc
theta
tuple

Density Sketch
##############
.. toctree::
:maxdepth: 1

density_sketch

Frequency Estimation
##########################
Expand Down
15 changes: 15 additions & 0 deletions docs/source/tuple.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Tuple Sketch
------------

.. autoclass:: datasketches.tuple_sketch
:members:
:undoc-members:

.. autoclass:: datasketches.AccumulatorPolicy
:members:

.. autoclass:: datasketches.MaxIntPolicy
:members:

.. autoclass:: datasketches.MinIntPolicy
:members:

0 comments on commit 893d83c

Please sign in to comment.