Skip to content

Commit

Permalink
Merge pull request #162 from noaa-ocs-modeling/bugfix/doc
Browse files Browse the repository at this point in the history
Bugfix/doc
  • Loading branch information
SorooshMani-NOAA authored Dec 2, 2023
2 parents 2e98fc1 + 34c41ed commit 6a97a9a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ build:
os: ubuntu-20.04
tools:
python: "3.10"
apt_packages:
- libgeos-dev
- libproj-dev
- libudunits2-dev

sphinx:
configuration: docs/source/conf.py
Expand Down
2 changes: 1 addition & 1 deletion coupledmodeldriver/client/unqueued_runs.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from argparse import ArgumentParser
from collections import Collection
from collections.abc import Collection
import os
from pathlib import Path
from typing import Any, Dict, List
Expand Down
11 changes: 6 additions & 5 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
from datetime import datetime
import os
from os import PathLike
from pathlib import Path
import subprocess
import sys

from dunamai import Version
from setuptools import config
from importlib.metadata import metadata


def repository_root(path: PathLike = None) -> Path:
Expand All @@ -42,11 +43,11 @@ def repository_root(path: PathLike = None) -> Path:
)

# -- Project information -----------------------------------------------------
metadata = config.read_configuration('../../setup.cfg')['metadata']
md = metadata('coupledmodeldriver')

project = metadata['name']
author = metadata['author']
copyright = f'2021, Office of Coast Survey (OCS), National Oceanic and Atmospheric Administration (NOAA)'
project = md['name']
author = md['author']
copyright = f'{datetime.now().year}, Office of Coast Survey (OCS), National Oceanic and Atmospheric Administration (NOAA)'

# The full version, including alpha/beta/rc tags
try:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ enable = true
[tool.poetry.dependencies]
python = '<3.11' # due to numba
adcircpy = '>=1.2.5'
dunamai = { version = '*', optional = true }
file-read-backwards = '*'
nemspy = '>=1.0.4'
numpy = '*'
Expand Down

0 comments on commit 6a97a9a

Please sign in to comment.