Skip to content

Commit

Permalink
fix: match package and module structure with Hist (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saransh-cpp authored Jul 23, 2024
1 parent 395b102 commit d7caa81
Show file tree
Hide file tree
Showing 7 changed files with 771 additions and 733 deletions.
7 changes: 7 additions & 0 deletions docs/api/cuda_histogram.axis.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
cuda_histogram.axis package
===========================

.. automodule:: cuda_histogram.axis
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/api/cuda_histogram.hist.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
cuda_histogram.hist module
==========================

.. automodule:: cuda_histogram.hist
:members:
:undoc-members:
:show-inheritance:
8 changes: 0 additions & 8 deletions docs/api/cuda_histogram.hist_tools.rst

This file was deleted.

10 changes: 9 additions & 1 deletion docs/api/cuda_histogram.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
cuda_histogram package
======================

Subpackages
-----------

.. toctree::
:maxdepth: 3

cuda_histogram.axis

Submodules
----------

.. toctree::
:maxdepth: 3

cuda_histogram.hist_tools
cuda_histogram.hist
8 changes: 3 additions & 5 deletions src/cuda_histogram/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@

from __future__ import annotations

from cuda_histogram.hist_tools import Bin, Cat, Hist, Interval, StringBin
from cuda_histogram import axis
from cuda_histogram.hist import Hist

from ._version import version as __version__

__all__: list[str] = [
"Hist",
"Bin",
"Interval",
"Cat",
"StringBin",
"axis",
"__version__",
]
Loading

0 comments on commit d7caa81

Please sign in to comment.