diff --git a/.readthedocs.yaml b/.readthedocs.yaml index e43bb4339..d297979d5 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -3,6 +3,9 @@ build: os: ubuntu-22.04 tools: python: "3.11" + jobs: + post_checkout: + - git fetch --unshallow --tags || git fetch --tags python: install: - requirements: docs/requirements.txt diff --git a/docs/source/conf.py b/docs/source/conf.py index 7d9ad8788..b97fa725d 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -23,8 +23,9 @@ copyright = "2021-%Y The DANDI Team" author = "The DANDI Team" -# The full version, including alpha/beta/rc tags -version = dandi.__version__ +# The released portion of the version +version = dandi.__version__.split("+")[0] +# The full version, including alpha/beta/rc tags and any local version segment release = dandi.__version__ @@ -60,6 +61,8 @@ # -- Options for HTML output ------------------------------------------------- +html_title = f"{project} {version} documentation" + # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. #