Skip to content

feat(doc): Using Sphinx to autogenerate documentation for the SDK #262

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
May 14, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Added logger.py and user_profile.py docstrings to the docs. (#247)
* Added optimizely.py to docs

* Returned to having private methods included for now.

* Added optimizely.py, event_builder.py, and event_dispatcher.py to the docs

* Added user_profile.py and logger.py docstrings to docs
Moved all api_reference components into one rst file

Co-authored-by: Polina Nguen <polina.nguen@optimizely.com>
  • Loading branch information
yavorona and yavorona committed May 14, 2020
commit a2ce5958b1036182b60e28d7a025653d3885d760
48 changes: 48 additions & 0 deletions docs/source/api_reference.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
Optimizely's APIs
=================
.. automodule:: optimizely.optimizely
:members:


Event Builder
=============

``Event``
---------

.. autoclass:: optimizely.event_builder.Event
:members:

``EventBuilder``
----------------

.. autoclass:: optimizely.event_builder.EventBuilder
:members:


Event Dispatcher
================
.. autoclass:: optimizely.event_dispatcher.EventDispatcher
:members:


Logger
======
.. automodule:: optimizely.logger
:members:


User Profile
============

``UserProfile``
---------------

.. autoclass:: optimizely.user_profile.UserProfile
:members:

``UserProfileService``
----------------------

.. autoclass:: optimizely.user_profile.UserProfileService
:members:
18 changes: 0 additions & 18 deletions docs/source/event_builder.rst

This file was deleted.

4 changes: 0 additions & 4 deletions docs/source/event_dispatcher.rst

This file was deleted.

4 changes: 1 addition & 3 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ Python SDK
.. toctree::
:caption: API reference

optimizely
event_builder
event_dispatcher
api_reference


.. toctree::
Expand Down
4 changes: 0 additions & 4 deletions docs/source/optimizely.rst

This file was deleted.