Skip to content

Commit

Permalink
Merge branch 'master' into pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
  • Loading branch information
jkanche committed Jun 10, 2024
2 parents a202351 + 5b4cb4f commit 685937b
Show file tree
Hide file tree
Showing 9 changed files with 616 additions and 693 deletions.
13 changes: 5 additions & 8 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
"sphinx.ext.ifconfig",
"sphinx.ext.mathjax",
"sphinx.ext.napoleon",
"sphinx_autodoc_typehints",
]

# Add any paths that contain templates here, relative to this directory.
Expand Down Expand Up @@ -119,13 +118,10 @@
# If you don’t need the separation provided between version and release,
# just set them both to the same value.

if "SPHINX_DOC_VERSION_MANUAL" in os.environ:
version = os.getenv("SPHINX_DOC_VERSION_MANUAL", None)
else:
try:
from biocframe import __version__ as version
except ImportError:
version = ""
try:
from biocframe import __version__ as version
except ImportError:
version = ""

if not version or version.lower() == "unknown":
version = os.getenv("READTHEDOCS_VERSION", "unknown") # automatically set by RTD
Expand Down Expand Up @@ -314,6 +310,7 @@
"setuptools": ("https://setuptools.pypa.io/en/stable/", None),
"pyscaffold": ("https://pyscaffold.org/en/stable", None),
"biocutils": ("https://biocpy.github.io/BiocUtils", None),
"polars": ("https://docs.pola.rs/api/python/stable/", None),
}

print(f"loading configurations for {project} {version} ...", file=sys.stderr)
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
```{toctree}
:maxdepth: 2
Overview <tutorial.ipynb>
Overview <tutorial>
Module Reference <api/modules>
Contributions & Help <contributing>
License <license>
Expand Down
Loading

0 comments on commit 685937b

Please sign in to comment.