Skip to content

Commit

Permalink
rich changed: workflow every PR + better info in conf
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Kusumgar committed Feb 2, 2024
1 parent 6ef7dfd commit 6f071f3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
run:
Expand All @@ -23,6 +26,7 @@ jobs:
hatch run generate-docs
- name: Deploy Docs
uses: JamesIves/github-pages-deploy-action@v4.4.1
if: github.event_name != 'pull_request'
with:
clean: false
branch: gh-pages
Expand Down
7 changes: 4 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
import outpack.__about__ as info

project = "outpack-py"
copyright = "2024, Rich FitzJohn"
project = info.__name__
copyright = "2023-present Imperial College of Science, Technology and Medicine"
author = "Rich FitzJohn"
release = "0.0.1"
release = info.__version__

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
1 change: 1 addition & 0 deletions src/outpack/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
#
# SPDX-License-Identifier: MIT
__version__ = "0.0.1"
__name__ = "outpack-py"

0 comments on commit 6f071f3

Please sign in to comment.