Skip to content

Commit

Permalink
Merge pull request #46 from ucfopen/develop
Browse files Browse the repository at this point in the history
Documentation updates
  • Loading branch information
Thetwam committed Jul 26, 2017
2 parents ac78bf2 + 463eb65 commit 94bdb9f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 1 addition & 5 deletions DEPLOY.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ Run `python setup.py sdist`. This should create a file in the `dist` directory c
Generate Documentation
----------------------

In the `docs` directory, run `make clean html`.

This will create all the documentation files in the `_build/html` directory
Documentation should now be automatically pushed to readthedocs.


Deploy
Expand All @@ -39,6 +37,4 @@ Push the tag: `git push origin v0.0.0`

Run `twine upload dist/canvasapi-0.0.0.tar.gz` to upload to PyPI.

Compress all files in the `docs/_build/html` directory into a `.zip` file. Upload this file to PyPI to update the [documentation](https://pythonhosted.org/canvasapi/).

Create release on GitHub for the new tag. Use the text from the changelog for content.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[![CanvasAPI on PyPI](https://img.shields.io/pypi/v/canvasapi.svg)](https://pypi.python.org/pypi/canvasapi)
[![License](https://img.shields.io/pypi/l/canvasapi.svg)](https://pypi.python.org/pypi/canvasapi)
[![Documentation Status](https://readthedocs.org/projects/canvasapi/badge/?version=latest)](http://canvasapi.readthedocs.io/en/latest/?badge=latest)
[![Build Status](https://travis-ci.org/ucfopen/canvasapi.svg?branch=master)](https://travis-ci.org/ucfopen/canvasapi)
[![Coverage Status](https://coveralls.io/repos/github/ucfopen/canvasapi/badge.svg?branch=master)](https://coveralls.io/github/ucfopen/canvasapi?branch=master)
[![Join UCF Open Slack Discussions](https://ucf-open-slackin.herokuapp.com/badge.svg)](https://ucf-open-slackin.herokuapp.com/)


# CanvasAPI
CanvasAPI is a Python library for accessing Instructure’s [Canvas LMS API](https://canvas.instructure.com/doc/api/index.html). The library enables developers to programmatically manage Canvas courses, users, gradebooks, and more.

Expand All @@ -12,6 +14,9 @@ You can install CanvasAPI with pip:

`pip install canvasapi`

## Documentation
Full documentation is available at [Read the Docs](http://canvasapi.readthedocs.io/).

## Quickstart
Getting started with CanvasAPI is easy.

Expand All @@ -34,7 +39,7 @@ canvas = Canvas(API_URL, API_KEY)
You can now use `canvas` to begin making API calls.

### Working with Canvas Objects
CanvasAPI converts the JSON responses from the Canvas API into Python objects. These objects provide further access to the Canvas API. You can find a full breakdown of the methods these classes provide in our [class documentation](http://pythonhosted.org/canvasapi/class-reference.html). Below, you’ll find a few examples of common CanvasAPI use cases.
CanvasAPI converts the JSON responses from the Canvas API into Python objects. These objects provide further access to the Canvas API. You can find a full breakdown of the methods these classes provide in our [class documentation](http://canvasapi.readthedocs.io/en/latest/class-reference.html). Below, you’ll find a few examples of common CanvasAPI use cases.

#### Course objects
Courses can be retrieved from the API:
Expand Down

0 comments on commit 94bdb9f

Please sign in to comment.