Skip to content

Commit

Permalink
Merge pull request #355 from valentin-petzold/feature/sphinx_docu_to_…
Browse files Browse the repository at this point in the history
…pages

sphinx to gh workflow
  • Loading branch information
MKoesters committed Apr 12, 2024
2 parents b9c8658 + b78934b commit 085f005
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# For reference: https://github.com/JamesIves/github-pages-deploy-action
name: Build Sphinx docu.

on:
release:
types: [published]
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install and Build HTML
run: |
pip install --upgrade pip
pip install sphinx sphinx-rtd-theme
pip install ".[full]"
sphinx-build ./docs/source ./docs/build
- name: Deploy HTML
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs/build/ # The folder the action should deploy.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
],
'plot': ['plotly<5.0'],
'pynumpress': ['pynumpress>=0.0.4'],
'deconvolution': ['ms_deisotope==0.0.14']
'deconvolution': ['ms_deisotope==0.0.14']
},
description = 'high-throughput mzML parsing',
long_description = 'pymzML - python module for mzML parsing',
Expand Down

0 comments on commit 085f005

Please sign in to comment.