Unverified Commit 3c05d55c authored by Akke Viitanen's avatar Akke Viitanen
Browse files

add sphinx pipeline

parent 180377d5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -47,6 +47,7 @@ _readthedocs
_build
.coverage
docs/autoapi
build/

# backup
*.bak*

.gitlab-ci.yml

0 → 100644
+31 −0
Original line number Diff line number Diff line
image: python:3.12

stages:
  - build
  - test
  - deploy

build-job:
  tags:
    - local
  stage: build
  script:
    - echo "Hello world!"

pages:
  stage: deploy
  tags:
    - local
  script:
    - pip install --upgrade pip
    - pip install -e .
    - python3 -m ipykernel install --user
    - cd docs
    - make html
    - mv build/html ../public
  artifacts:
    paths:
      - public
  only:
    - feature_documentation
    - main
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ dependencies = [
    "astropy",
    "batman-package@git+https://github.com/PriyadarshiAkshay/batman.git@py13", # fixes python3.12 issue
    "fitsio",
    "ipykernel",
    "ipywidgets",
    "matplotlib",
    "mypy",