Files
ferro-ta/.github/workflows/ci-docs.yml
T
Pratik Bhadane 682bf063ca release: cut v1.0.1
Prepare the first patch release after v1.0.0 by finalizing the outstanding release, packaging, and workflow fixes.

This release keeps PyPI and crates.io publishing anchored to CI.yml, splits the large CI workflow into focused rust/python/wasm/docs suites, fixes the ci-complete gate, and updates the release SBOM action pin.

It also switches the npm publish workflow to GitHub OIDC, installs the wasm32 target required for packaging, ensures the WASM npm tarball includes pkg/ artifacts during prepack, and adds a dedicated README plus docs.rs metadata for ferro_ta_core.

Finally, bump all published package versions to 1.0.1 and record the patch release notes in CHANGELOG.md.
2026-03-24 00:38:50 +05:30

50 lines
1.1 KiB
YAML

name: CI Docs
on:
workflow_call:
inputs:
upload-pages-artifact:
required: false
type: boolean
default: false
permissions:
contents: read
jobs:
docs:
name: Documentation (Sphinx build)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python 3.12
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install maturin and docs dependencies
run: |
pip install maturin numpy
pip install sphinx sphinx-rtd-theme
- name: Build and install ferro_ta wheel
run: |
maturin build --release --out dist
pip install dist/*.whl
- name: Build Sphinx documentation
run: sphinx-build -b html docs docs/_build -W --keep-going
- name: Upload docs artifact
uses: actions/upload-artifact@v7
with:
name: sphinx-docs
path: docs/_build/
- name: Upload GitHub Pages artifact
if: ${{ inputs.upload-pages-artifact }}
uses: actions/upload-pages-artifact@v4
with:
path: docs/_build/