Restore sphinx-hoverxref extension with Sphinx 8.2.3 #335
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and Test sphinx | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| workflow_dispatch: | |
| inputs: | |
| pyopenms_wheel_url: | |
| description: "URL of the PyOpenMS wheel to download and install" | |
| required: false | |
| default: "" | |
| jobs: | |
| build-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.11' # Version range or exact version of a Python version to use, using SemVer's version range syntax | |
| - name: Installing Dependencies | |
| run: pip install -r docs/requirements.txt | |
| - name: Install PyOpenMS if URL is provided | |
| if: ${{ inputs.pyopenms_wheel_url != '' }} | |
| run: | | |
| pip uninstall pyopenms # remove version installed above | |
| echo "Downloading and installing PyOpenMS wheel from ${{ inputs.pyopenms_wheel_url }}" | |
| curl -o pyopenms.whl ${{ inputs.pyopenms_wheel_url }} | |
| pip install pyopenms.whl | |
| - name: Generate html | |
| run: cd docs && make html |