From 41c632d84c7bc30cfaee24867a16a7a68a9494ff Mon Sep 17 00:00:00 2001 From: Polina Nguen Date: Mon, 30 Mar 2020 09:44:24 -0700 Subject: [PATCH 1/2] Include docstrings from bucketer.py and decision_service.py to the docs --- docs/source/bucketing_algorithm.rst | 14 ++++++++++++++ docs/source/index.rst | 6 ++++++ 2 files changed, 20 insertions(+) create mode 100644 docs/source/bucketing_algorithm.rst diff --git a/docs/source/bucketing_algorithm.rst b/docs/source/bucketing_algorithm.rst new file mode 100644 index 000000000..6aeabb605 --- /dev/null +++ b/docs/source/bucketing_algorithm.rst @@ -0,0 +1,14 @@ +Bucketing Algorithm Methods +=========================== +.. automodule:: optimizely.bucketer + :members: + :special-members: + :private-members: + + +Decision Service +================ +.. automodule:: optimizely.decision_service + :members: + :special-members: + :private-members: \ No newline at end of file diff --git a/docs/source/index.rst b/docs/source/index.rst index eb11cab80..9ff2b82d0 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -4,6 +4,12 @@ Python SDK .. mdinclude:: ../../README.md +.. toctree:: + :caption: Bucketing Algorithm + + bucketing_algorithm + + .. toctree:: :caption: Help From c7910bd7ee546e1e6064330e408c6939c171c7de Mon Sep 17 00:00:00 2001 From: Polina Nguen Date: Mon, 30 Mar 2020 11:17:36 -0700 Subject: [PATCH 2/2] Fix Travis failure --- docs/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 9e712490c..6b500dd99 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -56,4 +56,4 @@ # 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'] \ No newline at end of file +# html_static_path = ['_static']