From b9cf202c7a4060479eb368f3c3e7ccc34ada5cdd Mon Sep 17 00:00:00 2001 From: eclipse-ecal-bot <111572016+eclipse-ecal-bot@users.noreply.github.com> Date: Thu, 13 Feb 2025 07:05:10 +0100 Subject: [PATCH] [Doc] Fixed compile issue when compiling for the latest stable version (#2022) (#2023) Co-authored-by: Florian Reimold <11774314+FlorianReimold@users.noreply.github.com> --- doc/rst/conf.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/rst/conf.py b/doc/rst/conf.py index 8037800c59..d7d67f45c5 100644 --- a/doc/rst/conf.py +++ b/doc/rst/conf.py @@ -88,7 +88,11 @@ ecal_doc_version_sanitized = ecal_doc_version_sanitized[1:] if ecal_doc_version_sanitized.startswith('.'): ecal_doc_version_sanitized = ecal_doc_version_sanitized[1:] - generate_release_documentation.generate_ppa_instructions(gh_api_key, semantic_version.Version(ecal_doc_version_sanitized, partial=True), ppa_instructions_rst_file) + # Ensure the version string has a patch version + if len(ecal_doc_version_sanitized.split('.')) == 2: + ecal_doc_version_sanitized += '.0' + generate_release_documentation.generate_ppa_instructions(gh_api_key, semantic_version.Version(ecal_doc_version_sanitized), ppa_instructions_rst_file) + # -- General configuration ---------------------------------------------------