Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
9 changes: 7 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Documentation and Code Coverage

on: [push]
on:
push:
pull_request:
types:
- closed
branches:
- main

jobs:
build_wheels:
Expand All @@ -15,7 +21,6 @@ jobs:

- uses: tlylt/install-graphviz@v1

# Used to host cibuildwheel
- uses: actions/setup-python@v4
with:
python-version: '3.11'
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/wheels-any.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build Any Wheel

on:
push:
branches:
- main
- 'releases/**'

jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v4
with:
python-version: '3.11'

- name: build wheel
run: python -m pip wheel .

- uses: actions/upload-artifact@v3
with:
path: ./sphinx_runpython*.whl
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ sphinx-runpython: run python code in sphinx
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black

.. image:: https://codecov.io/gh/sdpython/sphinx-runpython/branch/main/graph/badge.svg?token=CTUV6EDBB6
:target: https://codecov.io/gh/sdpython/sphinx-runpython
.. image:: https://codecov.io/github/sdpython/sphinx-runpython/branch/main/graph/badge.svg?token=CTUV6EDBB6
:target: https://codecov.io/github/sdpython/sphinx-runpython

**sphinx-runpython** implements sphinx extensions including one
to execute code and add the output to the documentation.
Expand Down
4 changes: 2 additions & 2 deletions _doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ sphinx-runpython: (Numpy) Array API for ONNX
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black

.. image:: https://codecov.io/gh/sdpython/sphinx-runpython/branch/main/graph/badge.svg?token=CTUV6EDBB6
:target: https://codecov.io/gh/sdpython/sphinx-runpython
.. image:: https://codecov.io/github/sdpython/sphinx-runpython/branch/main/graph/badge.svg?token=CTUV6EDBB6
:target: https://codecov.io/github/sdpython/sphinx-runpython

**sphinx-runpython** an extension to execute python code in documentation

Expand Down