Skip to content

Commit

Permalink
API docs as toctree
Browse files Browse the repository at this point in the history
Signed-off-by: Shah, Karan <[email protected]>
  • Loading branch information
MasterSkepticista committed Dec 18, 2024
1 parent 3ab2362 commit 8cefb07
Show file tree
Hide file tree
Showing 20 changed files with 55 additions and 140 deletions.
2 changes: 1 addition & 1 deletion docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/_build
**/.ipynb_checkpoints
source/api/_autosummary
_autosummary
34 changes: 0 additions & 34 deletions docs/_templates/custom-class-template.rst

This file was deleted.

66 changes: 0 additions & 66 deletions docs/_templates/custom-module-template.rst

This file was deleted.

1 change: 1 addition & 0 deletions docs/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{% extends "!layout.html" %}
23 changes: 0 additions & 23 deletions docs/developer_ref/api_documentation.rst

This file was deleted.

8 changes: 4 additions & 4 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ Round
developer_guide/openfl_structure

.. toctree::
:hidden:
:caption: API Reference
:hidden:
:caption: Resources
:maxdepth: 2

developer_ref/api_documentation
developer_ref/troubleshooting
openfl
troubleshooting


.. toctree::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

.. autosummary::
:toctree: _autosummary
:template: custom-module-template.rst
:recursive:

aggregator
Expand All @@ -16,3 +15,5 @@
director
envoy
straggler_handling_functions

.. TODO(MasterSkepticista) Shrink API namespace
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@

.. autosummary::
:toctree: _autosummary
:template: custom-module-template.rst
:recursive:

ca
io
participant

.. TODO(MasterSkepticista) Shrink API namespace
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@

.. autosummary::
:toctree: _autosummary
:template: custom-module-template.rst
:recursive:

tensor_db
utilities

.. TODO(MasterSkepticista) Shrink API namespace
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@

.. autosummary::
:toctree: _autosummary
:template: custom-module-template.rst
:recursive:

workflow.interface
workflow.placement
workflow.runtime
workflow.utilities

.. TODO(MasterSkepticista) Shrink API namespace
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@

.. autosummary::
:toctree: _autosummary
:template: custom-module-template.rst
:recursive:

plan
task
data

.. TODO(MasterSkepticista) Shrink API namespace
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

.. autosummary::
:toctree: _autosummary
:template: custom-module-template.rst
:recursive:

aggregation_functions
Expand All @@ -23,3 +22,5 @@
plan
tutorial
workspace

.. TODO(MasterSkepticista) Shrink API namespace
3 changes: 2 additions & 1 deletion docs/source/api/openfl.native.rst → docs/openfl.native.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@

.. autosummary::
:toctree: _autosummary
:template: custom-module-template.rst
:recursive:

native
fastestimator

.. TODO(MasterSkepticista) Shrink API namespace
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

.. autosummary::
:toctree: _autosummary
:template: custom-module-template.rst
:recursive:

eden_pipeline
Expand All @@ -18,3 +17,5 @@
skc_pipeline
stc_pipeline
tensor_codec

.. TODO(MasterSkepticista) Shrink API namespace
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@

.. autosummary::
:toctree: _autosummary
:template: custom-module-template.rst
:recursive:

frameworks_adapters
interface_serializer
processing_units_monitor

.. TODO(MasterSkepticista) Shrink API namespace
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@

.. autosummary::
:toctree: _autosummary
:template: custom-module-template.rst
:recursive:

interceptors
utils

.. TODO(MasterSkepticista) Shrink API namespace
29 changes: 29 additions & 0 deletions docs/openfl.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
.. currentmodule:: openfl

Public API: ``openfl`` package
===========================

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

.. toctree::
:maxdepth: 1

openfl.component
openfl.cryptography
openfl.experimental
openfl.databases
openfl.federated
openfl.interface
openfl.native
openfl.pipelines
openfl.plugins
openfl.protocols
openfl.transport
openfl.utilities


.. toctree::
:hidden:

openfl.interface
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

.. autosummary::
:toctree: _autosummary
:template: custom-module-template.rst
:recursive:

grpc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

.. autosummary::
:toctree: _autosummary
:template: custom-module-template.rst
:recursive:

ca
Expand Down
File renamed without changes.

0 comments on commit 8cefb07

Please sign in to comment.