image: python:3.6-alpine

pages:
  script:
  - apk --no-cache add py3-pip python-dev
  - pip install sphinx
  - pip install sphinx-autodoc-typehints
  - apk --no-cache add make
  - cd docs && make html
  - mv build/html/ public/
  artifacts:
    paths:
    - public
  only:
  - master