#!/bin/bash
set -ev

if [ "$TRAVIS_PYTHON_VERSION" == "3.5" ]; then
    cd docs
    conda install --file requirements.txt
    sphinx-apidoc -M -f -o api ../pocean ../pocean/tests
    make html
    doctr deploy . --built-docs=_site/html
    cd ..
fi

#!/bin/bash
set -ev

if [ "$TRAVIS_PYTHON_VERSION" == "3.5" ]; then
    cd docs
    conda install --file requirements.txt
    sphinx-apidoc -M -f -o api ../pocean ../pocean/tests
    make html
    doctr deploy --built-docs=_site --gh-pages-docs .
    cd ..
fi

Revert "Fix deprecated doctr flag"
Revert "Fix deprecated doctr flag"

This reverts commit 3d00c06e365a8969238d2131b894cf7cbc06bed1.
