Skip to content

Commit

Permalink
DOC-648 Add pages for Neptune and W&B plugins (flyteorg#2803)
Browse files Browse the repository at this point in the history
* add pages for neptune and wandb plugins

Signed-off-by: nikki everett <[email protected]>

* add autosummary sections to init files

Signed-off-by: nikki everett <[email protected]>

* don't render the TOC twice

Signed-off-by: nikki everett <[email protected]>

---------

Signed-off-by: nikki everett <[email protected]>
  • Loading branch information
neverett authored and otarabai committed Oct 15, 2024
1 parent af3a18f commit 4bf57ae
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/source/plugins/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ Plugin API reference
* :ref:`SageMaker Inference <awssagemaker_inference>` - SageMaker Inference API reference
* :ref:`OpenAI <openai>` - OpenAI API reference
* :ref:`Inference <inference>` - Inference API reference
* :ref:`Neptune <neptune>` - Neptune API reference
* :ref:`Weights & Biases <wandb>` - Weights & Biases API reference

.. toctree::
:maxdepth: 2
:caption: API reference
:hidden:

AWS Athena <athena>
AWS Batch <awsbatch>
Expand Down Expand Up @@ -67,3 +69,5 @@ Plugin API reference
SageMaker Inference <awssagemaker_inference>
OpenAI <openai>
Inference <inference>
Neptune <neptune>
Weights & Biases <wandb>
12 changes: 12 additions & 0 deletions docs/source/plugins/neptune.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.. _neptune:

###################################################
Neptune API reference
###################################################

.. tags:: Integration

.. automodule:: flytekitplugins.neptune
:no-members:
:no-inherited-members:
:no-special-members:
12 changes: 12 additions & 0 deletions docs/source/plugins/wandb.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.. _wandb:

###################################################
Weights & Biases API reference
###################################################

.. tags:: Integration

.. automodule:: flytekitplugins.wandb
:no-members:
:no-inherited-members:
:no-special-members:
12 changes: 12 additions & 0 deletions plugins/flytekit-neptune/flytekitplugins/neptune/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
"""
.. currentmodule:: flytekitplugins.neptune
This package contains things that are useful when extending Flytekit.
.. autosummary::
:template: custom.rst
:toctree: generated/
neptune_init_run
"""

from .tracking import neptune_init_run

__all__ = ["neptune_init_run"]
12 changes: 12 additions & 0 deletions plugins/flytekit-wandb/flytekitplugins/wandb/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
"""
.. currentmodule:: flytekitplugins.wandb
This package contains things that are useful when extending Flytekit.
.. autosummary::
:template: custom.rst
:toctree: generated/
wandb_init
"""

from .tracking import wandb_init

__all__ = ["wandb_init"]

0 comments on commit 4bf57ae

Please sign in to comment.