Skip to content

Commit

Permalink
refactor(docs): restructure API reference into separate files for bet…
Browse files Browse the repository at this point in the history
…ter organization and maintainability
  • Loading branch information
yxlao committed Dec 28, 2024
1 parent 8a83030 commit c529c76
Show file tree
Hide file tree
Showing 9 changed files with 83 additions and 104 deletions.
115 changes: 11 additions & 104 deletions docs/api.rst
Original file line number Diff line number Diff line change
@@ -1,107 +1,14 @@
API Reference
=============

- :ref:`ct.camera <ct-camera>`
- :ref:`ct.colmap <ct-colmap>`
- :ref:`ct.convert <ct-convert>`
- :ref:`ct.io <ct-io>`
- :ref:`ct.metric <ct-metric>`
- :ref:`ct.project <ct-project>`
- :ref:`ct.raycast <ct-raycast>`
- :ref:`ct.render <ct-render>`

.. _ct-camera:

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

.. currentmodule:: ct

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

.. _ct-colmap:

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

.. currentmodule:: ct

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

.. _ct-convert:

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

.. currentmodule:: ct

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

.. _ct-io:

``> ct.io``
=======

.. currentmodule:: ct

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

.. _ct-metric:

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

.. currentmodule:: ct

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

.. _ct-project:

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

.. currentmodule:: ct

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

.. _ct-raycast:

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

.. currentmodule:: ct

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

.. _ct-render:

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

.. currentmodule:: ct

.. automodule:: ct.render
:members:
:undoc-members:
:show-inheritance:
.. toctree::
:maxdepth: 2

camera
colmap
convert
io
metric
project
raycast
render
9 changes: 9 additions & 0 deletions docs/camera.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ct.camera
=========

.. currentmodule:: ct

.. automodule:: ct.camera
:members:
:undoc-members:
:show-inheritance:
9 changes: 9 additions & 0 deletions docs/colmap.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ct.colmap
=========

.. currentmodule:: ct

.. automodule:: ct.colmap
:members:
:undoc-members:
:show-inheritance:
9 changes: 9 additions & 0 deletions docs/convert.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ct.convert
=========

.. currentmodule:: ct

.. automodule:: ct.convert
:members:
:undoc-members:
:show-inheritance:
9 changes: 9 additions & 0 deletions docs/io.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ct.io
=======

.. currentmodule:: ct

.. automodule:: ct.io
:members:
:undoc-members:
:show-inheritance:
9 changes: 9 additions & 0 deletions docs/metric.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ct.metric
=========

.. currentmodule:: ct

.. automodule:: ct.metric
:members:
:undoc-members:
:show-inheritance:
9 changes: 9 additions & 0 deletions docs/project.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ct.project
=========

.. currentmodule:: ct

.. automodule:: ct.project
:members:
:undoc-members:
:show-inheritance:
9 changes: 9 additions & 0 deletions docs/raycast.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ct.raycast
=========

.. currentmodule:: ct

.. automodule:: ct.raycast
:members:
:undoc-members:
:show-inheritance:
9 changes: 9 additions & 0 deletions docs/render.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ct.render
=========

.. currentmodule:: ct

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

0 comments on commit c529c76

Please sign in to comment.