Skip to content

Commit 05d867a

Browse files
committed
Fix docs build
1 parent fdc886f commit 05d867a

File tree

3 files changed

+33
-17
lines changed

3 files changed

+33
-17
lines changed

Pipfile.lock

Lines changed: 20 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/conf.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# This file does only contain a selection of the most common options. For a
66
# full list see the documentation:
77
# http://www.sphinx-doc.org/en/master/config
8-
from labelbox import __version__
98

109
# -- Path setup --------------------------------------------------------------
1110

@@ -17,6 +16,8 @@
1716
import sys
1817
sys.path.insert(0, os.path.abspath('../.'))
1918

19+
import labelbox
20+
2021

2122
# -- Project information -----------------------------------------------------
2223

@@ -25,9 +26,9 @@
2526
author = 'Labelbox'
2627

2728
# The short X.Y version
28-
version = __version__
29+
version = labelbox.__version__
2930
# The full version, including alpha/beta/rc tags
30-
release = __version__
31+
release = labelbox.__version__
3132

3233

3334
# -- General configuration ---------------------------------------------------

docs/source/labelbox.rst

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
labelbox namespace
2-
==================
1+
labelbox package
2+
================
33

44
Subpackages
55
-----------
@@ -21,3 +21,10 @@ labelbox.exceptions module
2121
:show-inheritance:
2222

2323

24+
Module contents
25+
---------------
26+
27+
.. automodule:: labelbox
28+
:members:
29+
:undoc-members:
30+
:show-inheritance:

0 commit comments

Comments
 (0)