# Required
version: 2

build:
  os: ubuntu-24.04
  tools:
    ruby: "3.3"

  commands:
    - gem install bundler
    - bundle install
    - mkdir Mabbs
    - curl -L -o Mabbs/README.md https://github.com/Mabbs/Mabbs/raw/main/README.md
    - bundle exec jekyll build --destination $READTHEDOCS_OUTPUT/html
    - python3 _tools/blogquine.py $READTHEDOCS_OUTPUT/html MayxBlog.7z
    - mv MayxBlog.7z $READTHEDOCS_OUTPUT/html