Skip to content

Commit

Permalink
Update conf.py
Browse files Browse the repository at this point in the history
For doc build
  • Loading branch information
ccaprani authored Mar 6, 2024
1 parent 6d4521e commit 88a4376
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,22 @@
import os
import sys

sys.path.insert(0, os.path.abspath("../../"))
sys.path.insert(0, os.path.abspath("../../src/"))
from ospgrid import __version__ as ver


# -- Project information -----------------------------------------------------

project = "ospgrid"
copyright = "2022, Colin Caprani"
copyright = "2024, Colin Caprani"
author = "Colin Caprani"

# The full version, including alpha/beta/rc tags
release = "0.1"
# The short Major.Minor.Build version
_v = ver.split(".")
_build = "".join([c for c in _v[2] if c.isdigit()])
version = _v[0] + "." + _v[1] + "." + _build
release = ver


# -- General configuration ---------------------------------------------------
Expand Down

0 comments on commit 88a4376

Please sign in to comment.