image: alpine

pages:
  script:
  - apk add --no-cache python3
  - apk add --pkg-config
  - python3 -m ensurepip
  - pip3 install -r requirements.txt
  - pip3 install sphinx
  - apk --no-cache add make
  - cd docs && make html
  - mv build/html/ public/
  artifacts:
    paths:
    - public
  only:
  - master