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
  • Loading branch information
FlorianReimold committed Feb 13, 2025
1 parent dc34b2d commit 3c3260a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/rst/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@
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 3c3260a

Please sign in to comment.