Correct equations for electro- and nucleofugality #147
This file contains 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: Documentation | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Build documentation | |
run: | | |
python -m pip install --upgrade pip | |
pip install sphinx | |
pip install furo | |
pip install sphinx-copybutton | |
pip install sphinx-inline-tabs | |
pip install sphinxcontrib-bibtex | |
pip install . | |
export SPHINX_APIDOC_OPTIONS=members,show-inheritance | |
sphinx-apidoc --separate --no-toc -o docs/api morfeus | |
sphinx-build docs public -b html | |
- name: Deploy to GitHub Pages | |
if: success() | |
uses: crazy-max/ghaction-github-pages@v2 | |
with: | |
target_branch: gh-pages | |
build_dir: public | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |