Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build:

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py
configuration: docs/conf.py

# Not building additional formats, as PDF build is failing
# formats:
Expand Down
20 changes: 0 additions & 20 deletions docs/Makefile

This file was deleted.

14 changes: 7 additions & 7 deletions docs/source/conf.py → docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
import sys

Expand All @@ -18,9 +17,8 @@
# -- Project information -----------------------------------------------------

project = 'Python SDK reference'
copyright = '2021, Labelbox'
copyright = '2024, Labelbox'
author = 'Labelbox'

release = '3.66.0'

# -- General configuration ---------------------------------------------------
Expand All @@ -29,7 +27,8 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'sphinx.ext.napoleon'
'multiproject', 'sphinx.ext.autodoc', 'sphinx.ext.viewcode',
'sphinx.ext.napoleon', 'sphinx_rtd_theme'
]

# Add any paths that contain templates here, relative to this directory.
Expand All @@ -40,6 +39,8 @@
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']

multiproject_projects = {"labelbox": {"path": "labelbox"}}

# -- Options for HTML output -------------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
Expand All @@ -50,10 +51,9 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_static_path = []

# Prevent the sidebar from collapsing
html_js_files = ['js/prevent_collapse.js']
html_theme_options = {
"collapse_navigation": False,
}
}
7 changes: 7 additions & 0 deletions docs/labelbox/annotation-import.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Annotation Import
===============================================================================================

.. automodule:: labelbox.schema.annotation_import
:members:
:show-inheritance:

6 changes: 6 additions & 0 deletions docs/labelbox/app.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
App
===============================================================================================

.. automodule:: labelbox.schema.foundry.app
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/labelbox/asset-attachment.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Asset Attachment
===============================================================================================

.. automodule:: labelbox.schema.asset_attachment
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/labelbox/batch.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Batch
===============================================================================================

.. automodule:: labelbox.schema.batch
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/labelbox/benchmark.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Benchmark
===============================================================================================

.. automodule:: labelbox.schema.benchmark
:members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/labelbox/bulk-import-request.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Bulk Import Request
===============================================================================================

.. automodule:: labelbox.schema.bulk_import_request
:members:
:exclude-members: create_from_local_file, create_from_objects, create_from_url, from_name
:show-inheritance:
8 changes: 8 additions & 0 deletions docs/labelbox/client.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Client
===============================================================================================

.. automodule:: labelbox.client
:members:
:special-members: __init__
:exclude-members: upload_data, upload_file
:show-inheritance:
Empty file added docs/labelbox/conf.py
Empty file.
5 changes: 5 additions & 0 deletions docs/labelbox/conflict-resolution-strategy.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Conflict Resolution Strategy
===============================================================================================
.. automodule:: labelbox.schema.conflict_resolution_strategy
:members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/labelbox/datarow-metadata.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
DataRow Metadata
===============================================================================================

.. automodule:: labelbox.schema.data_row_metadata
:members:
:exclude-members: _DeleteBatchDataRowMetadata
:show-inheritance:
5 changes: 5 additions & 0 deletions docs/labelbox/datarow.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
DataRow
===============================================================================================
.. automodule:: labelbox.schema.data_row
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/labelbox/dataset.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Dataset
===============================================================================================

.. automodule:: labelbox.schema.dataset
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/labelbox/enums.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Enums
===============================================================================================

.. automodule:: labelbox.schema.enums
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/labelbox/exceptions.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Exceptions
===============================================================================================

.. automodule:: labelbox.exceptions
:members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/labelbox/export-task.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Export Task
===============================================================================================

.. automodule:: labelbox.schema.export_task
:members:
:exclude-members: FileRetrieverByLine, FileRetrieverByOffset, FileRetrieverStrategy, Range, Converter
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/labelbox/foundry-client.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Foundry Client
===============================================================================================

.. automodule:: labelbox.schema.foundry.foundry_client
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/labelbox/foundry-model.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Foundry Model
===============================================================================================

.. automodule:: labelbox.schema.foundry.model
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/labelbox/identifiable.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Identifiable
===============================================================================================

.. automodule:: labelbox.schema.identifiable
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/labelbox/identifiables.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Identifiables
===============================================================================================

.. automodule:: labelbox.schema.identifiables
:members:
:show-inheritance:
44 changes: 44 additions & 0 deletions docs/labelbox/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
Labelbox Python SDK Documentation
===============================================================================================

.. toctree::
:maxdepth: 3
:caption: Contents:

annotation-import
app
asset-attachment
batch
benchmark
bulk-import-request
client
conflict-resolution-strategy
datarow
datarow-metadata
dataset
enums
exceptions
export-task
foundry-client
foundry-model
identifiable
identifiables
label
labeling-frontend
labeling-frontend-options
labeling-parameter-override
model
model-run
ontology
organization
pagination
project
quality-mode
resource-tag
review
send-to-annotate-params
slice
task
task-queue
user
webhook
6 changes: 6 additions & 0 deletions docs/labelbox/label.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Label
===============================================================================================

.. automodule:: labelbox.schema.label
:members:
:show-inheritance:
8 changes: 8 additions & 0 deletions docs/labelbox/labeling-frontend-options.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Labeling Frontend Options
===============================================================================================

.. automodule:: labelbox.schema.labeling_frontend
:members: LabelingFrontendOptions
:exclude-members: LabelingFrontend
:show-inheritance:
:noindex:
7 changes: 7 additions & 0 deletions docs/labelbox/labeling-frontend.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Labeling Frontend
===============================================================================================

.. automodule:: labelbox.schema.labeling_frontend
:members: LabelingFrontend
:exclude-members: LabelingFrontendOptions
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/labelbox/labeling-parameter-override.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Labeling Parameter Override
===============================================================================================

.. automodule:: labelbox.schema.project
:members: LabelingParameterOverride
:show-inheritance:
:noindex:
6 changes: 6 additions & 0 deletions docs/labelbox/model-run.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Model Run
===============================================================================================

.. automodule:: labelbox.schema.model_run
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/labelbox/model.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Model
===============================================================================================

.. automodule:: labelbox.schema.model
:members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/labelbox/ontology.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Ontology
===============================================================================================

.. automodule:: labelbox.schema.ontology
:members:
:exclude-members: OntologyEntity, Classification, Tool, Option
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/labelbox/organization.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Organization
===============================================================================================

.. automodule:: labelbox.schema.organization
:members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/labelbox/pagination.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Pagination
===============================================================================================

.. automodule:: labelbox.pagination
:members:
:special-members: __init__
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/labelbox/project.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Project
===============================================================================================

.. automodule:: labelbox.schema.project
:members:
:exclude-members: LabelerPerformance, LabelingParameterOverride
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/labelbox/quality-mode.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Quality Mode
===============================================================================================

.. automodule:: labelbox.schema.quality_mode
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/labelbox/resource-tag.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Resource Tag
===============================================================================================

.. automodule:: labelbox.schema.resource_tag
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/labelbox/review.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Review
===============================================================================================

.. automodule:: labelbox.schema.review
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/labelbox/send-to-annotate-params.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Send To Annotate Params
===============================================================================================

.. automodule:: labelbox.schema.send_to_annotate_params
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/labelbox/slice.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Slice
===============================================================================================

.. automodule:: labelbox.schema.slice
:members:
:show-inheritance:
Loading