diff --git a/doc/language_reference/conf.py b/doc/language_reference/conf.py index 5b4a55cd8..4f35032b7 100644 --- a/doc/language_reference/conf.py +++ b/doc/language_reference/conf.py @@ -10,7 +10,6 @@ from sphinx.highlighting import lexers -from rflx import __version__ from tools.rflxlexer import RFLXLexer lexers["rflx"] = RFLXLexer(startinline=True) @@ -25,10 +24,9 @@ copyright = f"2023-{datetime.now().year}, AdaCore" # noqa: A001, DTZ005 author = "AdaCore" -# Ignore development versions in document creation -recordflux_version = __version__.split(".dev")[0] -version = recordflux_version -release = recordflux_version +# Omit version to prevent conflicts caused by dynamic versioning +version = " " +release = " " # -- General configuration --------------------------------------------------- diff --git a/doc/user_guide/conf.py b/doc/user_guide/conf.py index 2351d9db9..0deef661f 100644 --- a/doc/user_guide/conf.py +++ b/doc/user_guide/conf.py @@ -10,7 +10,6 @@ from sphinx.highlighting import lexers -from rflx import __version__ from tools.rflxlexer import RFLXLexer lexers["rflx"] = RFLXLexer(startinline=True) @@ -25,10 +24,9 @@ copyright = f"2023-{datetime.now().year}, AdaCore" # noqa: A001, DTZ005 author = "AdaCore" -# Ignore development versions in document creation -recordflux_version = __version__.split(".dev")[0] -version = recordflux_version -release = recordflux_version +# Omit version to prevent conflicts caused by dynamic versioning +version = " " +release = " " # -- General configuration --------------------------------------------------- diff --git a/rflx/doc/language_reference/_static/documentation_options.js b/rflx/doc/language_reference/_static/documentation_options.js index 990b6964c..462207a73 100644 --- a/rflx/doc/language_reference/_static/documentation_options.js +++ b/rflx/doc/language_reference/_static/documentation_options.js @@ -1,6 +1,6 @@ var DOCUMENTATION_OPTIONS = { URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), - VERSION: '0.25.1', + VERSION: ' ', LANGUAGE: 'None', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/rflx/doc/language_reference/genindex.html b/rflx/doc/language_reference/genindex.html index 428b4ed86..f0d3a47c2 100644 --- a/rflx/doc/language_reference/genindex.html +++ b/rflx/doc/language_reference/genindex.html @@ -30,7 +30,7 @@