Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Linux-cpp-lisp committed May 28, 2021
1 parent 18257ab commit 7a5172a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 0 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ sphinx:
python:
version: 3.7
install:
- requirements: docs/requirements.txt
- method: pip
path: .
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
# ones.
extensions = ["sphinx.ext.autodoc", "sphinx.ext.napoleon", "sphinx_rtd_theme"]

autodoc_mock_imports = ["torch", "torch_scatter"]

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]

Expand Down
7 changes: 4 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
================
pytorch_runstats
================

.. toctree::
:maxdepth: 2
:caption: Contents:
.. toctree::

self


``torch_runstats`` implements memory-efficient online reductions on tensors. Notable features:
Expand Down

0 comments on commit 7a5172a

Please sign in to comment.