Commit eee68a8b authored by xa's avatar xa

do the doc

parent 16090009
Pipeline #536 passed with stages
......@@ -33,3 +33,14 @@ Release to pypi:
only:
- /^v[\d\.]+.*$/
allow_failure: true
Upload documentation:
stage: release
image: errorist/aiodisque:latest
script:
- curl -X POST http://readthedocs.org/build/aio-disque
tags:
- python3.5
only:
- master
allow_failure: true
......@@ -20,7 +20,7 @@ RUN cd disque-${DISQUE_VERSION} \
&& rm -rf disque-${DISQUE_VERSION}
RUN chmod +x /usr/local/bin/disque
RUN chmod +x /usr/local/bin/disque-server
RUN python -m pip install hiredis pytest pytest-cov pytest-flake8 twine wheel
RUN python -m pip install hiredis pytest pytest-cov pytest-flake8 sphinx twine wheel
EXPOSE $DISQUE_PORT
......
......@@ -58,10 +58,11 @@ author = 'Xavier Barbosa'
# |version| and |release|, also used in various other places throughout the
# built documents.
#
import aiodisque
# The short X.Y version.
version = '1.0'
version = '.'.join(aiodisque.__version__.split('.')[:2])
# The full version, including alpha/beta/rc tags.
release = '1.0'
release = aiodisque.__version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment