From 7ff463c0e98e6d7cca9f6f40e2c05460dbcf45ac Mon Sep 17 00:00:00 2001 From: Peter Desjardins Date: Fri, 10 Jun 2016 12:05:59 -0400 Subject: [PATCH] Mocked some Python modules when running a Sphinx documentation publishing build. Updated an autoclass class name that changed." --- docs/en_us/platform_api/source/conf.py | 3 +++ docs/en_us/platform_api/source/user/accounts.rst | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/en_us/platform_api/source/conf.py b/docs/en_us/platform_api/source/conf.py index af7c8e42ef..e430e57333 100644 --- a/docs/en_us/platform_api/source/conf.py +++ b/docs/en_us/platform_api/source/conf.py @@ -154,6 +154,9 @@ MOCK_MODULES = [ 'provider', 'provider.oauth2', 'oauth2_provider', + 'celery.signals', + 'edx_rest_framework_extensions', + 'edx_rest_framework_extensions.authentication', ] for mod_name in MOCK_MODULES: diff --git a/docs/en_us/platform_api/source/user/accounts.rst b/docs/en_us/platform_api/source/user/accounts.rst index f640843e19..d689a11a03 100644 --- a/docs/en_us/platform_api/source/user/accounts.rst +++ b/docs/en_us/platform_api/source/user/accounts.rst @@ -17,7 +17,7 @@ tasks. Get and Update a User's Account Information ********************************************** -.. autoclass:: user_api.accounts.views.AccountView +.. autoclass:: user_api.accounts.views.AccountViewSet **Example response showing a user's account information**