-
Notifications
You must be signed in to change notification settings - Fork 68
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
Added Recipient Lists resource lib #48
Conversation
Running make docs-open 2015-08-28 09:29
. venv/bin/activate; cd docs && make html
sphinx-build -b html -d _build/doctrees . _build/html
Running Sphinx v1.3.1
loading pickled environment... done
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 0 source files that are out of date
updating environment: 2 added, 3 changed, 2 removed
reading sources... [100%] resources/recipient_lists
/Users/rleland/src/oss/reviews/python-sparkpost-aydrian/docs/api/recipient_lists.rst:4: WARNING: Title underline too short.
:mod:`sparkpost.recipient_lists`
=============================
/Users/rleland/src/oss/reviews/python-sparkpost-aydrian/docs/api/transmissions.rst:6: WARNING: autodoc: failed to import class u'Transmission' from module u'sparkpost.transmission'; the following exception was raised:
Traceback (most recent call last):
File "/Users/rleland/src/oss/reviews/python-sparkpost-aydrian/venv/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 385, in import_object
__import__(self.modname)
ImportError: No module named transmission
/Users/rleland/src/oss/reviews/python-sparkpost-aydrian/docs/resources/recipient_lists.rst:2: WARNING: Title underline too short.
Recipient Lists
=============
/Users/rleland/src/oss/reviews/python-sparkpost-aydrian/docs/resources/recipient_lists.rst:41: WARNING: Title underline too short.
Retrieve a recipient list
-----------------------
/Users/rleland/src/oss/reviews/python-sparkpost-aydrian/docs/resources/recipient_lists.rst:53: WARNING: Title underline too short.
List all recipient lists
----------------------
/Users/rleland/src/oss/reviews/python-sparkpost-aydrian/docs/resources/recipient_lists.rst:53: WARNING: Title underline too short.
List all recipient lists
----------------------
/Users/rleland/src/oss/reviews/python-sparkpost-aydrian/docs/resources/recipient_lists.rst:81: ERROR: Unknown target name: "sparkpost recipient list api reference".
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] resources/recipient_lists
/Users/rleland/src/oss/reviews/python-sparkpost-aydrian/sparkpost/recipient_lists.py:docstring of sparkpost.recipient_lists.RecipientLists.create:None: WARNING: more than one target found for cross-reference u'list': sparkpost.recipient_lists.RecipientLists.list, sparkpost.templates.Templates.list
/Users/rleland/src/oss/reviews/python-sparkpost-aydrian/sparkpost/recipient_lists.py:docstring of sparkpost.recipient_lists.RecipientLists.update:None: WARNING: more than one target found for cross-reference u'list': sparkpost.recipient_lists.RecipientLists.list, sparkpost.templates.Templates.list
generating indices... genindex py-modindex
writing additional pages... search
copying static files... WARNING: html_static_path entry u'/Users/rleland/src/oss/reviews/python-sparkpost-aydrian/docs/_static' does not exist
done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded, 10 warnings.
Build finished. The HTML pages are in _build/html.
. venv/bin/activate; open docs/_build/html/index.html |
Additional documentation | ||
------------------------ | ||
|
||
See the `SparkPost Recipient List API Reference`_. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This link is broken in the HTML output by make docs
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's Recipient List
vs. Recipient Lists
Looks like just docs issues - other than that good to go. |
I see the following errors: make docs-open 2015-08-28 15:24
. venv/bin/activate; cd docs && make html
sphinx-build -b html -d _build/doctrees . _build/html
Running Sphinx v1.3.1
loading pickled environment... done
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 2 source files that are out of date
updating environment: 0 added, 3 changed, 0 removed
reading sources... [100%] resources/recipient_lists
/Users/rleland/src/oss/reviews/python-sparkpost-aydrian/docs/api/transmissions.rst:6: WARNING: autodoc: failed to import class u'Transmission' from module u'sparkpost.transmission'; the following exception was raised:
Traceback (most recent call last):
File "/Users/rleland/src/oss/reviews/python-sparkpost-aydrian/venv/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 385, in import_object
__import__(self.modname)
ImportError: No module named transmission
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] resources/recipient_lists
/Users/rleland/src/oss/reviews/python-sparkpost-aydrian/sparkpost/recipient_lists.py:docstring of sparkpost.recipient_lists.RecipientLists.create:None: WARNING: more than one target found for cross-reference u'list': sparkpost.recipient_lists.RecipientLists.list, sparkpost.templates.Templates.list
/Users/rleland/src/oss/reviews/python-sparkpost-aydrian/sparkpost/recipient_lists.py:docstring of sparkpost.recipient_lists.RecipientLists.update:None: WARNING: more than one target found for cross-reference u'list': sparkpost.recipient_lists.RecipientLists.list, sparkpost.templates.Templates.list
generating indices... genindex py-modindex
writing additional pages... search
copying static files... WARNING: html_static_path entry u'/Users/rleland/src/oss/reviews/python-sparkpost-aydrian/docs/_static' does not exist
done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded, 4 warnings.
Build finished. The HTML pages are in _build/html.
. venv/bin/activate; open docs/_build/html/index.html Looks like some references to the old |
All doc warnings are resolved with the exception of the |
Added Recipient Lists resource lib
Closes #12
Take a look and see if we want to abstract it any further. I left passing the recipients objects as is.