-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: initial documentation infrastructure (#12)
- Loading branch information
1 parent
5a0091e
commit 3a747b6
Showing
10 changed files
with
173 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,44 @@ | ||
# cuda-histogram | ||
|
||
<!-- SPHINX-START --> | ||
|
||
[![Actions Status][actions-badge]][actions-link] | ||
[![Documentation Status][rtd-badge]][rtd-link] | ||
[![pre-commit.ci status][pre-commit-badge]][pre-commit-link] | ||
[![codecov percentage][codecov-badge]][codecov-link] | ||
[![GitHub Discussion][github-discussions-badge]][github-discussions-link] | ||
|
||
[![PyPI version][pypi-version]][pypi-link] | ||
[![Conda-Forge][conda-badge]][conda-link] | ||
[![PyPI platforms][pypi-platforms]][pypi-link] | ||
[![PyPI version][pypi-version]][pypi-link] | ||
[![Conda latest release][conda-version]][conda-link] | ||
[![LICENSE][license-badge]][license-link] [![Scikit-HEP][sk-badge]][sk-link] | ||
|
||
[![GitHub Discussion][github-discussions-badge]][github-discussions-link] | ||
`cuda-histogram` is a histogram filling, transformation, and plotting package | ||
for GPUs. The package follows [UHI](https://uhi.readthedocs.io) and keeps its | ||
API similar to [boost-histogram](https://github.com/scikit-hep/boost-histogram) | ||
and [hist](https://github.com/scikit-hep/hist). | ||
|
||
<!-- SPHINX-START --> | ||
The package is under active development at the moment. | ||
|
||
<!-- prettier-ignore-start --> | ||
[actions-badge]: https://github.com/Saransh-cpp/cuda-histogram/workflows/CI/badge.svg | ||
[actions-link]: https://github.com/Saransh-cpp/cuda-histogram/actions | ||
[conda-badge]: https://img.shields.io/conda/vn/conda-forge/cuda-histogram | ||
[conda-link]: https://github.com/conda-forge/cuda-histogram-feedstock | ||
[codecov-badge]: https://codecov.io/gh/Saransh-cpp/cuda-histogram/branch/main/graph/badge.svg?token=YBv60ueORQ | ||
[codecov-link]: https://codecov.io/gh/Saransh-cpp/cuda-histogram | ||
[conda-version]: https://img.shields.io/conda/vn/Saransh-cpp/cuda-histogram.svg | ||
[conda-link]: https://github.com/Saransh-cpp/cuda-histogram | ||
[github-discussions-badge]: https://img.shields.io/static/v1?label=Discussions&message=Ask&color=blue&logo=github | ||
[github-discussions-link]: https://github.com/Saransh-cpp/cuda-histogram/discussions | ||
[license-badge]: https://img.shields.io/badge/License-BSD_3--Clause-blue.svg | ||
[license-link]: https://opensource.org/licenses/BSD-3-Clause | ||
[pre-commit-badge]: https://results.pre-commit.ci/badge/github/Saransh-cpp/cuda-histogram/main.svg | ||
[pre-commit-link]: https://results.pre-commit.ci/repo/github/Saransh-cpp/cuda-histogram | ||
[pypi-link]: https://pypi.org/project/cuda-histogram/ | ||
[pypi-platforms]: https://img.shields.io/pypi/pyversions/cuda-histogram | ||
[pypi-version]: https://img.shields.io/pypi/v/cuda-histogram | ||
[rtd-badge]: https://readthedocs.org/projects/cuda-histogram/badge/?version=latest | ||
[rtd-link]: https://cuda-histogram.readthedocs.io/en/latest/?badge=latest | ||
[sk-badge]: https://scikit-hep.org/assets/images/Scikit--HEP-Project-blue.svg | ||
[sk-link]: https://scikit-hep.org/ | ||
|
||
<!-- prettier-ignore-end --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Minimal makefile for Sphinx documentation | ||
# | ||
|
||
# You can set these variables from the command line, and also | ||
# from the environment for the first two. | ||
SPHINXOPTS ?= | ||
SPHINXBUILD ?= sphinx-build | ||
SOURCEDIR = . | ||
BUILDDIR = _build | ||
|
||
# Put it first so that "make" without argument is like "make help". | ||
help: | ||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
||
.PHONY: help Makefile | ||
|
||
# Catch-all target: route all unknown targets to Sphinx using the new | ||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
%: Makefile | ||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
cuda_histogram.hist_tools module | ||
================================ | ||
|
||
.. automodule:: cuda_histogram.hist_tools | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
cuda_histogram.plot module | ||
========================== | ||
|
||
.. automodule:: cuda_histogram.plot | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
cuda_histogram package | ||
====================== | ||
|
||
Submodules | ||
---------- | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
cuda_histogram.hist_tools | ||
cuda_histogram.plot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
cuda-histogram | ||
============== | ||
|
||
.. toctree:: | ||
:maxdepth: 4 | ||
|
||
cuda_histogram |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# CHANGELOG | ||
|
||
## Version 0.0.1 | ||
|
||
- Initial release - a working prototype |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
@ECHO OFF | ||
|
||
pushd %~dp0 | ||
|
||
REM Command file for Sphinx documentation | ||
|
||
if "%SPHINXBUILD%" == "" ( | ||
set SPHINXBUILD=sphinx-build | ||
) | ||
set SOURCEDIR=. | ||
set BUILDDIR=_build | ||
|
||
if "%1" == "" goto help | ||
|
||
%SPHINXBUILD% >NUL 2>NUL | ||
if errorlevel 9009 ( | ||
echo. | ||
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx | ||
echo.installed, then set the SPHINXBUILD environment variable to point | ||
echo.to the full path of the 'sphinx-build' executable. Alternatively you | ||
echo.may add the Sphinx directory to PATH. | ||
echo. | ||
echo.If you don't have Sphinx installed, grab it from | ||
echo.http://sphinx-doc.org/ | ||
exit /b 1 | ||
) | ||
|
||
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% | ||
goto end | ||
|
||
:help | ||
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% | ||
|
||
:end | ||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters