We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34e2b08 commit 376a737Copy full SHA for 376a737
docs/source/conf.py
@@ -23,10 +23,17 @@
23
# -- Project information -----------------------------------------------------
24
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
25
26
+import pathlib
27
+import re
28
+
29
project = 'arrow-java'
30
copyright = '2025, Apache Arrow Developers'
31
author = 'Apache Arrow Developers'
-release = '18.1.0'
32
33
+top_level_pom_xml = pathlib.Path(__file__).parents[2] / "pom.xml"
34
+release = re.findall("^ <version>(.+?)</version>",
35
+ top_level_pom_xml.read_text(),
36
+ re.MULTILINE)[0]
37
38
# -- General configuration ---------------------------------------------------
39
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
0 commit comments