Skip to content

Commit

Permalink
Fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuald committed Jan 12, 2017
1 parent 5cd0a8b commit 247fdb0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.rst
@@ -1,7 +1,8 @@
robotpy-ctre
============

This is a python wrapper around the CTRE 3rd party library.
This is a python wrapper around the CTRE 3rd party library. Documentation can be
found at http://robotpy-ctre.readthedocs.io/

**NOTE**: The RobotPy project is not associated with or endorsed by Cross The
Road Electronics.
Expand Down
5 changes: 5 additions & 0 deletions ctre/__init__.py
@@ -1,2 +1,7 @@

from .cantalon import CANTalon

try:
from .version import __version__
except ImportError: # pragma: nocover
__version__ = 'master'
6 changes: 3 additions & 3 deletions docs/conf.py
Expand Up @@ -10,7 +10,7 @@
sys.path.insert(0, abspath(dirname(__file__)))
sys.path.insert(0, abspath(join(dirname(__file__), '..')))

import robotpy_ext
import ctre

# -- RTD configuration ------------------------------------------------

Expand Down Expand Up @@ -52,9 +52,9 @@
# built documents.
#
# The short X.Y version.
version = '.'.join(robotpy_ext.__version__.split('.')[:2])
version = '.'.join(ctre.__version__.split('.')[:2])
# The full version, including alpha/beta/rc tags.
release = robotpy_ext.__version__
release = ctre.__version__

autoclass_content = 'both'

Expand Down

0 comments on commit 247fdb0

Please sign in to comment.