Skip to content

Commit

Permalink
[Doc] Fixed compile issue when compiling for the latest stable version (
Browse files Browse the repository at this point in the history
#2022) (#2023)

Co-authored-by: Florian Reimold <[email protected]>
  • Loading branch information
eclipse-ecal-bot and FlorianReimold committed Feb 13, 2025
1 parent 13181c6 commit edfab57
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion doc/rst/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ---------------------------------------------------

Expand Down

0 comments on commit edfab57

Please sign in to comment.