Skip to content

Commit

Permalink
update book construction
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm committed Feb 3, 2025
1 parent 4bd06d2 commit 67db45d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 33 deletions.
42 changes: 15 additions & 27 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,53 +7,41 @@ jobs:
marimo:
runs-on: "ubuntu-latest"
steps:
- name: Checkout [${{ github.repository }}]
uses: actions/checkout@v4
- name: "Build the virtual environment for ${{ github.repository }}"
uses: cvxgrp/.github/actions/uv/environment@v2.1.0

- uses: cvxgrp/.github/actions/uv/marimo@v2.0.17
- uses: cvxgrp/.github/actions/marimo@v2.1.0

sphinx:
pdoc:
runs-on: "ubuntu-latest"
steps:
- name: Checkout [${{ github.repository }}]
uses: actions/checkout@v4
- name: "Build the virtual environment for ${{ github.repository }}"
uses: cvxgrp/.github/actions/uv/environment@v2.1.0

- uses: cvxgrp/.github/actions/uv/sphinx@v2.0.17
- uses: cvxgrp/.github/actions/pdoc@v2.1.0

test:
runs-on: "ubuntu-latest"
steps:
- name: Checkout [${{ github.repository }}]
uses: actions/checkout@v4
- name: "Build the virtual environment for ${{ github.repository }}"
uses: cvxgrp/.github/actions/uv/environment@v2.1.0

- uses: cvxgrp/.github/actions/uv/coverage@v2.0.17
- uses: cvxgrp/.github/actions/coverage@v2.1.0

jupyter:
runs-on: "ubuntu-latest"
steps:
- name: Checkout [${{ github.repository }}]
uses: actions/checkout@v4

- uses: cvxgrp/.github/actions/uv/jupyter@v2.0.17


pdoc:
runs-on: "ubuntu-latest"
steps:
- name: Checkout [${{ github.repository }}]
uses: actions/checkout@v4
- name: "Build the virtual environment for ${{ github.repository }}"
uses: cvxgrp/.github/actions/uv/environment@v2.1.0

- uses: cvxgrp/.github/actions/uv/pdoc@v2.0.17
- uses: cvxgrp/.github/actions/jupyter@v2.1.0

book:
runs-on: "ubuntu-latest"
needs: [test, sphinx, jupyter, marimo, pdoc]
needs: [test, pdoc, jupyter, marimo]

permissions:
contents: write

steps:
- name: Checkout [${{ github.repository }}]
uses: actions/checkout@v4

- uses: cvxgrp/.github/actions/book@v2.0.17
- uses: cvxgrp/.github/actions/book@v2.1.0
6 changes: 0 additions & 6 deletions book/docs/api.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# API

## Sphinx

[API](https://www.cvxgrp.org/cvxrisk/sphinx/)

## pdoc

[API](https://www.cvxgrp.org/cvxrisk/pdoc/)

0 comments on commit 67db45d

Please sign in to comment.