Skip to content

Commit

Permalink
docs: consolidate API reference into a single file and remove individ…
Browse files Browse the repository at this point in the history
…ual module files

docs: update index.rst to reduce toctree maxdepth for better navigation
  • Loading branch information
yxlao committed Dec 28, 2024
1 parent 68f50c7 commit d4790c7
Show file tree
Hide file tree
Showing 10 changed files with 84 additions and 86 deletions.
96 changes: 83 additions & 13 deletions docs/api.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,84 @@
API Reference
==============

.. toctree::
:maxdepth: 2

api/camera
api/colmap
api/convert
api/io
api/metric
api/project
api/raycast
api/render
=============

This section provides detailed API documentation for all CamTools modules.

> ct.camera
===========

.. currentmodule:: ct

.. automodule:: ct.camera
:members:
:undoc-members:
:show-inheritance:

> ct.colmap
===========

.. currentmodule:: ct

.. automodule:: ct.colmap
:members:
:undoc-members:
:show-inheritance:

> ct.convert
===========

.. currentmodule:: ct

.. automodule:: ct.convert
:members:
:undoc-members:
:show-inheritance:

> ct.io
=======

.. currentmodule:: ct

.. automodule:: ct.io
:members:
:undoc-members:
:show-inheritance:

> ct.metric
===========

.. currentmodule:: ct

.. automodule:: ct.metric
:members:
:undoc-members:
:show-inheritance:

> ct.project
===========

.. currentmodule:: ct

.. automodule:: ct.project
:members:
:undoc-members:
:show-inheritance:

> ct.raycast
===========

.. currentmodule:: ct

.. automodule:: ct.raycast
:members:
:undoc-members:
:show-inheritance:

> ct.render
===========

.. currentmodule:: ct

.. automodule:: ct.render
:members:
:undoc-members:
:show-inheritance:
9 changes: 0 additions & 9 deletions docs/api/camera.rst

This file was deleted.

9 changes: 0 additions & 9 deletions docs/api/colmap.rst

This file was deleted.

9 changes: 0 additions & 9 deletions docs/api/convert.rst

This file was deleted.

9 changes: 0 additions & 9 deletions docs/api/io.rst

This file was deleted.

9 changes: 0 additions & 9 deletions docs/api/metric.rst

This file was deleted.

9 changes: 0 additions & 9 deletions docs/api/project.rst

This file was deleted.

9 changes: 0 additions & 9 deletions docs/api/raycast.rst

This file was deleted.

9 changes: 0 additions & 9 deletions docs/api/render.rst

This file was deleted.

2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ clear and easy-to-use APIs.
</p>

.. toctree::
:maxdepth: 2
:maxdepth: 1
:caption: Docs

Home <self>
Expand Down

0 comments on commit d4790c7

Please sign in to comment.