Skip to content

DavidBuchanan314 is building docs #4

DavidBuchanan314 is building docs

DavidBuchanan314 is building docs #4

Workflow file for this run

name: Build Docs
run-name: ${{ github.actor }} is building docs
on: [push]
jobs:
Build-Docs:
runs-on: ubuntu-latest
steps:
- run: echo "The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "The ${{ github.repository }} repository has been cloned to the runner."
- name: Install dependencies
run: |
python3 -m pip install sphinx sphinx-rtd-theme sphinxcontrib-jquery
- name: Install atmst python module
run: |
cd ${{ github.workspace }}
python3 -m pip install .
- name: Build the docs
run: |
cd ./docs/
sphinx-apidoc -f -o _apidocs/ ../src/atmst
make html
- name: Archive generated docs
uses: actions/upload-artifact@v4
with:
name: html-docs
path: docs/_build/html/
- run: echo "This job's status is ${{ job.status }}."