From f0dcfcb34fda35318ccc3447e3661bfd2db99dc2 Mon Sep 17 00:00:00 2001 From: "Karl W. Schulz" Date: Fri, 1 Mar 2024 20:19:50 -0600 Subject: [PATCH] adding a local 1.x VERSION for the doc build Signed-off-by: Karl W. Schulz --- src/docs-1.x/VERSION | 1 + src/docs-1.x/conf.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 src/docs-1.x/VERSION diff --git a/src/docs-1.x/VERSION b/src/docs-1.x/VERSION new file mode 100644 index 0000000000..7ee7020b38 --- /dev/null +++ b/src/docs-1.x/VERSION @@ -0,0 +1 @@ +1.0.10 diff --git a/src/docs-1.x/conf.py b/src/docs-1.x/conf.py index af0003fb73..9d607b0b5a 100644 --- a/src/docs-1.x/conf.py +++ b/src/docs-1.x/conf.py @@ -20,8 +20,8 @@ sys.path.insert(0, os.path.abspath("..")) repo_version = "unknown" # Determine short version by file in repo -if os.path.isfile("../../VERSION"): - with open("../../VERSION") as f: +if os.path.isfile("./VERSION"): + with open("./VERSION") as f: repo_version = f.readline().strip()