Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ name: Deploy Sphinx docs to Pages

on:
push:
branches: [main]
paths:
- "src/pmotools/**"
- "man/**"
- ".github/workflows/docs.yml"
tags:
- 'v*.*.*'
- 'test*'
workflow_dispatch:

permissions:
Expand Down
6 changes: 5 additions & 1 deletion man/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import os
import sys
from pmotools import get_pmotools_version

sys.path.insert(0, os.path.abspath("../../src"))


# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
Expand All @@ -14,7 +16,9 @@
project = "pmotools-python"
copyright = "2026, Nicholas Hathaway, Kathryn Murie"
author = "Nicholas Hathaway, Kathryn Murie"
release = "v1.1.0"

release = get_pmotools_version() # full version, e.g. "v1.1.0"
version = release # use the full string everywhere

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
1 change: 1 addition & 0 deletions man/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

Welcome to pmotools-python's documentation!
===========================================
**Version:** |version|

.. toctree::
:maxdepth: 2
Expand Down
Loading