X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=docs%2Fconf.py;h=7093f9de2a3382369a905f654211a608fcc12041;hp=925316abfa248333bf07605e24fc4a9ad928c78e;hb=7b4f89f87fc25df4a75f238c0cc83ec6b3173c6e;hpb=9a2405cac35636e82911bfcb5202da403d83fbff diff --git a/docs/conf.py b/docs/conf.py index 925316abfa..7093f9de2a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -10,5 +10,11 @@ # http://www.eclipse.org/legal/epl-v10.html ############################################################################## +import xml.etree.ElementTree as ET + from docs_conf.conf import * +data = ET.parse('pom.xml') +project_version = data.getroot().find('./{http://maven.apache.org/POM/4.0.0}version').text +version = project_version +release = project_version