Tune eos gossip/notification intervals
[controller.git] / docs / conf.py
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3 # SPDX-License-Identifier: EPL-1.0
4 ##############################################################################
5 # Copyright (c) 2018 The Linux Foundation and others.
6 #
7 # All rights reserved. This program and the accompanying materials
8 # are made available under the terms of the Eclipse Public License v1.0
9 # which accompanies this distribution, and is available at
10 # http://www.eclipse.org/legal/epl-v10.html
11 ##############################################################################
12
13 import xml.etree.ElementTree as ET
14
15 from docs_conf.conf import *
16
17 data = ET.parse('pom.xml')
18 project_version = data.getroot().find('./{http://maven.apache.org/POM/4.0.0}version').text
19 version = project_version
20 release = project_version