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
9 changes: 8 additions & 1 deletion medcat-v2/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,14 @@
author = 'CogStack Org'

# The full version, including alpha/beta/rc tags
release = ':latest' # where is the version retrievable from?
# apprently shoudl be able ot read from env
release = os.getenv("READTHEDOCS_VERSION", ":latest")

# Simplify medcat-v2.3.1rc2 → v2.3.1rc2
# NOTE: in case of tag based releases, the environmental variable
# should contain the sanitised tag as the slug, so the / is
# replaced with the -
release = release.removeprefix("medcat-")


# -- General configuration ---------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions medcat-v2/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ test = [] # TODO - list

[project.urls]
"Homepage" = "https://cogstack.org/"
"Documentation" = "https://docs.cogstack.org/projects/nlp/en/latest/"
"Bug Reports" = "https://discourse.cogstack.org/"
"Source" = "https://github.com/CogStack/cogstack-nlp/"

Expand Down
Loading