From b3790c570bd9de79f0735fb02cb2f4aa3caaa44c Mon Sep 17 00:00:00 2001 From: Alex Cota Date: Tue, 19 Jan 2021 14:16:33 -0800 Subject: [PATCH 1/3] Add .readthedocs.yml --- .readthedocs.yml | 23 +++++++++++++++++++++++ docs/requirements.txt | 1 + 2 files changed, 24 insertions(+) create mode 100644 .readthedocs.yml diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 000000000..3631baa72 --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,23 @@ +# .readthedocs.yml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Read the docs config file version (Required) +version: 2 + +# Build documentation in the docs/ directory with Sphinx +sphinx: + configuration: docs/source/conf.py + +# Build all formats (epub, pdf, htmlzip) +formats: + - pdf + +# Optionally set the version of Python and requirements required to build your docs +python: + version: 3.7 + install: + - requirements: requirements.txt + - requirements: docs/requirements.txt + - method: setuptools + path: . \ No newline at end of file diff --git a/docs/requirements.txt b/docs/requirements.txt index ac42c4269..2a375c4b3 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,4 @@ Sphinx==3.4.3 sphinxcontrib-napoleon==0.7 sphinx-rtd-theme==0.5.1 +autodoc==0.5.0 From 1c9aa4a62eacff4c64ad024d6d63a2db11dab713 Mon Sep 17 00:00:00 2001 From: Alex Cota Date: Tue, 19 Jan 2021 14:51:07 -0800 Subject: [PATCH 2/3] Remove author --- docs/source/conf.py | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 131ae59bc..f0d27fe03 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -19,7 +19,6 @@ project = 'Labelbox Python API reference' copyright = '2021, Labelbox' -author = 'Alexandra Cota' release = '2.4' From 846f74c67008cd46d32f5ae47b7d70bbfe8f7738 Mon Sep 17 00:00:00 2001 From: Alex Cota Date: Wed, 20 Jan 2021 10:59:13 -0800 Subject: [PATCH 3/3] Remove autodoc dependency --- docs/requirements.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 2a375c4b3..ac42c4269 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,3 @@ Sphinx==3.4.3 sphinxcontrib-napoleon==0.7 sphinx-rtd-theme==0.5.1 -autodoc==0.5.0