Skip to content

hydrate functions then classes in container entrypoint #6252

hydrate functions then classes in container entrypoint

hydrate functions then classes in container entrypoint #6252

Workflow file for this run

name: Docs
on:
push:
branches:
- main
pull_request:
# Cancel previous runs of the same PR but do not cancel previous runs on main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
doc-test:
name: Doc generation tests
timeout-minutes: 5
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-cached-python
- name: Build protobuf
run: inv protoc
- name: Install package + deps
run: pip install -e . # Makes sure doc generation doesn't break on client imports etc.
- name: Generate reference docs
run: python -m modal_docs.gen_reference_docs reference_docs_output
- name: Generate CLI docs
run: python -m modal_docs.gen_cli_docs cli_docs