Skip to content

Commit fdc886f

Browse files
committed
More docs
1 parent f7ab9eb commit fdc886f

File tree

6 files changed

+20
-7
lines changed

6 files changed

+20
-7
lines changed

Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ sphinx = "*"
2525
sphinxcontrib-napoleon = "*"
2626
setuptools = "*"
2727
wheel = "*"
28+
sphinx-rtd-theme = "*"
2829

2930
[requires]
3031
python_version = "3.6"

docs/conf.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
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__
89

910
# -- Path setup --------------------------------------------------------------
1011

@@ -20,13 +21,13 @@
2021
# -- Project information -----------------------------------------------------
2122

2223
project = 'labelbox'
23-
copyright = '2018, Feynman Liang'
24-
author = 'Feynman Liang'
24+
copyright = '2018, Labelbox'
25+
author = 'Labelbox'
2526

2627
# The short X.Y version
27-
version = ''
28+
version = __version__
2829
# The full version, including alpha/beta/rc tags
29-
release = '0.0.1dev'
30+
release = __version__
3031

3132

3233
# -- General configuration ---------------------------------------------------
@@ -77,7 +78,7 @@
7778
# The theme to use for HTML and HTML Help pages. See the documentation for
7879
# a list of builtin themes.
7980
#
80-
html_theme = 'alabaster'
81+
html_theme = 'sphinx_rtd_theme'
8182

8283
# Theme options are theme-specific and customize the look and feel of a theme
8384
# further. For a list of options available for each theme, see the

labelbox/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = '0.0.2'

readthedocs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
build:
2+
image: latest
3+
4+
python:
5+
version: 3.6
6+
pip_install: true

setup.cfg

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[metadata]
22
name = labelbox
3-
version = 0.0.2
43
description = A python library for interacting with labelbox.com
54
author = Feynman Liang
65
author_email = feynman@labelbox.com
@@ -45,6 +44,10 @@ testing =
4544
pytest-cov
4645
tox
4746
xmltodict
47+
docs =
48+
mypy
49+
sphinx
50+
sphinxcontrib-napolean
4851

4952
[options.packages.find]
5053
include =

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from setuptools import setup
2+
from labelbox import __version__
23

34
# configured in setup.cfg
4-
setup()
5+
setup(version=__version__)

0 commit comments

Comments
 (0)