Skip to content

fix floating point precision and port #37

fix floating point precision and port

fix floating point precision and port #37

Workflow file for this run

name: Documentation
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches: [main]
workflow_dispatch:
concurrency:
group: docs
cancel-in-progress: true
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
name: Build docs
runs-on: ubuntu-latest
timeout-minutes: 60
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
steps:
- name: Check out repository
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Install docs dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[testing,docs]"
- name: Build Sphinx site
run: python -m sphinx -W -b html docs docs/_build/html
- name: Upload Pages artifact
uses: actions/[email protected]
with:
path: docs/_build/html
deploy:
name: Publish docs
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/main')
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4